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

Pin Transformers version >= 4.48.0 #528

Merged
merged 3 commits into from
Feb 11, 2025

Conversation

sarahyurick
Copy link
Collaborator

No description provided.

Signed-off-by: Sarah Yurick <[email protected]>
@sarahyurick sarahyurick added the gpuci Run GPU CI/CD on PR label Feb 7, 2025
pyproject.toml Outdated
@@ -66,8 +66,7 @@ dependencies = [
"resiliparse",
"sentencepiece",
"spacy>=3.6.0, <3.8.0",
# TODO: Remove this pin once newer version is released
"transformers==4.46.3",
"transformers",
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should we pin to say not include broken version ?

Suggested change
"transformers",
"transformers!=4.47.0",

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Good point, although I think it was fixed by 4.48.0 so I might try transformers>=4.48.0.

Copy link
Collaborator

Choose a reason for hiding this comment

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

I will also check if the upper bound works with Nvidia's NeMo container. If it works, then a upper pin is great, If it does not a more permissive pin (which just prevents 1 version) might be the way to go.

@sarahyurick sarahyurick added gpuci Run GPU CI/CD on PR and removed gpuci Run GPU CI/CD on PR labels Feb 10, 2025
@ryantwolf ryantwolf removed the gpuci Run GPU CI/CD on PR label Feb 11, 2025
@sarahyurick sarahyurick changed the title Unpin Transformers version Pin Transformers version >= 4.48.0 Feb 11, 2025
@sarahyurick sarahyurick merged commit 334a331 into NVIDIA:main Feb 11, 2025
5 of 6 checks passed
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.

3 participants