-
Notifications
You must be signed in to change notification settings - Fork 684
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
[AMD ROCm] _validate_bnb_multi_backend_availability()
incorrectly tries to alter a frozenset.
#1573
Comments
This is another issue related in #1271 |
This is caused by the transformers module, but impacts usage here as well. I'm not sure how you guys want to treat this. |
Related bug created at transformers |
…ROCm support. Related to bitsandbytes-foundation/bitsandbytes#1573 and huggingface#36949 , this resolves a bug in allowing ROCm/HIP support in bitsandbytes.
I need someone with all the appropriate hardware to test anadon/transformers#1 . I have the sneaking suspicion that the reason this wasn't caught earlier was because |
…36949 , this resolves a bug in the biteandbytes integration, allowing ROCm/HIP support in bitsandbytes.
@anadon Thanks for looking into this! I've commented and given my approval on the transformers PR. As an FYI, now that we have merged #1544 to main, we're going to start to move the AMD integration out of the multiplatform branch. In the very near future we're going to push toward mainlining with a new interface. Stay tuned! |
…ROCm support. (#36975) * Fix removing "cpu" from frozenset in bitsandbytes.py to allow better ROCm support. Related to bitsandbytes-foundation/bitsandbytes#1573 and #36949 , this resolves a bug in allowing ROCm/HIP support in bitsandbytes. * Related to bitsandbytes-foundation/bitsandbytes#1573 and #36949 , this resolves a bug in the biteandbytes integration, allowing ROCm/HIP support in bitsandbytes. --------- Co-authored-by: Mohamed Mekkouri <[email protected]>
System Info
When building for the ROCm/HIP backend, then importing the python module, the following traceback is printed:
Reproduction
Using a System with an AMD CPU, and a RX 7900 XTX, build the following Nix Flake then import bitsandbytes.
Expected behavior
When imported, no error should be encountered under these operating conditions.
The text was updated successfully, but these errors were encountered: