-
Notifications
You must be signed in to change notification settings - Fork 6.5k
[CI] Temporarily pin transformers #12677
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
Conversation
sayakpaul
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
uv pip uninstall transformers huggingface_hub && uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git
This is still installing from main no?
.github/workflows/nightly_tests.yml
Outdated
| uv pip install -e ".[quality]" | ||
| uv pip uninstall accelerate && uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git | ||
| #uv pip uninstall transformers huggingface_hub && uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git | ||
| uv pip uninstall transformers huggingface_hub && uv pip install transformers |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But we don't need this step no? The Docker container should already have a stable version of transformers installed? 👀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sayakpaul
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would say we keep it uniform and do uv pip uninstall transformers huggingface_hub && uv pip install transformers==4.57.1 everywhere applicable?
|
Failing tests seem unrelated. |
What does this PR do?
Temporarily pin transformers (and by extension hf_hub) to version 4.57.1 and 0.36. This is to reduce noise in our CI while transformers is under going refactors for 5.0.0. We can unpin after the next Diffusers release.
Fixes # (issue)
Before submitting
documentation guidelines, and
here are tips on formatting docstrings.
Who can review?
Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.