feat(adapter/nemo): add fully parallel save/load wrapper option#49
feat(adapter/nemo): add fully parallel save/load wrapper option#49devyanic11 wants to merge 4 commits intogoogle:mainfrom
Conversation
|
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
Summary of ChangesHello @devyanic11, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request introduces an optional enhancement to the NeMo wrapper utility, allowing users to leverage fully parallel save and load strategies for checkpointing. This provides greater flexibility and potentially improved performance for distributed checkpointing operations, while maintaining backward compatibility by preserving the existing default behavior. Highlights
🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console. Changelog
Activity
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request introduces an optional use_fully_parallel_wrapper flag to the NeMo wrapper utility. When enabled, this flag wraps the save and load strategies with FullyParallelSaveStrategyWrapper and FullyParallelLoadStrategyWrapper. The implementation is clean and includes tests for both the enabled and disabled states of the flag. My review identifies a couple of minor documentation improvements to align with the repository's style guide.
Python Code Coverage Summary
Minimum allowed line rate is |
C++ Code Coverage Summary
Minimum allowed line rate is |
g-husam
left a comment
There was a problem hiding this comment.
Looks good, thanks for the contribution! Just need to address the lint failures. I see some unexpected import order changes in buffer_io.py, test_buffer_io.py, and checkpoint_object_manager.py for example
Fixes #48
Add optional
use_fully_parallel_wrapperflag to the NeMo wrapper utility. When enabled, save/load strategies are wrapped withFullyParallelSaveStrategyWrapperandFullyParallelLoadStrategyWrapper.Default behavior remains unchanged.