Skip to content

Refactor MLMDataCollatorWithFlattening#1382

Merged
pstjohn merged 2 commits intoNVIDIA:mainfrom
pstjohn:pstjohn/update-flattening-collator
Dec 22, 2025
Merged

Refactor MLMDataCollatorWithFlattening#1382
pstjohn merged 2 commits intoNVIDIA:mainfrom
pstjohn:pstjohn/update-flattening-collator

Conversation

@pstjohn
Copy link
Collaborator

@pstjohn pstjohn commented Dec 16, 2025

Updates this class to be more general for llama3 usage by making it accept a base collator and perform flattening after-the-fact. Essentially we're now always doing the bshd-compatable forward call.

This is going to make it easier to implement CP in the llama3 recipe

@copy-pr-bot
Copy link

copy-pr-bot bot commented Dec 16, 2025

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.

@pstjohn pstjohn marked this pull request as ready for review December 16, 2025 15:26
Copy link
Collaborator

@jomitchellnv jomitchellnv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM but let's build a container and test out the CP tests to make sure this passes before submission

Signed-off-by: Peter St. John <pstjohn@nvidia.com>
@pstjohn pstjohn force-pushed the pstjohn/update-flattening-collator branch from be53581 to 526791b Compare December 22, 2025 20:13
Signed-off-by: Peter St. John <pstjohn@nvidia.com>
@pstjohn pstjohn force-pushed the pstjohn/update-flattening-collator branch from 526791b to 61710b0 Compare December 22, 2025 20:15
@pstjohn pstjohn added this pull request to the merge queue Dec 22, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Dec 22, 2025
@pstjohn pstjohn added this pull request to the merge queue Dec 22, 2025
Merged via the queue into NVIDIA:main with commit 4873914 Dec 22, 2025
16 checks passed
@pstjohn pstjohn deleted the pstjohn/update-flattening-collator branch December 22, 2025 22:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants