refactor: refactor env and data processor & add nemotron super 49b recipes
Follow up of #1472. Thanks @nv-mmanohara for adding this!
- Add GRPO support for HelpSteer3 on LlamaNemotron 49B.
- Add SFT support for tulu3 on LlamaNemotron 49B.
- Add CodeJaccard environment.
- Refactor env and data processor.
- Introduce
run_grpo.py, will https://github.com/NVIDIA-NeMo/RL/issues/1572 in a subsequent PR.
Test Result
grpo math before and after refactor
nemotron 49B
Known Issue
- nvidia/Llama-3_3-Nemotron-Super-49B-v1_5 cannot load from Hugging Face: https://github.com/NVIDIA-NeMo/RL/issues/1571
- GRPO Nemotron HelpSteer3 recipe has very high logprob error: https://github.com/NVIDIA-NeMo/RL/issues/1570
Summary by CodeRabbit
-
New Features
- Added HelpSteer3 and Tulu3 datasets for training and evaluation.
- Introduced CodeJaccard environment for code-based similarity scoring.
- Enhanced data processor registry system with improved task flexibility.
- Added new GRPO training script and SFT configurations for Nemotron-49B models.
- Support for dynamic task naming across datasets.
-
Documentation
- Updated custom parallel plan paths.
-
Tests
- Added new GRPO HelpSteer3 and SFT test suites.
This PR introduces new datasets (HelpSteer3, Tulu3), a CodeJaccard environment for code evaluation, processor and environment registries, dynamic task naming throughout the codebase, GRPO and SFT example scripts and configurations, and updates to test infrastructure. 🎯 4 (Complex) | ⏱️ ~50 minutes Key complexity areas: Areas requiring extra attention:📝 Walkthrough
Walkthrough
Changes
Cohort / File(s)
Summary
Documentation & Path Updates
docs/design-docs/fsdp2-parallel-plan.mdUpdated custom parallel plan example path from
examples/custom_parallel.py to examples/custom_parallel/custom_parallel.py and adjusted CLI override reference accordingly.
GRPO Configuration Files
examples/configs/grpo_math_1B.yaml, examples/configs/grpo_math_1B_megatron.yaml, examples/configs/grpo_rm_1B.yaml, examples/configs/grpo_sliding_puzzle.yamlAdded environment enable flags; replaced unused dapo blocks with processor fields; added reward model processor and optimizer offload settings for RM config; enabled sliding puzzle game feature.
SFT & DAPO Recipe Configurations
examples/configs/recipes/llm/dapo-qwen2.5-7b.yaml, examples/configs/recipes/llm/sft-nemotron-super-49b.yaml, examples/configs/recipes/llm/sft-nemotron-super-49b-tulu-v3.yamlAdded SFT recipes with comprehensive training/evaluation/logging parameters; replaced DAPO num_workers with math.enabled flag; enabled math environment while preserving other settings.
GRPO Recipe Configurations
examples/configs/recipes/llm/grpo-helpsteer3-llama-3.2-1b-1n8g-fsdp2tp1.yaml, examples/configs/recipes/llm/grpo-helpsteer3-llama-3.3-nemotron-super-49b-v1.5-4n8g-fsdp2tp8.yamlAdded new HelpSteer3-based GRPO configs with code_jaccard environment; included distributed training settings, multi-scheduler optimizer configuration, and experiment tracking setup.
Disabled/Removed Configs
examples/configs/recipes/llm/grpo-math-llama-nemotron-super-49b-v.5-4n8g-fsdp2tp8.yaml.disabled, examples/configs/recipes/llm/llama_nemotron_super_49b_custom_plan.pyRemoved disabled Nemotron config file and standalone custom parallel plan; functionality moved to new modular location.
Custom Parallel Plans
examples/custom_parallel/llama_nemotron_super_49b_custom_plan.pyIntroduced modular custom parallel plan with
get_custom_parallel_plan() factory function supporting both TP and optional SP strategies; added commented alternative configurations.
GRPO Example Scripts
examples/run_grpo.py, examples/run_grpo_math.py, examples/run_grpo_rm.pyAdded primary GRPO runner with async/sync execution paths; refactored math and RM runners to use dynamic task naming from loaded data instead of hardcoded keys.
Other Example Scripts
examples/run_distillation_math.py, examples/run_sft.pyImplemented dynamic task naming for distillation; added OmegaConf "max" resolver for SFT config support.
Response Datasets
nemo_rl/data/datasets/response_datasets/helpsteer3.py, nemo_rl/data/datasets/response_datasets/tulu3.py, nemo_rl/data/datasets/response_datasets/dapo_math.py, nemo_rl/data/datasets/response_datasets/deepscaler.py, nemo_rl/data/datasets/response_datasets/openmathinstruct2.pyAdded HelpSteer3 and Tulu3 response datasets; refactored existing datasets to support dynamic task naming via
task_name parameter and attribute injection rather than hardcoding.
Preference Datasets
nemo_rl/data/datasets/preference_datasets/helpsteer3.pyAdded HelpSteer3 preference dataset with context normalization and dynamic task naming support.
Dataset Module Exports
nemo_rl/data/datasets/response_datasets/__init__.pyAdded imports and load functions for HelpSteer3Dataset and Tulu3SftMixtureDataset; expanded public API.
Data Processors
nemo_rl/data/processors.pyIntroduced processor registry system (PROCESSOR_REGISTRY, get_processors, register_processor); added helpsteer3_data_processor; expanded imports and typing utilities.
Environment Registry & Infrastructure
nemo_rl/environments/utils.py, nemo_rl/distributed/ray_actor_environment_registry.pyImplemented environment registry (ENV_REGISTRY, EnvRegistryEntry) with dynamic class importing; added get_env and register_env utilities; registered CodeJaccardEnvironment for Ray actors.
CodeJaccard Environment
nemo_rl/environments/code_jaccard_environment.pyIntroduced Ray-based code evaluation environment with Jaccard-similarity scoring; includes worker pool management, parallel verification, preference score calculation, and post-processing metrics.
Configuration & Project Setup
pyrefly.tomlAdded new file paths for custom parallel examples, datasets, and environments to project includes.
Test Configuration
tests/unit/test_config_validation.py, tests/unit/test_recipes_and_test_suites.pyAdded "max" OmegaConf resolver; relaxed GPU-hour cap from 1040 to 1200 in nightly test assertions.
Data Test Updates
tests/unit/data/test_data_processor.py, tests/unit/data/test_data_shuffle_reproducity.pyRefactored to extract dynamic task naming from data objects instead of using hardcoded keys.
Functional & Integration Tests
tests/functional/grpo.sh, tests/functional/grpo_math_env.sh, tests/test_suites/llm/*.sh, tests/test_suites/nightly.txtReplaced GRPO entry script; added new functional test for GRPO math environment; added comprehensive test suites for HelpSteer3 GRPO and SFT Nemotron experiments; updated nightly test registry.
Sequence Diagram(s)
sequenceDiagram
actor User
participant GRPO as run_grpo.py
participant Config as Config Loader
participant DataSetup as setup_data()
participant ProcReg as Processor Registry
participant EnvReg as Environment Registry
participant Training as GRPO Training
User->>GRPO: Launch with config
GRPO->>Config: Load & apply CLI overrides
GRPO->>DataSetup: Initialize data
DataSetup->>ProcReg: get_processors(env_name)
ProcReg-->>DataSetup: Return processor function
DataSetup->>EnvReg: get_env(env_name)
EnvReg-->>DataSetup: Return environment actor
DataSetup-->>GRPO: Return dataloaders & envs
alt Async GRPO available
GRPO->>Training: async_grpo_train()
else Fallback to sync
GRPO->>Training: grpo_train()
end
Training-->>User: Training results
sequenceDiagram
participant Dataset as Dataset Module
participant Task as Task Extraction
participant Processor as Task Processor
participant Spec as TaskDataSpec
Note over Dataset: OLD: hardcoded "math" key
Dataset->>Processor: task_data_processors["math"]
Processor-->>Dataset: Process data
Note over Dataset: NEW: dynamic task_name
Dataset->>Task: Extract from data.task_name or data.task_spec.task_name
Task-->>Dataset: task_name value
Dataset->>Processor: task_data_processors[task_name]
Processor-->>Dataset: Process data
Dataset->>Spec: TaskDataSpec(task_name=extracted_name)
Spec-->>Dataset: Spec with dynamic task
sequenceDiagram
participant ChunkData as Code Response Batch
participant Worker as CodeJaccardVerifyWorker (Ray)
participant Scorer as _calculate_preference_score()
participant Env as CodeJaccardEnvironment
participant Metrics as global_post_process_and_metrics()
ChunkData->>Worker: verify(predictions, ground_truths)
loop Per response pair
Worker->>Scorer: _calculate_preference_score(response, truth)
Note over Scorer: Jaccard similarity + length penalty
Scorer-->>Worker: Score (0-1)
end
Worker-->>Env: Return scores list
Env->>Metrics: batch with rewards
Metrics-->>Env: Compute alignment metrics
Note over Metrics: preference_alignment_rate, avg_score, high_alignment_rate
Estimated code review effort
nemo_rl/environments/code_jaccard_environment.py — introduces new Ray-based worker pool, parallelized verification, Jaccard scoring logic, and metrics aggregation; requires understanding of actor lifecycle, error handling, and data chunking strategy.nemo_rl/environments/utils.py and nemo_rl/data/processors.py — new registry systems with dynamic class importing and processor routing; verify registry initialization, error handling, and extension points.dapo_math.py, deepscaler.py, openmathinstruct2.py, helpsteer3.py, tulu3.py) — consistent pattern but requires verification that task naming is correctly extracted and propagated in each context.examples/run_grpo.py — new comprehensive script with async/sync conditional logic, multiple data/environment setup paths; verify argument parsing, config merging, and execution flow.
run_grpo.py.nightly.txt reference valid scripts and inherit from correct base configs.Possibly related PRs
examples/run_grpo.py conditionally invokes; directly used by the new GRPO runner.Suggested reviewers
Pre-merge checks and finishing touches
❌ Failed checks (1 warning)
| Check name | Status | Explanation | Resolution |
|---|---|---|---|
| Test Results For Major Changes | ⚠️ Warning | PR introduces major changes (new datasets, environments, registries) affecting training numerics/convergence but provides no test results, convergence metrics, performance data, or evidence of testing in the description. | Add test results, convergence metrics for new recipes, CI links, performance numbers, and evidence that review issues (tokenizer bug, dataset columns, hard-coded paths) were fixed and tested. |
✅ Passed checks (3 passed)
| Check name | Status | Explanation |
|---|---|---|
| Docstring Coverage | ✅ Passed | No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. |
| Title check | ✅ Passed | The title 'refactor: refactor env and data processor & add nemotron super 49b recipes' comprehensively captures the main changes: refactoring of environment and data processor infrastructure (dynamic task naming, processor registry) plus addition of new Nemotron Super 49B recipes for GRPO and SFT. |
| Description Check | ✅ Passed | Check skipped - CodeRabbit’s high-level summary is enabled. |
✨ Finishing touches
- [ ] 📝 Generate docstrings
🧪 Generate unit tests (beta)
- [ ] Create PR with unit tests
- [ ] Post copyable unit tests in a comment
- [ ] Commit unit tests in branch
yukih/pr-1472
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Comment @coderabbitai help to get the list of available commands and usage tips.
⚠️ File Consistency Check
Check based on commit: 28514773a48d6ea77f1de098ec45cfcfd08cd869 (PR #1506 from yukih/pr-1472)
⚠️ Parallel Plans Synchronization Warning
The file nemo_rl/models/dtensor/parallelize.py was modified in this PR, but neither 3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/optimized_tp_plans.py nor 3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/parallelizer.py was updated.
Why this matters: These files contain similar parallel plan implementations that should be kept synchronized to ensure consistency across the codebase.
Action required:
- Please review if the changes in
nemo_rl/models/dtensor/parallelize.pyshould also be applied to3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/optimized_tp_plans.pyor3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/parallelizer.py - Update the appropriate related file(s) if necessary to maintain functional consistency
- Request access to the NVIDIA-NeMo/Automodel repository, create a PR against the
nemo-rl-submodulebranch, and update the Automodel submodule in the nemo-rl index - Add @ffrujeri as a reviewer of this PR if you have any questions about the consistency requirements
- If the files are intentionally different, please add a comment in the PR explaining why
Files to check:
- Modified:
nemo_rl/models/dtensor/parallelize.py - Not modified:
3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/optimized_tp_plans.py - Not modified:
3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/parallelizer.py
✅ DTensor Policy Worker Synchronization Check
Both DTensor policy worker files were modified in this PR:
nemo_rl/models/policy/dtensor_policy_worker.pynemo_rl/models/policy/dtensor_policy_worker_v2.py
Please ensure that the changes are consistent between both files where applicable.
This check ensures that related file implementations remain synchronized across the codebase. If you believe this warning is incorrect or the files should intentionally differ, please add a comment explaining the reasoning.
⚠️ File Consistency Check
Check based on commit: 2e0cb474ea157b9bf1b2024696b6e23f10904561 (PR #1506 from yukih/pr-1472)
⚠️ Parallel Plans Synchronization Warning
The file nemo_rl/models/dtensor/parallelize.py was modified in this PR, but neither 3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/optimized_tp_plans.py nor 3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/parallelizer.py was updated.
Why this matters: These files contain similar parallel plan implementations that should be kept synchronized to ensure consistency across the codebase.
Action required:
- Please review if the changes in
nemo_rl/models/dtensor/parallelize.pyshould also be applied to3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/optimized_tp_plans.pyor3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/parallelizer.py - Update the appropriate related file(s) if necessary to maintain functional consistency
- Request access to the NVIDIA-NeMo/Automodel repository, create a PR against the
nemo-rl-submodulebranch, and update the Automodel submodule in the nemo-rl index - Add @ffrujeri as a reviewer of this PR if you have any questions about the consistency requirements
- If the files are intentionally different, please add a comment in the PR explaining why
Files to check:
- Modified:
nemo_rl/models/dtensor/parallelize.py - Not modified:
3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/optimized_tp_plans.py - Not modified:
3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/parallelizer.py
✅ DTensor Policy Worker Synchronization Check
Both DTensor policy worker files were modified in this PR:
nemo_rl/models/policy/dtensor_policy_worker.pynemo_rl/models/policy/dtensor_policy_worker_v2.py
Please ensure that the changes are consistent between both files where applicable.
This check ensures that related file implementations remain synchronized across the codebase. If you believe this warning is incorrect or the files should intentionally differ, please add a comment explaining the reasoning.
❌ Submodule Fast-Forward Check Failed
Check based on commit: 2e0cb474ea157b9bf1b2024696b6e23f10904561 (PR #1506 from yukih/pr-1472)
❌ Submodules that need attention:
Megatron-Bridge: ❌ PR branch is BEHIND main branch TARGET (main branch): https://github.com/NVIDIA-NeMo/Megatron-Bridge/commits/8aa287df3ca6833c78733460f0c0f0bcfb79f5de/ CURRENT (PR #1506 from yukih/pr-1472): https://github.com/NVIDIA-NeMo/Megatron-Bridge/commits/f003cd8ca3e4876853b6097e816f0a94ea8fefc1/
Please ensure all submodule commits are fast-forwards of the main branch before merging.
⚠️ File Consistency Check
Check based on commit: f41ee4816e7a649de5f7e68543b1bd701325a1fb (PR #1506 from yukih/pr-1472)
⚠️ Parallel Plans Synchronization Warning
The file nemo_rl/models/dtensor/parallelize.py was modified in this PR, but neither 3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/optimized_tp_plans.py nor 3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/parallelizer.py was updated.
Why this matters: These files contain similar parallel plan implementations that should be kept synchronized to ensure consistency across the codebase.
Action required:
- Please review if the changes in
nemo_rl/models/dtensor/parallelize.pyshould also be applied to3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/optimized_tp_plans.pyor3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/parallelizer.py - Update the appropriate related file(s) if necessary to maintain functional consistency
- Request access to the NVIDIA-NeMo/Automodel repository, create a PR against the
nemo-rl-submodulebranch, and update the Automodel submodule in the nemo-rl index - Add @ffrujeri as a reviewer of this PR if you have any questions about the consistency requirements
- If the files are intentionally different, please add a comment in the PR explaining why
Files to check:
- Modified:
nemo_rl/models/dtensor/parallelize.py - Not modified:
3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/optimized_tp_plans.py - Not modified:
3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/parallelizer.py
✅ DTensor Policy Worker Synchronization Check
Both DTensor policy worker files were modified in this PR:
nemo_rl/models/policy/dtensor_policy_worker.pynemo_rl/models/policy/dtensor_policy_worker_v2.py
Please ensure that the changes are consistent between both files where applicable.
This check ensures that related file implementations remain synchronized across the codebase. If you believe this warning is incorrect or the files should intentionally differ, please add a comment explaining the reasoning.
⚠️ File Consistency Check
Check based on commit: eb8aa50e0963955306de83e70a074ff918c1db24 (PR #1506 from yukih/pr-1472)
⚠️ Parallel Plans Synchronization Warning
The file nemo_rl/models/dtensor/parallelize.py was modified in this PR, but neither 3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/optimized_tp_plans.py nor 3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/parallelizer.py was updated.
Why this matters: These files contain similar parallel plan implementations that should be kept synchronized to ensure consistency across the codebase.
Action required:
- Please review if the changes in
nemo_rl/models/dtensor/parallelize.pyshould also be applied to3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/optimized_tp_plans.pyor3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/parallelizer.py - Update the appropriate related file(s) if necessary to maintain functional consistency
- Request access to the NVIDIA-NeMo/Automodel repository, create a PR against the
nemo-rl-submodulebranch, and update the Automodel submodule in the nemo-rl index - Add @ffrujeri as a reviewer of this PR if you have any questions about the consistency requirements
- If the files are intentionally different, please add a comment in the PR explaining why
Files to check:
- Modified:
nemo_rl/models/dtensor/parallelize.py - Not modified:
3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/optimized_tp_plans.py - Not modified:
3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/parallelizer.py
✅ DTensor Policy Worker Synchronization Check
Both DTensor policy worker files were modified in this PR:
nemo_rl/models/policy/dtensor_policy_worker.pynemo_rl/models/policy/dtensor_policy_worker_v2.py
Please ensure that the changes are consistent between both files where applicable.
This check ensures that related file implementations remain synchronized across the codebase. If you believe this warning is incorrect or the files should intentionally differ, please add a comment explaining the reasoning.
⚠️ File Consistency Check
Check based on commit: e842bfdcc5041557f99b70595c397882a39547da (PR #1506 from yukih/pr-1472)
⚠️ Parallel Plans Synchronization Warning
The file nemo_rl/models/dtensor/parallelize.py was modified in this PR, but neither 3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/optimized_tp_plans.py nor 3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/parallelizer.py was updated.
Why this matters: These files contain similar parallel plan implementations that should be kept synchronized to ensure consistency across the codebase.
Action required:
- Please review if the changes in
nemo_rl/models/dtensor/parallelize.pyshould also be applied to3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/optimized_tp_plans.pyor3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/parallelizer.py - Update the appropriate related file(s) if necessary to maintain functional consistency
- Request access to the NVIDIA-NeMo/Automodel repository, create a PR against the
nemo-rl-submodulebranch, and update the Automodel submodule in the nemo-rl index - Add @ffrujeri as a reviewer of this PR if you have any questions about the consistency requirements
- If the files are intentionally different, please add a comment in the PR explaining why
Files to check:
- Modified:
nemo_rl/models/dtensor/parallelize.py - Not modified:
3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/optimized_tp_plans.py - Not modified:
3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/parallelizer.py
✅ DTensor Policy Worker Synchronization Check
Both DTensor policy worker files were modified in this PR:
nemo_rl/models/policy/dtensor_policy_worker.pynemo_rl/models/policy/dtensor_policy_worker_v2.py
Please ensure that the changes are consistent between both files where applicable.
This check ensures that related file implementations remain synchronized across the codebase. If you believe this warning is incorrect or the files should intentionally differ, please add a comment explaining the reasoning.
⚠️ File Consistency Check
Check based on commit: 6e4393e16bda82aa99cd123c632fac9ac2edbdbf (PR #1506 from yukih/pr-1472)
⚠️ Parallel Plans Synchronization Warning
The file nemo_rl/models/dtensor/parallelize.py was modified in this PR, but neither 3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/optimized_tp_plans.py nor 3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/parallelizer.py was updated.
Why this matters: These files contain similar parallel plan implementations that should be kept synchronized to ensure consistency across the codebase.
Action required:
- Please review if the changes in
nemo_rl/models/dtensor/parallelize.pyshould also be applied to3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/optimized_tp_plans.pyor3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/parallelizer.py - Update the appropriate related file(s) if necessary to maintain functional consistency
- Request access to the NVIDIA-NeMo/Automodel repository, create a PR against the
nemo-rl-submodulebranch, and update the Automodel submodule in the nemo-rl index - Add @ffrujeri as a reviewer of this PR if you have any questions about the consistency requirements
- If the files are intentionally different, please add a comment in the PR explaining why
Files to check:
- Modified:
nemo_rl/models/dtensor/parallelize.py - Not modified:
3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/optimized_tp_plans.py - Not modified:
3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/parallelizer.py
✅ DTensor Policy Worker Synchronization Check
Both DTensor policy worker files were modified in this PR:
nemo_rl/models/policy/dtensor_policy_worker.pynemo_rl/models/policy/dtensor_policy_worker_v2.py
Please ensure that the changes are consistent between both files where applicable.
This check ensures that related file implementations remain synchronized across the codebase. If you believe this warning is incorrect or the files should intentionally differ, please add a comment explaining the reasoning.
⚠️ File Consistency Check
Check based on commit: 7e1566c8bd8e0fe703e71e9a052d0c46a98e366d (PR #1506 from yukih/pr-1472)
⚠️ Parallel Plans Synchronization Warning
The file nemo_rl/models/dtensor/parallelize.py was modified in this PR, but neither 3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/optimized_tp_plans.py nor 3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/parallelizer.py was updated.
Why this matters: These files contain similar parallel plan implementations that should be kept synchronized to ensure consistency across the codebase.
Action required:
- Please review if the changes in
nemo_rl/models/dtensor/parallelize.pyshould also be applied to3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/optimized_tp_plans.pyor3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/parallelizer.py - Update the appropriate related file(s) if necessary to maintain functional consistency
- Request access to the NVIDIA-NeMo/Automodel repository, create a PR against the
nemo-rl-submodulebranch, and update the Automodel submodule in the nemo-rl index - Add @ffrujeri as a reviewer of this PR if you have any questions about the consistency requirements
- If the files are intentionally different, please add a comment in the PR explaining why
Files to check:
- Modified:
nemo_rl/models/dtensor/parallelize.py - Not modified:
3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/optimized_tp_plans.py - Not modified:
3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/parallelizer.py
✅ DTensor Policy Worker Synchronization Check
Both DTensor policy worker files were modified in this PR:
nemo_rl/models/policy/dtensor_policy_worker.pynemo_rl/models/policy/dtensor_policy_worker_v2.py
Please ensure that the changes are consistent between both files where applicable.
This check ensures that related file implementations remain synchronized across the codebase. If you believe this warning is incorrect or the files should intentionally differ, please add a comment explaining the reasoning.
⚠️ File Consistency Check
Check based on commit: 3fb0ec3f48b660400397c420b1bda4e0839f9f35 (PR #1506 from yukih/pr-1472)
⚠️ Parallel Plans Synchronization Warning
The file nemo_rl/models/dtensor/parallelize.py was modified in this PR, but neither 3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/optimized_tp_plans.py nor 3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/parallelizer.py was updated.
Why this matters: These files contain similar parallel plan implementations that should be kept synchronized to ensure consistency across the codebase.
Action required:
- Please review if the changes in
nemo_rl/models/dtensor/parallelize.pyshould also be applied to3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/optimized_tp_plans.pyor3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/parallelizer.py - Update the appropriate related file(s) if necessary to maintain functional consistency
- Request access to the NVIDIA-NeMo/Automodel repository, create a PR against the
nemo-rl-submodulebranch, and update the Automodel submodule in the nemo-rl index - Add @ffrujeri as a reviewer of this PR if you have any questions about the consistency requirements
- If the files are intentionally different, please add a comment in the PR explaining why
Files to check:
- Modified:
nemo_rl/models/dtensor/parallelize.py - Not modified:
3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/optimized_tp_plans.py - Not modified:
3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/parallelizer.py
✅ DTensor Policy Worker Synchronization Check
Both DTensor policy worker files were modified in this PR:
nemo_rl/models/policy/dtensor_policy_worker.pynemo_rl/models/policy/dtensor_policy_worker_v2.py
Please ensure that the changes are consistent between both files where applicable.
This check ensures that related file implementations remain synchronized across the codebase. If you believe this warning is incorrect or the files should intentionally differ, please add a comment explaining the reasoning.
⚠️ File Consistency Check
Check based on commit: a24ba76c751425f6595271721a1c58fd090d17fa (PR #1506 from yukih/pr-1472)
⚠️ Parallel Plans Synchronization Warning
The file nemo_rl/models/dtensor/parallelize.py was modified in this PR, but neither 3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/optimized_tp_plans.py nor 3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/parallelizer.py was updated.
Why this matters: These files contain similar parallel plan implementations that should be kept synchronized to ensure consistency across the codebase.
Action required:
- Please review if the changes in
nemo_rl/models/dtensor/parallelize.pyshould also be applied to3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/optimized_tp_plans.pyor3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/parallelizer.py - Update the appropriate related file(s) if necessary to maintain functional consistency
- Request access to the NVIDIA-NeMo/Automodel repository, create a PR against the
nemo-rl-submodulebranch, and update the Automodel submodule in the nemo-rl index - Add @ffrujeri as a reviewer of this PR if you have any questions about the consistency requirements
- If the files are intentionally different, please add a comment in the PR explaining why
Files to check:
- Modified:
nemo_rl/models/dtensor/parallelize.py - Not modified:
3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/optimized_tp_plans.py - Not modified:
3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/parallelizer.py
✅ DTensor Policy Worker Synchronization Check
Both DTensor policy worker files were modified in this PR:
nemo_rl/models/policy/dtensor_policy_worker.pynemo_rl/models/policy/dtensor_policy_worker_v2.py
Please ensure that the changes are consistent between both files where applicable.
This check ensures that related file implementations remain synchronized across the codebase. If you believe this warning is incorrect or the files should intentionally differ, please add a comment explaining the reasoning.
⚠️ File Consistency Check
Check based on commit: 5f8300df1f0708a9ded6089a94431830dfd07a8e (PR #1506 from yukih/pr-1472)
⚠️ Parallel Plans Synchronization Warning
The file nemo_rl/models/dtensor/parallelize.py was modified in this PR, but neither 3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/optimized_tp_plans.py nor 3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/parallelizer.py was updated.
Why this matters: These files contain similar parallel plan implementations that should be kept synchronized to ensure consistency across the codebase.
Action required:
- Please review if the changes in
nemo_rl/models/dtensor/parallelize.pyshould also be applied to3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/optimized_tp_plans.pyor3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/parallelizer.py - Update the appropriate related file(s) if necessary to maintain functional consistency
- Request access to the NVIDIA-NeMo/Automodel repository, create a PR against the
nemo-rl-submodulebranch, and update the Automodel submodule in the nemo-rl index - Add @ffrujeri as a reviewer of this PR if you have any questions about the consistency requirements
- If the files are intentionally different, please add a comment in the PR explaining why
Files to check:
- Modified:
nemo_rl/models/dtensor/parallelize.py - Not modified:
3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/optimized_tp_plans.py - Not modified:
3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/parallelizer.py
✅ DTensor Policy Worker Synchronization Check
Both DTensor policy worker files were modified in this PR:
nemo_rl/models/policy/dtensor_policy_worker.pynemo_rl/models/policy/dtensor_policy_worker_v2.py
Please ensure that the changes are consistent between both files where applicable.
This check ensures that related file implementations remain synchronized across the codebase. If you believe this warning is incorrect or the files should intentionally differ, please add a comment explaining the reasoning.
⚠️ File Consistency Check
Check based on commit: 5f176931d1e95cb03cf915a7487a52b9b84322bf (PR #1506 from yukih/pr-1472)
⚠️ Parallel Plans Synchronization Warning
The file nemo_rl/models/dtensor/parallelize.py was modified in this PR, but neither 3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/optimized_tp_plans.py nor 3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/parallelizer.py was updated.
Why this matters: These files contain similar parallel plan implementations that should be kept synchronized to ensure consistency across the codebase.
Action required:
- Please review if the changes in
nemo_rl/models/dtensor/parallelize.pyshould also be applied to3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/optimized_tp_plans.pyor3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/parallelizer.py - Update the appropriate related file(s) if necessary to maintain functional consistency
- Request access to the NVIDIA-NeMo/Automodel repository, create a PR against the
nemo-rl-submodulebranch, and update the Automodel submodule in the nemo-rl index - Add @ffrujeri as a reviewer of this PR if you have any questions about the consistency requirements
- If the files are intentionally different, please add a comment in the PR explaining why
Files to check:
- Modified:
nemo_rl/models/dtensor/parallelize.py - Not modified:
3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/optimized_tp_plans.py - Not modified:
3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/parallelizer.py
✅ DTensor Policy Worker Synchronization Check
Both DTensor policy worker files were modified in this PR:
nemo_rl/models/policy/dtensor_policy_worker.pynemo_rl/models/policy/dtensor_policy_worker_v2.py
Please ensure that the changes are consistent between both files where applicable.
This check ensures that related file implementations remain synchronized across the codebase. If you believe this warning is incorrect or the files should intentionally differ, please add a comment explaining the reasoning.
⚠️ File Consistency Check
Check based on commit: d77b56ad967a40577ba87a0f9d0369adeaff14e2 (PR #1506 from yukih/pr-1472)
⚠️ Parallel Plans Synchronization Warning
The file nemo_rl/models/dtensor/parallelize.py was modified in this PR, but neither 3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/optimized_tp_plans.py nor 3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/parallelizer.py was updated.
Why this matters: These files contain similar parallel plan implementations that should be kept synchronized to ensure consistency across the codebase.
Action required:
- Please review if the changes in
nemo_rl/models/dtensor/parallelize.pyshould also be applied to3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/optimized_tp_plans.pyor3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/parallelizer.py - Update the appropriate related file(s) if necessary to maintain functional consistency
- Request access to the NVIDIA-NeMo/Automodel repository, create a PR against the
nemo-rl-submodulebranch, and update the Automodel submodule in the nemo-rl index - Add @ffrujeri as a reviewer of this PR if you have any questions about the consistency requirements
- If the files are intentionally different, please add a comment in the PR explaining why
Files to check:
- Modified:
nemo_rl/models/dtensor/parallelize.py - Not modified:
3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/optimized_tp_plans.py - Not modified:
3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/parallelizer.py
✅ DTensor Policy Worker Synchronization Check
Both DTensor policy worker files were modified in this PR:
nemo_rl/models/policy/dtensor_policy_worker.pynemo_rl/models/policy/dtensor_policy_worker_v2.py
Please ensure that the changes are consistent between both files where applicable.
This check ensures that related file implementations remain synchronized across the codebase. If you believe this warning is incorrect or the files should intentionally differ, please add a comment explaining the reasoning.
⚠️ File Consistency Check
Check based on commit: a435ccf0359119238567ee3cf4d4be8b5ff62058 (PR #1506 from yukih/pr-1472)
⚠️ Parallel Plans Synchronization Warning
The file nemo_rl/models/dtensor/parallelize.py was modified in this PR, but neither 3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/optimized_tp_plans.py nor 3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/parallelizer.py was updated.
Why this matters: These files contain similar parallel plan implementations that should be kept synchronized to ensure consistency across the codebase.
Action required:
- Please review if the changes in
nemo_rl/models/dtensor/parallelize.pyshould also be applied to3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/optimized_tp_plans.pyor3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/parallelizer.py - Update the appropriate related file(s) if necessary to maintain functional consistency
- Request access to the NVIDIA-NeMo/Automodel repository, create a PR against the
nemo-rl-submodulebranch, and update the Automodel submodule in the nemo-rl index - Add @ffrujeri as a reviewer of this PR if you have any questions about the consistency requirements
- If the files are intentionally different, please add a comment in the PR explaining why
Files to check:
- Modified:
nemo_rl/models/dtensor/parallelize.py - Not modified:
3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/optimized_tp_plans.py - Not modified:
3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/parallelizer.py
✅ DTensor Policy Worker Synchronization Check
Both DTensor policy worker files were modified in this PR:
nemo_rl/models/policy/dtensor_policy_worker.pynemo_rl/models/policy/dtensor_policy_worker_v2.py
Please ensure that the changes are consistent between both files where applicable.
This check ensures that related file implementations remain synchronized across the codebase. If you believe this warning is incorrect or the files should intentionally differ, please add a comment explaining the reasoning.
⚠️ File Consistency Check
Check based on commit: 4f4a092834be6377340894b87e5167a5d5970ec6 (PR #1506 from yukih/pr-1472)
⚠️ Parallel Plans Synchronization Warning
The file nemo_rl/models/dtensor/parallelize.py was modified in this PR, but neither 3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/optimized_tp_plans.py nor 3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/parallelizer.py was updated.
Why this matters: These files contain similar parallel plan implementations that should be kept synchronized to ensure consistency across the codebase.
Action required:
- Please review if the changes in
nemo_rl/models/dtensor/parallelize.pyshould also be applied to3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/optimized_tp_plans.pyor3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/parallelizer.py - Update the appropriate related file(s) if necessary to maintain functional consistency
- Request access to the NVIDIA-NeMo/Automodel repository, create a PR against the
nemo-rl-submodulebranch, and update the Automodel submodule in the nemo-rl index - Add @ffrujeri as a reviewer of this PR if you have any questions about the consistency requirements
- If the files are intentionally different, please add a comment in the PR explaining why
Files to check:
- Modified:
nemo_rl/models/dtensor/parallelize.py - Not modified:
3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/optimized_tp_plans.py - Not modified:
3rdparty/Automodel-workspace/Automodel/nemo_automodel/components/distributed/parallelizer.py
✅ DTensor Policy Worker Synchronization Check
Both DTensor policy worker files were modified in this PR:
nemo_rl/models/policy/dtensor_policy_worker.pynemo_rl/models/policy/dtensor_policy_worker_v2.py
Please ensure that the changes are consistent between both files where applicable.
This check ensures that related file implementations remain synchronized across the codebase. If you believe this warning is incorrect or the files should intentionally differ, please add a comment explaining the reasoning.