Repository navigation
perf: write single-controller training dumps as Parquet - #4845
Merged
ZhiyuLi-Nvidia merged 4 commits intoNov 18, 2026
Merged
Conversation
mk-0
marked this pull request as ready for review
October 21, 2026 22:01
4 tasks done
ZhiyuLi-Nvidia
self-requested a review
November 4, 2026 21:25
Signed-off-by: Marat Kitov <[email protected]>
Validate Parquet columns up front, cache the schema, and republish a retried step by replacing the manifest and then removing superseded chunks. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Signed-off-by: Zhiyu Li <[email protected]>
ZhiyuLi-Nvidia
force-pushed
the
mkitov/trajectory-parquet-logging2
branch
from
November 17, 2026 08:38
ffe12d7 to
d65657a
Compare
Contributor
|
/ok to test d65657a |
Pin the tests and functional scripts that read train_data_step*.jsonl to the json writer. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Signed-off-by: Zhiyu Li <[email protected]>
Contributor
|
/ok to test ab2d4ca |
ZhiyuLi-Nvidia
previously approved these changes
Nov 17, 2026
ZhiyuLi-Nvidia
left a comment
Contributor
There was a problem hiding this comment.
Thank you @mk-0.
Just a nit, LGTM!
Contributor
|
/ok to test ab2d4ca |
…ublished A write that dies after creating its .partial file left it in the step directory, and the cleanup in _publish_step only matched step-*.parquet. Also remove dot-prefixed .partial files that the new manifest does not list. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Signed-off-by: Zhiyu Li <[email protected]>
Contributor
|
/ok to test ea0db34 |
ZhiyuLi-Nvidia
enabled auto-merge (squash)
November 17, 2026 18:19
ZhiyuLi-Nvidia
approved these changes
Nov 18, 2026
ZhiyuLi-Nvidia
disabled auto-merge
November 18, 2026 00:57
jthomson04
added a commit
to jthomson04/RL
that referenced
this pull request
Nov 18, 2026
…Q clear fix) into jthomson04/dynamo-1.7 Brings in NVIDIA-NeMo#5258, NVIDIA-NeMo#4845, NVIDIA-NeMo#5141 and NVIDIA-NeMo#5201. Git merged the six files both sides changed without a conflict. pyproject.toml, uv.lock and the submodule pins are unchanged. Co-Authored-By: Claude Fable 5.2 <[email protected]> Signed-off-by: jthomson04 <[email protected]>
ZhiyuLi-Nvidia
pushed a commit
that referenced
this pull request
Nov 18, 2026
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]>
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]>
zhangyimi
added a commit
to zhangyimi/RL
that referenced
this pull request
Nov 23, 2026
…k test SingleController writes training dumps as Parquet since NVIDIA-NeMo#4845, so the JSONL file count is always zero. Co-Authored-By: Claude Fable 5.2 <[email protected]> Signed-off-by: Zhang Shuai <[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.
Replace the single controller’s JSONL training-data dumps with Parquet, reusing the existing
log_full_train_datapath in the advantage stage.Chunks are written from tensors already available there, without additional TransferQueue reads. Conversion uses NumPy/Arrow rather than per-token Python objects. A lightweight manifest marks completed steps without merging files or rereading their contents.
In a short run with 30x looped logging (simulating Nemotron 3 Ultra batch size), Parquet reduced average conversion/write time from 163.8s to 10.9s per step and output size from 6.31 GB to 0.53 GB. Both runs logged the same fields with similar token counts.
Validation: all single-controller tests passed, plus sanity checks on actual Parquet output.