mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-08 07:39:33 +01:00
Fixes https://github.com/pytorch/pytorch/issues/152848 I didn't fix the bug earlier because the example script didn't exhaustively present all combinations of 1D/2D tensor, 1D/2D mesh, and all possible sharding specs. Therefore, in this PR, I enriched the example script to cover all possible combinations. <img width="1008" alt="f" src="https://github.com/user-attachments/assets/1745a804-a004-4f98-8332-d7498453f397" /> Pull Request resolved: https://github.com/pytorch/pytorch/pull/152871 Approved by: https://github.com/wanchaol |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| _comm_mode.py | ||
| _op_coverage.py | ||
| _visualize_sharding.py | ||
| comm_mode_broswer_visual.js | ||