[DTensor] insert Replicate at the begining for matmul single dim#172150
[DTensor] insert Replicate at the begining for matmul single dim#172150weifengpy wants to merge 20 commits intogh/weifengpy/47/basefrom
Conversation
[ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/172150
Note: Links to docs will display an error until the docs builds have been completed. ❗ 1 Active SEVsThere are 1 currently active SEVs. If your PR is affected, please view them below: ❌ 3 New FailuresAs of commit 335aedf with merge base 9f5d6ec ( NEW FAILURES - The following jobs have failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
…le dim" gen_einsum_strategies inserts replicate strategy first: https://github.com/pytorch/pytorch/blob/74b6a0efa359722def4b585d9d91fbc3a4bfa530/torch/distributed/tensor/_ops/_einsum_strategy.py#L121-L122 _select_min_cost_strategy choose Replicate at equal cost This PR makes sure consistent matmul results after switching to single dim strategy #170359 [ghstack-poisoned]
…le dim" gen_einsum_strategies inserts replicate strategy first: https://github.com/pytorch/pytorch/blob/74b6a0efa359722def4b585d9d91fbc3a4bfa530/torch/distributed/tensor/_ops/_einsum_strategy.py#L121-L122 _select_min_cost_strategy choose Replicate at equal cost This PR makes sure consistent matmul results after switching to single dim strategy #170359 [ghstack-poisoned]
…le dim" gen_einsum_strategies inserts replicate strategy first: https://github.com/pytorch/pytorch/blob/74b6a0efa359722def4b585d9d91fbc3a4bfa530/torch/distributed/tensor/_ops/_einsum_strategy.py#L121-L122 _select_min_cost_strategy choose Replicate at equal cost This PR makes sure consistent matmul results after switching to single dim strategy #170359 [ghstack-poisoned]
|
@pytorchmergebot 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 |
…le dim" gen_einsum_strategies inserts replicate strategy first: https://github.com/pytorch/pytorch/blob/74b6a0efa359722def4b585d9d91fbc3a4bfa530/torch/distributed/tensor/_ops/_einsum_strategy.py#L121-L122 _select_min_cost_strategy choose Replicate at equal cost This PR makes sure consistent matmul results after switching to single dim strategy #170359 [ghstack-poisoned]
…le dim" gen_einsum_strategies inserts replicate strategy first: https://github.com/pytorch/pytorch/blob/74b6a0efa359722def4b585d9d91fbc3a4bfa530/torch/distributed/tensor/_ops/_einsum_strategy.py#L121-L122 _select_min_cost_strategy choose Replicate at equal cost This PR makes sure consistent matmul results after switching to single dim strategy #170359 [ghstack-poisoned]
Merge failedReason: New commits were pushed while merging. Please rerun the merge command. Details for Dev Infra teamRaised by workflow job |
|
@pytorchmergebot merge -f "unrelated CI errors" |
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 |
…orch#172150) gen_einsum_strategies inserts replicate strategy first: https://github.com/pytorch/pytorch/blob/74b6a0efa359722def4b585d9d91fbc3a4bfa530/torch/distributed/tensor/_ops/_einsum_strategy.py#L121-L122 _select_min_cost_strategy choose Replicate at equal cost This PR makes sure consistent matmul results after switching to single dim strategy pytorch#170359 Pull Request resolved: pytorch#172150 Approved by: https://github.com/wconstab
ghstack-source-id: 614a5fd Pull Request resolved: pytorch/pytorch#172150
ghstack-source-id: 49ab8a7 Pull Request resolved: pytorch/pytorch#172150
Stack from ghstack (oldest at bottom):
gen_einsum_strategies inserts replicate strategy first:
pytorch/torch/distributed/tensor/_ops/_einsum_strategy.py
Lines 121 to 122 in 74b6a0e
_select_min_cost_strategy choose Replicate at equal cost
This PR makes sure consistent matmul results after switching to single dim strategy #170359