fix: integration fixes running in k8s - #7
Conversation
❌ Submodule Fast-Forward Check FailedCheck based on commit: 9a11560 (PR #7 from ❌ Submodules that need attention:Gym: ❌ PR branch is BEHIND nmp/customizer branch Please ensure all submodule commits are fast-forwards of the nmp/customizer branch before merging. |
❌ Submodule Fast-Forward Check FailedCheck based on commit: 3aec7ad (PR #7 from ❌ Submodules that need attention:Gym: ❌ PR branch is BEHIND nmp/customizer branch Please ensure all submodule commits are fast-forwards of the nmp/customizer branch before merging. |
Signed-off-by: Sam Oluwalana <soluwalana@nvidia.com>
Signed-off-by: Sam Oluwalana <soluwalana@nvidia.com>
3aec7ad to
5eb30ce
Compare
❌ Submodule Fast-Forward Check FailedCheck based on commit: 5eb30ce (PR #7 from ❌ Submodules that need attention:Gym: ❌ PR branch is BEHIND nmp/customizer branch Please ensure all submodule commits are fast-forwards of the nmp/customizer branch before merging. |
Signed-off-by: Sam Oluwalana <soluwalana@nvidia.com>
❌ Submodule Fast-Forward Check FailedCheck based on commit: e3a3897 (PR #7 from ❌ Submodules that need attention:Gym: ❌ PR branch is BEHIND nmp/customizer branch Megatron-Bridge: ❌ PR branch is BEHIND nmp/customizer branch Please ensure all submodule commits are fast-forwards of the nmp/customizer branch before merging. |
Signed-off-by: Sam Oluwalana <soluwalana@nvidia.com>
❌ Submodule Fast-Forward Check FailedCheck based on commit: b430330 (PR #7 from ✅ Submodules that are properly updated:Gym: ✅ PR branch is ahead of nmp/customizer branch (fast-forward) ❌ Submodules that need attention:Megatron-Bridge: ❌ PR branch is BEHIND nmp/customizer branch Please ensure all submodule commits are fast-forwards of the nmp/customizer branch before merging. |
Signed-off-by: Sam Oluwalana <soluwalana@nvidia.com>
✅ Submodule Fast-Forward Check ResultsCheck based on commit: b9a0fa5 (PR #7 from ✅ Submodules that are properly updated:Gym: ✅ PR branch is ahead of nmp/customizer branch (fast-forward) All submodule changes look good! ✨ |
✅ Submodule Fast-Forward Check ResultsCheck based on commit: 16077bc (PR #7 from ✅ Submodules that are properly updated:Gym: ✅ PR branch is ahead of nmp/customizer branch (fast-forward) All submodule changes look good! ✨ |
✅ Submodule Fast-Forward Check ResultsCheck based on commit: 32fe6ba (PR #7 from ✅ Submodules that are properly updated:Gym: ✅ PR branch is ahead of nmp/customizer branch (fast-forward) All submodule changes look good! ✨ |
✅ Submodule Fast-Forward Check ResultsCheck based on commit: e073474 (PR #7 from ✅ Submodules that are properly updated:Gym: ✅ PR branch is ahead of nmp/customizer branch (fast-forward) All submodule changes look good! ✨ |
| normalized = str(key).lower() | ||
| if ( | ||
| normalized in _SENSITIVE_CONFIG_KEYS | ||
| or normalized.endswith("_api_key") |
There was a problem hiding this comment.
nit: can we also have a dict to check the endswith strings?
| # Sync GRPO does not tear down env actors itself. Always drain them so | ||
| # OpenSandbox Gym hosts and episode sandboxes are destroyed (not left to TTL). | ||
| # Async GRPO also shuts envs down; repeated shutdown is idempotent. | ||
| seen_envs: set[int] = set() |
There was a problem hiding this comment.
can we not call the same _shutdown_environments method here?
| # See the License for the specific language governing permissions and | ||
| # limitations under the License. | ||
|
|
||
| """Default entrypoint for the sandboxed Gym host inside the training image. |
There was a problem hiding this comment.
do we still need it after the fixes in #8 and NVIDIA-NeMo/nemo-platform#1056?
There was a problem hiding this comment.
We will likely need to update the entrypoint after 8
What does this PR do ?
Add a one line overview of what this PR aims to accomplish.
Issues
List issues that this PR closes (syntax):
Usage
# Add a code snippet demonstrating how to use thisBefore your PR is "Ready for review"
Pre checks:
Additional Information