-
Notifications
You must be signed in to change notification settings - Fork 31.1k
[v5] Bump min version of bitsandbytes to 0.46.1 #41283
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
|
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. |
MekkCyber
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.
Very very nice ! Thanks for the cleaning
| if not is_torch_available(): | ||
| raise ImportError( | ||
| "The bitsandbytes library requires PyTorch but it was not found in your environment. " | ||
| "You can install it with `pip install torch`." | ||
| ) |
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.
why removing the torch check ?
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.
this shouldn't be needed tbh as torch is the only backend available for v5. We didn't put it for other quantizers btw
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.
Sounds good
matthewdouglas
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.
Thanks for cleaning all of this up!
|
[For maintainers] Suggested jobs to run (before merge) run-slow: bnb |
|
run-slow: bnb |
|
This comment contains run-slow, running the specified jobs: models: [] |
|
All tests are passing ! |
Original PR #41283 by SunMarc Original: huggingface/transformers#41283
Merged from original PR #41283 Original: huggingface/transformers#41283
Original PR #41283 by SunMarc Original: huggingface/transformers#41283
Merged from original PR #41283 Original: huggingface/transformers#41283
* bump bitsandbytes to 0.46.1 * huge cleanup * style * fix * req * fix * importerror * fix
What does this PR do?
This PR cleans bitsandbytes integration as we bump the min version. With the multi-backend integrated in bitsanbytes for a few versions, I think we can safely bump to 0.46.1 as vllm did. I also removed a bunch as deprecated code