-
Notifications
You must be signed in to change notification settings - Fork 26.3k
[distributed][sharded_tensor] Move local_shards check from ShardedTensorBase to ShardedTensor #100197
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
…sorBase to ShardedTensor [ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/100197
Note: Links to docs will display an error until the docs builds have been completed. ❗ 2 Active SEVsThere are 2 currently active SEVs. If your PR is affected, please view them below: ❌ 2 New FailuresAs of commit 961619c: NEW FAILURES - The following jobs have failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
@IvanKobzarev has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
… ShardedTensorBase to ShardedTensor" Differential Revision: [D45369211](https://our.internmc.facebook.com/intern/diff/D45369211) [ghstack-poisoned]
|
@IvanKobzarev has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
fduwjj
left a comment
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.
Unblock. Overall, this idea of this change looks good but it looks like that we are copying same logic to ShardedTensor, it would be great if we can refactor it a little bit so that we don't have duplicate code and consolidate common logics.
Please also make sure internal tests also all pass. Thanks!
… ShardedTensorBase to ShardedTensor" Differential Revision: [D45369211](https://our.internmc.facebook.com/intern/diff/D45369211) [ghstack-poisoned]
|
@IvanKobzarev has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
… ShardedTensorBase to ShardedTensor" Differential Revision: [D45369211](https://our.internmc.facebook.com/intern/diff/D45369211) [ghstack-poisoned]
|
@IvanKobzarev has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
… ShardedTensorBase to ShardedTensor" Differential Revision: [D45369211](https://our.internmc.facebook.com/intern/diff/D45369211) [ghstack-poisoned]
|
@IvanKobzarev has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
… ShardedTensorBase to ShardedTensor" Differential Revision: [D45369211](https://our.internmc.facebook.com/intern/diff/D45369211) [ghstack-poisoned]
|
@IvanKobzarev has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
|
@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 |
Merge failedReason: 2 jobs have failed, first few of them are: periodic / cuda12.1-py3.10-gcc7-sm86-periodic-dynamo-benchmarks / test (dynamo_eager_torchbench, 1, 1, linux.g5.4xlarge.nvidia.gpu), periodic / cuda12.1-py3.10-gcc7-sm86-periodic-dynamo-benchmarks / test (dynamic_aot_eager_huggingface, 1, 1, linux.g5.4xlarge.nvidia.gpu) Details for Dev Infra teamRaised by workflow job |
|
@pytorchbot merge -f "unrelated CI failures" |
Merge startedYour change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
…sorBase to ShardedTensor (pytorch#100197) Differential Revision: [D45369211](https://our.internmc.facebook.com/intern/diff/D45369211) Pull Request resolved: pytorch#100197 Approved by: https://github.com/fduwjj
Stack from ghstack (oldest at bottom):
Differential Revision: D45369211