feat(data): add PackedTensor preprocessing modes - #4106
Open
rohitrango wants to merge 1 commit into
Open
rohitrango wants to merge 1 commit into
rohitrango wants to merge 1 commit into
Conversation
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
4 tasks
rohitrango
added this pull request to stack #4109
September 12, 2026 00:15
rohitrango
marked this pull request as ready for review
September 12, 2026 00:15
|
Auto-sync is disabled for ready for review pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
6 tasks
rohitrango
force-pushed
the
rohit/packedtensor_padding
branch
from
September 12, 2026 00:19
931969f to
e347801
Compare
rohitrango
force-pushed
the
rohit/packedtensor_padding
branch
from
September 14, 2026 17:14
e347801 to
977f0f3
Compare
liding-nv
approved these changes
Sep 14, 2026
Signed-off-by: rohitrango <rohit.rango@gmail.com>
rohitrango
force-pushed
the
rohit/packedtensor_padding
branch
from
September 15, 2026 17:57
977f0f3 to
3b6df1a
Compare
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 does this PR do ?
Adds configurable PackedTensor preprocessing and patchifies Nemotron Omni pixels before materialization.
Issues
None.
Usage
Before your PR is "Ready for review"
18281365(Ruff lint, import sorting, Ruff format, Pyrefly, and config checks).18281365: 90 passed, 1 skipped (megatron.bridgeunavailable).18281365.Additional Information
rohit/sft_v2_stage2base branch. Retarget this PR tomainafter feat: add Energon-owned SFT sequence packing #4105 merges.Scripts validated
uv run examples/run_vlm_grpo.py --config examples/configs/recipes/vlm/vlm_grpo-nemotron-omni-30ba3b-clevr-2n8g-megatron-tp8ep8.v1-tq_mooncake.yaml logger.wandb.name=grpo-nemotron-with-patches logger.wandb_enabled=true logger.wandb.project=sft-dev cluster.num_nodes=1(brown: baseline, green: with patches)

Previous PR and self-review
Previous PR: #4082. A self-review was performed on the previous PR, and the resulting feedback was addressed in this PR.