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

update torch req for 4-bit optimizer #33144

Merged
merged 1 commit into from
Aug 27, 2024

Conversation

SunMarc
Copy link
Member

@SunMarc SunMarc commented Aug 27, 2024

What does this PR do?

This PR updates the torch req in order to use torchao 4-bit optimizer. When I created the PR (using torchao nighlty), it was working with prior version of torch but now with torchao 0.4.0, you need to have torch nighlty to use it. cc @gau-nernst

@SunMarc SunMarc requested a review from ArthurZucker August 27, 2024 13:49
@gau-nernst
Copy link
Contributor

When I created the PR (using torchao nighlty), it was working with prior version of torch

Do you remember which version of torch did it work with? Maybe we broke something when we added FSDP support 🌚 cc: @msaroufim

https://github.com/pytorch/ao/commits/v0.4.0/torchao/prototype/low_bit_optim/adam.py

@SunMarc
Copy link
Member Author

SunMarc commented Aug 27, 2024

Well, since I put the req for torch 2.3 before, I think it worked with that version.

@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.

Copy link
Collaborator

@ArthurZucker ArthurZucker left a comment

Choose a reason for hiding this comment

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

thanks

@SunMarc SunMarc merged commit 7ee4363 into huggingface:main Aug 27, 2024
21 checks passed
BernardZach pushed a commit to BernardZach/transformers that referenced this pull request Dec 5, 2024
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.

4 participants