You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An officially supported task in the examples folder (such as GLUE/SQuAD, ...)
My own task or dataset (give details below)
Reproduction
This problem occurs when trying to use RWKV with the "bnb_4bit_use_double_quant" argument in a BitsAndBytesConfig. You can fully reproduce the error with the following code:
I would expect this to work, fail gracefully, or perhaps revert to a supported setting. For now, simply disabling "bnb_4bit_use_double_quant" resolves the issue with RWKV, and I've not seen it happen elsewhere.
The text was updated successfully, but these errors were encountered:
Hi @LuciferianInk
Thanks for the issue, I recently made #26134 that should fix all issues related with RWKV and 4bit, please install transformers from source pip install -U git+https://github.com/huggingface/transformers.git and let me know if this fixes your issue
Thanks for the update! While this build does appear to fix my earlier problem, it breaks the custom CUDA kernel that's supposed to ship with RWKV. Because this results in 10x slower computations in RWKV, I'll have to revert back to 4.32.X for now.
For reference, I am installing from pip inside of the nvcr.io/nvidia/cuda:12.2.0-devel-ubuntu22.04 container. The kernel works great, on the previous build. Feel free to close this issue if you'll track that one elsewhere.
System Info
transformers
version: 4.33.2Who can help?
@gante @SunMarc
Information
Tasks
examples
folder (such as GLUE/SQuAD, ...)Reproduction
This problem occurs when trying to use RWKV with the "bnb_4bit_use_double_quant" argument in a BitsAndBytesConfig. You can fully reproduce the error with the following code:
Expected behavior
I would expect this to work, fail gracefully, or perhaps revert to a supported setting. For now, simply disabling "bnb_4bit_use_double_quant" resolves the issue with RWKV, and I've not seen it happen elsewhere.
The text was updated successfully, but these errors were encountered: