Skip to content
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

Sequence packing #70

Merged
merged 11 commits into from
Oct 9, 2024
Merged

Sequence packing #70

merged 11 commits into from
Oct 9, 2024

Conversation

samsja
Copy link
Member

@samsja samsja commented Oct 9, 2024

No description provided.

Copy link
Member

@Jackmin801 Jackmin801 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lfgtm!

@samsja samsja merged commit 36b16a0 into main Oct 9, 2024
1 check passed
samsja pushed a commit that referenced this pull request Jan 10, 2025
Summary:
Pull Request resolved: facebookresearch/optimizers#70

Instead of passing the entire `buffer_size_ranks` tuple, the `group_source_ranks` tuple is extracted from it and passed as an argument. This simplifies the code and makes it more readable. Furthermore, this might help the consolidation of `_construct_global_block_info_list` and `_construct_local_block_info_list` in the future.

Reviewed By: anana10c

Differential Revision: D67606282

fbshipit-source-id: 7aefea61be746f8ae967d0e21bc32708e52b20c1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants