Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pad sequences to multiples of 16 for GPTSFTDataset #7904

Merged
merged 2 commits into from
Nov 17, 2023

Conversation

vysarge
Copy link
Contributor

@vysarge vysarge commented Nov 17, 2023

One-line change to pad sequences to the next highest multiple of 16 instead of 8 in GPTSFTDataset to allow this dataset's outputs to work with TransformerEngine which expects multiples of 16 when using fp8.

@github-actions github-actions bot added the NLP label Nov 17, 2023
@ericharper
Copy link
Collaborator

jenkins

Copy link
Collaborator

@ericharper ericharper left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks!

@ericharper ericharper merged commit eba699d into NVIDIA:main Nov 17, 2023
11 checks passed
@vysarge vysarge deleted the vsarge/pad16 branch November 18, 2023 03:29
pzelasko pushed a commit to pzelasko/NeMo that referenced this pull request Jan 3, 2024
Signed-off-by: Valerie Sarge <[email protected]>
Co-authored-by: Eric Harper <[email protected]>
Signed-off-by: Piotr Żelasko <[email protected]>
rohitrango pushed a commit to rohitrango/NeMo that referenced this pull request Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants