-
Notifications
You must be signed in to change notification settings - Fork 639
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
ImportError: Using load_in_8bit=True
requires Accelerate: pip install accelerate
and the latest version of bitsandbytes pip install -i https://test.pypi.org/simple/ bitsandbytes
or pip install bitsandbytes` when in reality it's a torch issue
#837
Comments
Are you on MacOS? Had the same issue on it, swapped to windows (remote ssh) and searching for a different issue lol |
I got the same ERROR |
Yes. Same issue on MacOS |
same issue... is there any updates? |
same issue |
Same issue |
Well as said above, the error is not that the lib is not properly installed: the error message is misleading. Please see: |
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread. |
This is a great catch. Can you please submit this to the transformers github repo? This is only indirectly a bitsandbytes issue. |
To me it's not entirely clear where Mac comes into play and how we would best warn that Mac is not supported. @pechaut78 how did you deduce that it must be Mac related? And why does the code get triggered that is throwing the traceback? |
Hi - the core issue is that currently in transformers |
bitsandbytes reports this error:
however, the error is innacurate, because the issue is that the function:
and if somebody accidentally uninstall torch, this happens.
So maybe one should improve the error message.
and maybe sending a message here to the user complaining about "unable to import torch" would be useful, who knows
tell your friends! :)
The text was updated successfully, but these errors were encountered: