-
Notifications
You must be signed in to change notification settings - Fork 21.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[dtensor][experiment] experimenting with displaying distributed model…
… parameters and printing sharding info (#127987) **Summary** Example code to display distributed model parameters and verify them against ground truth. Also prints sharding information. **Test Plan** torchrun --standalone --nnodes=1 --nproc-per-node=4 torch/distributed/_tensor/examples/display_sharding_example.py Pull Request resolved: #127987 Approved by: https://github.com/XilunWu ghstack dependencies: #127358, #127360, #127630
- Loading branch information
1 parent
2c2cf1d
commit f681e36
Showing
2 changed files
with
107 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters