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

Fix DAPT tutorial #503

Merged
merged 5 commits into from
Jan 31, 2025
Merged

Fix DAPT tutorial #503

merged 5 commits into from
Jan 31, 2025

Conversation

sarahyurick
Copy link
Collaborator

The semantic deduplication portion of the DAPT tutorial is currently failing with a ValueError("'category' column dtypes are currently not supported by the gpu accelerated parquet writer"). A quick way to avoid this error is to avoid writing the embeddings to disk.

Signed-off-by: Sarah Yurick <[email protected]>
Signed-off-by: Sarah Yurick <[email protected]>
@sarahyurick sarahyurick marked this pull request as ready for review January 31, 2025 18:43
@sarahyurick sarahyurick requested a review from VibhuJawa January 31, 2025 18:43
@sarahyurick sarahyurick added the gpuci Run GPU CI/CD on PR label Jan 31, 2025
Signed-off-by: Sarah Yurick <[email protected]>
@sarahyurick sarahyurick added gpuci Run GPU CI/CD on PR and removed gpuci Run GPU CI/CD on PR labels Jan 31, 2025
Copy link
Collaborator

@VibhuJawa VibhuJawa left a comment

Choose a reason for hiding this comment

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

Minor nit about launching tutorial in GPU Mode (which should be default). Everything else looks good to me.

python main.py
# or python main.py --device "gpu"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is it an or here , should this by the default ?

Signed-off-by: Sarah Yurick <[email protected]>
Copy link
Collaborator

@VibhuJawa VibhuJawa left a comment

Choose a reason for hiding this comment

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

LGTM

@sarahyurick
Copy link
Collaborator Author

Looks like the failures are caused by flaky TestDownload tests. Merging anyway.

@sarahyurick sarahyurick merged commit 75234a9 into NVIDIA:main Jan 31, 2025
3 of 4 checks passed
@@ -37,11 +37,8 @@
)

import nemo_curator as nc
from nemo_curator import ExactDuplicates, Modify, ScoreFilter, Sequential
Copy link
Contributor

Choose a reason for hiding this comment

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

Hey @sarahyurick - Is it possible to revert these sections that are deleted from the DAPT tutorial?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gpuci Run GPU CI/CD on PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants