Skip to content

Conversation

malfet
Copy link
Contributor

@malfet malfet commented May 23, 2025

Stack from ghstack (oldest at bottom):

An absolute no-op: delete complex_div from UnaryKernel.metal and use identical one from c10/metal/utils.h

[ghstack-poisoned]
@malfet malfet requested a review from kulinseth as a code owner May 23, 2025 20:13
Copy link

pytorch-bot bot commented May 23, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/154275

Note: Links to docs will display an error until the docs builds have been completed.

⏳ No Failures, 43 Pending

As of commit abbd314 with merge base 5859582 (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@pytorch-bot pytorch-bot bot added ciflow/mps Run MPS tests (subset of trunk) release notes: mps Release notes category labels May 23, 2025
@malfet malfet requested a review from dcci May 23, 2025 20:13
@malfet malfet added the topic: not user facing topic category label May 23, 2025
@malfet malfet requested a review from Skylion007 May 23, 2025 20:13
@dcci
Copy link
Member

dcci commented May 23, 2025

Thanks

@malfet
Copy link
Contributor Author

malfet commented May 23, 2025

@pytorchbot merge -f "MPS is green"

@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use -f as last resort and instead consider -i/--ignore-current to continue the merge ignoring current failures. This will allow currently pending tests to finish and report signal before the merge.

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

pytorchmergebot pushed a commit that referenced this pull request May 24, 2025
Eliminate some copy-pasta by introducing `REGISTER_FLOAT_BINARY_OP` and `REGISTER_INTEGER_BINARY_OP` macros
Use `_METAL_310_PLUS` to guard bfloat dtype use
Pull Request resolved: #154290
Approved by: https://github.com/yangw-dev, https://github.com/wdvr
ghstack dependencies: #154275
pytorchmergebot pushed a commit that referenced this pull request May 24, 2025
This accomplishes following:
 - Fixes correctness problem with large integer types (though probably makes it slower, but this could not be avoided if one wants to compute accurate answer)
 - Makes op faster for floating point types (as Metal kernel invocation is faster than creating MPSGraph)
 - Eliminates need for several correctness workarounds

Fixes #154171
Pull Request resolved: #154280
Approved by: https://github.com/dcci
ghstack dependencies: #154275, #154290
@github-actions github-actions bot deleted the gh/malfet/358/head branch June 23, 2025 02:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/mps Run MPS tests (subset of trunk) Merged release notes: mps Release notes category topic: not user facing topic category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants