KEMBAR78
[MPS] Remove all pre-MacOS14 logic by malfet · Pull Request #159912 · pytorch/pytorch · GitHub
Skip to content

Conversation

malfet
Copy link
Contributor

@malfet malfet commented Aug 5, 2025

Stack from ghstack (oldest at bottom):

Delete older enums, checks for MacOS-13.3+ for int64 support, etc

Fixes #159275

[ghstack-poisoned]
@malfet malfet requested a review from kulinseth as a code owner August 5, 2025 23:11
@pytorch-bot
Copy link

pytorch-bot bot commented Aug 5, 2025

🔗 Helpful Links

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

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

❗ 1 Active SEVs

There are 1 currently active SEVs. If your PR is affected, please view them below:

✅ You can merge normally! (1 Unrelated Failure)

As of commit 7c8be5b with merge base 8034b2a (image):

UNSTABLE - The following job is marked as unstable, possibly due to flakiness on trunk:

  • pull / linux-jammy-py3_9-clang9-xla / test (xla, 1, 1, lf.linux.12xlarge, unstable) (gh) (#158876)
    /var/lib/jenkins/workspace/xla/torch_xla/csrc/runtime/BUILD:476:14: Compiling torch_xla/csrc/runtime/xla_util_test.cpp failed: (Exit 1): gcc failed: error executing CppCompile command (from target //torch_xla/csrc/runtime:xla_util_test) /usr/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 '-D_FORTIFY_SOURCE=1' -DNDEBUG -ffunction-sections ... (remaining 229 arguments skipped)

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 Aug 5, 2025
malfet added a commit that referenced this pull request Aug 5, 2025
Delete older enums, checks for MacOS-13.3+ for int64 support, etc

Fixes #159275

ghstack-source-id: 1339878
Pull Request resolved: #159912
@malfet malfet requested review from Skylion007 and dcci August 5, 2025 23:11
@malfet malfet added the topic: bc breaking topic category label Aug 5, 2025
[ghstack-poisoned]
malfet added a commit that referenced this pull request Aug 6, 2025
Delete older enums, checks for MacOS-13.3+ for int64 support, etc

Fixes #159275

ghstack-source-id: cdbc3c3
Pull Request resolved: #159912
[ghstack-poisoned]
malfet added a commit that referenced this pull request Aug 6, 2025
Delete older enums, checks for MacOS-13.3+ for int64 support, etc

Fixes #159275

ghstack-source-id: bdfb049
Pull Request resolved: #159912
#include <ATen/native/mps/ScanKernel_metallib.h>
#endif

// Generic scan implementation that handles both simple scans and scans with indices
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should also delete the respective metal shaders. But this can be on a follow up PR

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I've already did that, haven't I?

@malfet
Copy link
Contributor Author

malfet commented Aug 6, 2025

@pytorchbot merge -f "Lint + MPS are 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

@github-actions github-actions bot deleted the gh/malfet/471/head branch September 6, 2025 02:07
markc-614 pushed a commit to markc-614/pytorch that referenced this pull request Sep 17, 2025
Delete older enums, checks for MacOS-13.3+ for int64 support, etc

Fixes pytorch#159275
Pull Request resolved: pytorch#159912
Approved by: https://github.com/manuelcandales
malfet added a commit that referenced this pull request Oct 8, 2025
pytorchmergebot pushed a commit that referenced this pull request Oct 8, 2025
pytorchbot pushed a commit that referenced this pull request Oct 8, 2025
Followup after #159912
Fixes #164943

Pull Request resolved: #164946
Approved by: https://github.com/Camyll

(cherry picked from commit 01f3a43)
malfet added a commit that referenced this pull request Oct 8, 2025
[MPS] Update OS version in error message (#164946)

Followup after #159912
Fixes #164943

Pull Request resolved: #164946
Approved by: https://github.com/Camyll

(cherry picked from commit 01f3a43)

Co-authored-by: Nikita Shulga <2453524+malfet@users.noreply.github.com>
Chao1Han pushed a commit to Chao1Han/pytorch that referenced this pull request Oct 21, 2025
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: bc breaking topic category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants