feat(data): add PackedTensor preprocessing modes - #4082
Open
rohitrango wants to merge 1 commit into
Open
Conversation
|
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. |
rohitrango
force-pushed
the
rohit/packedtensor_padding
branch
3 times, most recently
from
September 10, 2026 18:41
07aae6b to
9aa7c9d
Compare
Signed-off-by: rohitrango <rohit.rango@gmail.com>
rohitrango
force-pushed
the
rohit/packedtensor_padding
branch
from
September 10, 2026 18:52
9aa7c9d to
931969f
Compare
This was referenced Sep 10, 2026
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 #4070 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)
