-
Notifications
You must be signed in to change notification settings - Fork 7
feat(adapter/nemo_rl): add NeMo RL adapter and wrapper util #78
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
Draft
g-husam
wants to merge
30
commits into
main
Choose a base branch
from
feature/nemo-rl-adapter
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
a0c3541
ci: fix artifact upload conflict and update coverage downloader
g-husam e1e07cf
feat(adapter/nemo_rl): add NeMo RL adapter and wrapper util
g-husam 2de73a1
Apply gemini suggestions from code review
g-husam a7404ab
replace monkey patching with extension class approach, with tests
g-husam e97a0f5
Find a way to run nemo_rl tests only on python 3.12 and cleanup test …
g-husam b240805
Refactor: use pyproject.toml markers for conditional dependencies and…
g-husam 92095cf
add comment
g-husam d02bbab
Address PR feedback: validate save_strategy, fix user guide examples,…
g-husam a482189
Rename nemo_rl/wrapper_util.py to wrapper_util_rl.py and fix usages
g-husam 054d980
Auto format tests/adapter/nemo_rl/test_checkpoint_manager.py using ru…
g-husam 2c17326
Relax torch version requirement to >=2.8.0 to resolve dependency conf…
g-husam 0d06d6a
use explicit pip-version 24.0.1 in build job
g-husam 45cfed8
set pip-version to 24.0 (which actually exists)
g-husam d2ae870
chore(build): rebase on bifurcated profiles and fix dev-nemo-rl depen…
g-husam 1bbf9f8
ci: run all tests on python 3.12 and exclude nemo_rl tests on 3.10
g-husam ef24d26
ci: bifurcate tests and coverage between python 3.10 and 3.12
g-husam 173e8e2
ci: recursively clone and install nemo_rl for python 3.12
g-husam 7731522
remove local dir
g-husam 8e0363e
ci: recursively clone and install nemo_rl in editable mode for python…
g-husam 328423d
ci: use NeMo RL docker container for python 3.12 build
g-husam 22c35dc
rebase and add comment
g-husam 55a1581
ci: use published NeMo RL image for builds and unify build jobs
g-husam ea58b7f
ci: add debug step to diagnose NeMo RL environment
g-husam 23ed295
ci: set PYTHONPATH for NeMo RL build to include Megatron-LM
g-husam cc8d648
ci: expand debug step to find megatron.bridge
g-husam f8dee0e
ci: include Megatron-Bridge in PYTHONPATH for NeMo RL build
g-husam 3c4d8c1
ci: expand debug step to find modelopt and requirements
g-husam 7ce7004
ci: very broad debug to find modelopt
g-husam 3e0873d
ci: fix missing dependencies in NeMo RL container build
g-husam 6a36d62
ci: install 3rdparty components as editable packages in NeMo RL build
g-husam File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -80,3 +80,6 @@ cmake-build-debug/ | |
|
|
||
| # Linters | ||
| .ruff_cache | ||
|
|
||
| # AI Agents | ||
| .gemini | ||
This file contains hidden or 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 hidden or 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 hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| # Copyright 2025 Google LLC | ||
| # | ||
| # Licensed under the Apache License, Version 2.0 (the "License"); | ||
| # you may not use this file except in compliance with the License. | ||
| # You may obtain a copy of the License at | ||
| # | ||
| # http://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # Unless required by applicable law or agreed to in writing, software | ||
| # distributed under the License is distributed on an "AS IS" BASIS, | ||
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| # See the License for the specific language governing permissions and | ||
| # limitations under the License. | ||
|
|
||
| from .checkpoint_manager import MLFlashpointRLCheckpointManager | ||
|
|
||
| __all__ = ["MLFlashpointRLCheckpointManager"] |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.