Repository navigation
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/195585
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit a17e483 with merge base e0942cc ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
Attention! native_functions.yaml was changedIf you are adding a new function or defaulted argument to native_functions.yaml, you cannot use it from pre-existing Python frontend code until our FC window passes (two weeks). Split your PR into two PRs, one which adds the new C++ functionality, and one that makes use of it from Python, and land them two weeks apart. See https://github.com/pytorch/pytorch/wiki/PyTorch's-Python-Frontend-Backward-and-Forward-Compatibility-Policy#forwards-compatibility-fc for more info. |
That is just a binary op using all the existing binary iterator machinery plus `c10::metal::pow` functor, yields 2x speedups on small tensors, on part on large ones `pow_Scalar_Tensor` still must be a separate dispatch, as unified machinery converts Double to float tensors Allows one to remove some xfails where MPSGraph handling of ineger powers diverges and remove complex xfails (although with a small tolerance adjustement, because Metal and host triage functions slightly differ) Also remove some non-relevant functions from UNSUPPORTED_COMPLEX_OPS list ghstack-source-id: 52b921a Pull-Request: #195585
|
@pytorchbot merge -f "Lint + MPS are green" |
Merge startedYour change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
That is just a binary op using all the existing binary iterator machinery plus `c10::metal::pow` functor, yields 2x speedups on small tensors, on part on large ones `pow_Scalar_Tensor` still must be a separate dispatch, as unified machinery converts Double to float tensors Allows one to remove some xfails where MPSGraph handling of ineger powers diverges and remove complex xfails (although with a small tolerance adjustement, because Metal and host triage functions slightly differ) Also remove some non-relevant functions from UNSUPPORTED_COMPLEX_OPS list Pull Request resolved: pytorch#195585 Approved by: https://github.com/Skylion007, https://github.com/Isalia20 ghstack dependencies: pytorch#195592
Stack from ghstack (oldest at bottom):
pow_Tensor_Tensor.outto Metal #195585That is just a binary op using all the existing binary iterator machinery plus
c10::metal::powfunctor, yields 2x speedups on small tensors, on part on large onespow_Scalar_Tensorstill must be a separate dispatch, as unified machinery converts Double to float tensorsAllows one to remove some xfails where MPSGraph handling of ineger powers diverges and remove complex xfails (although with a small tolerance adjustement, because Metal and host triage functions slightly differ)
Also remove some non-relevant functions from UNSUPPORTED_COMPLEX_OPS
list