-
Notifications
You must be signed in to change notification settings - Fork 39
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
Update common utility function : distribute_buffer_sizes #96
Conversation
- Same logics were implemented for distributed_buffer_sizes, and it is uniformed - Files : shampoo_hsdp_distributor.py, shampoo_ddp_distributor.py, shampoo_hybrid_shard_distributor.py - It is moved to shampoo_utils.py for common function. - Update shampoo_utils_test.py for testing distribute_buffer_sizes
@tsunghsienlee has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
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.
I think we need to delete all _distribute_buffer_sizes(self)
because no one is using it now.
Yes that would be dead code. I will fix it. |
- It is uniformed and moved into utils/shampoo_utils.py
@tsunghsienlee has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
@tsunghsienlee merged this pull request in a09c04b. |
This is the rebased PR for #94 (already approved)