Repository navigation
test(sc): write JSONL in the advantage-stage test controller - #5290
Merged
Merged
Conversation
_controller() built AdvantageStageConfig without a debug_writer, so the computers took the Parquet default (#4845) while the stub controller merges JSONL parts with JsonDebugWriter. The pool wrote .parquet chunks, and the controller failed with 'Training dump part file(s) ... not found'. Set debug_writer to the json target, as the other config in this file does. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Signed-off-by: Zhiyu Li <[email protected]>
Contributor
Author
|
/ok to test 2c6b8e0 |
yuki-97
previously approved these changes
Nov 18, 2026
yuki-97
enabled auto-merge (squash)
November 18, 2026 16:01
Same cause as the previous commit: the default debug writer is Parquet since #4845, but these tests install a JsonDebugWriter or compare with its output. CI runs pytest with -x, so they were hidden behind the first failure. - test_debug_writer: the background-vs-sync comparison builds its writer with the json target. - test_single_controller_actor: the stage-config helper sets the json target, so the stage writes the JSONL that the installed JsonDebugWriter merges. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Signed-off-by: Zhiyu Li <[email protected]>
Contributor
Author
|
/ok to test cac41a9 |
terrykong
approved these changes
Nov 18, 2026
yfw
added a commit
that referenced
this pull request
Nov 18, 2026
Brings in #5290 (test-only, no overlap with this PR). Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Yi-Fu Wu <[email protected]>
3 of 4 tasks
zyzhou5
added a commit
to zyzhou5/RL
that referenced
this pull request
Nov 19, 2026
…ting Pick up NVIDIA-NeMo#5290, which fixes the advantage-stage training-dump test that fails on main since NVIDIA-NeMo#4845. No conflicts. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Zeyu Zhou <[email protected]>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What
_controller()intests/unit/single_controller/test_advantage_stage.pybuiltAdvantageStageConfigwithout adebug_writer. Since #4845 the default target isparquet, so the computers wrote.parquetchunks. The stub controller still merges JSONL parts withJsonDebugWriter, so it failed with:This fails
L0_Unit_Tests_Otheronmain. The fix setsdebug_writer=DebugWriterConfig(target="json")in the fixture, as the other config in this file already does. Test-only; no product code changes.Evidence
origin/main: 4 failed, 54 passed (..._complete_however_the_stage_was_split[0],[3],..._jagged_columns_without_padding[grpo],[opd]).tests/unit/single_controller/test_advantage_stage.py: 58 passed.🤖 Generated with Claude Code