Skip to content

perf(recipes): deduplicate Super Omni multimodal payloads - #3818

Merged
youngeunkwon0405 merged 1 commit into
codex/super-omni-optimized-recipefrom
codex/super-omni-enable-mm-dedup
Aug 25, 2026
Merged

youngeunkwon0405 merged 1 commit into
codex/super-omni-optimized-recipefrom
codex/super-omni-enable-mm-dedup

Conversation

@youngeunkwon0405

Copy link
Copy Markdown
Contributor

What

Enable grpo.deduplicate_multimodal_data in the optimized 32n4g Nemotron Super Omni async-Gym recipe introduced by #3805.

This keeps one physical policy-media payload for the 16 logical generations of each prompt and reconstructs the logical rows at the existing NeMo-Gym/replay boundaries. The underlying deduplication and dynamic-image-shape support are already implemented and tested; this PR only enables that path for the validated recipe.

Full-scale validation

Matched 32-node x 4-GPU, 10-step runs used the same TP2/EP16/CP1 full-recompute learner, 256 prompts x 16 generations, GBS 4096, 16K sequence limit, max_num_seqs=64, seed/data, container, and instrumentation. The only resolved semantic delta was this flag.

Metric (Steps 3-10) dedup=false, job 6503788 dedup=true, job 6504722 Delta
Slurm elapsed 01:22:33 01:16:50 -6.9%
Mean step time 376.87 s 345.98 s -8.2%
Successful replay-return time 38.13 s 4.66 s -87.8%
NeMo-Gym actor postprocess time 78.74 s 8.96 s -88.6%
Ray stream materialization time 23.46 s 2.69 s -88.5%
Generated-token load 92.22M 91.61M -0.7%

Both jobs completed all 10 steps with exit 0:0, finite training/correctness metrics, and no OOM, Ray actor, refit, or NCCL failure.

The runs also show that multimodal deduplication removes the 30-50 second replay payload-return cost but does not remove the separate strict-target generation-tail wait. This PR intentionally claims only the validated payload-path improvement.

W&B: dedup=false, dedup=true.

Validation

  • tools/config_cli.py minimize-check passed.
  • Fully resolved config diff contains exactly grpo.deduplicate_multimodal_data: false -> true.
  • git diff --check passed.

Depends on #3805.

@youngeunkwon0405
youngeunkwon0405 requested a review from a team as a code owner August 25, 2026 09:04
@copy-pr-bot

copy-pr-bot Bot commented Aug 25, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@youngeunkwon0405 youngeunkwon0405 added the CI:Lfast Runs a fast test suite and re-use nightly `main` container (but sync dependencies to PRs version) label Aug 25, 2026
@youngeunkwon0405

Copy link
Copy Markdown
Contributor Author

/ok to test df394ab

@youngeunkwon0405
youngeunkwon0405 merged commit fbf01ea into codex/super-omni-optimized-recipe Aug 25, 2026
54 checks passed
@youngeunkwon0405
youngeunkwon0405 deleted the codex/super-omni-enable-mm-dedup branch August 25, 2026 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI:Lfast Runs a fast test suite and re-use nightly `main` container (but sync dependencies to PRs version)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant