-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Add meta device support to sparse compressed tensors #120498
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
[ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/120498
Note: Links to docs will display an error until the docs builds have been completed. ✅ You can merge normally! (2 Unrelated Failures)As of commit d6b7c66 with merge base 54c1cf8 ( FLAKY - The following jobs failed but were likely due to flakiness present on trunk:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
Thank you so much for doing this so quickly. Much appreciated! |
As in the title. Unblocks #117907 (comment) cc alexsamardzic nikitaved cpuhrsch amjames bhosmer jcaip [ghstack-poisoned]
// See [Note: Per-Backend Functionality Dispatch Keys] | ||
Sparse, | ||
|
||
// TODO: Make SparseCsr a functionality key |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
!!!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ezyang do you think it is worth addressing this TODO item as a follow-up? What are the main benefits of doing this earlier rather than later?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a BE thing. Matters more when we run out of dispatch keys
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks, very slick
@pytorchbot merge |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
This broke CI, see https://github.com/pytorch/pytorch/actions/runs/8039434113/job/21964058543 for example logs |
@pytorchbot revert -m "broke CI" -c ignoredsignal |
@pytorchbot successfully started a revert job. Check the current status here. |
This reverts commit 5d71ba6. Reverted #120498 on behalf of https://github.com/zou3519 due to broke CI ([comment](#120498 (comment)))
@pearu your PR has been successfully reverted. |
The PR will be abandon in favor of #120707 |
As in the title. Replaces #120498 and #120562 Pull Request resolved: #120707 Approved by: https://github.com/ezyang ghstack dependencies: #120703
Closing as #120707 has landed. |
As in the title.
Unblocks #117907 (comment)
Stack from ghstack (oldest at bottom):
cc @alexsamardzic @nikitaved @cpuhrsch @amjames @bhosmer @jcaip