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 Torch version to <2.2.0 #2394

Merged
merged 1 commit into from
Jan 30, 2024
Merged

Pin Torch version to <2.2.0 #2394

merged 1 commit into from
Jan 30, 2024

Conversation

Rocketknight1
Copy link
Member

@Rocketknight1 Rocketknight1 commented Jan 30, 2024

See huggingface/transformers#28785 - torch 2.2.0 was pushed to pypi and broke the CI. We pinned the version in Transformers, but because it installs accelerate from main at the end of the other installations, we need to pin the version in accelerate as well, or the accelerate installation upgrades to torch 2.2.0 regardless.

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@Rocketknight1 Rocketknight1 changed the title Pin Torch version to 2.2.0 Pin Torch version to <2.2.0 Jan 30, 2024
@Rocketknight1 Rocketknight1 merged commit 03365a3 into main Jan 30, 2024
25 checks passed
@Rocketknight1 Rocketknight1 deleted the pin_torch_version branch January 30, 2024 19:15
@Rocketknight1
Copy link
Member Author

Merging this as an emergency measure so we can fix the transformers CI - it's a one-line change, and we can discuss/revert it later if it's an issue!

@sayakpaul
Copy link
Member

Why do we need torch to be less than 2.2.0?

@Rocketknight1
Copy link
Member Author

CI failures - we'll unpin it soon, I'm sure!

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.

None yet

3 participants