-
Notifications
You must be signed in to change notification settings - Fork 27.5k
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
Improve error msg when using bitsandbytes #31350
Conversation
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 ! left two comments about potentially unneeded changes
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.
Is this change intended?
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.
Is this change intended?
yes my bad i pushed the wrong branch. let me fix this ! |
da0562d
to
0b39170
Compare
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 a lot !
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!
Is this only difference between the 4bit and 8bit validation the required version? If so, we could always abstract out a common set of things to validate and the just have quantizer_bnb_4bit.validate_environment
use that + the version check
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. |
Makes sense ! I think that this was the goal of |
improve error msg when using bnb
improve error msg when using bnb
improve error msg when using bnb
improve error msg when using bnb
improve error msg when using bnb
improve error msg when using bnb
What does this PR do ?
This PR fixes a typo in an error message and make it easier to debug when getting an import error for bitsandbytes.
Fixes #30751