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
Hugging Face peft and bitsandbytes mismatch #2228
Comments
╭───────────────────── Traceback (most recent call last) ──────────────────────╮ |
please fix this error |
The 4bit bitsandbytes update is currently in closed beta. It will be some time before that version is publicly released. |
Peft updated to support an unreleased, closed beta version of bitsandbytes. Naturally, they also broke support for the current version of bitsandbytes. See: oobabooga#2228
can you tell me where I should paste this? when using it within the "start_windows.bat" I get an syntax error
|
@FeuerDrachenEinhorn You can just install normally and then afterward open
|
Sorry @FeuerDrachenEinhorn, but my command is tailored for a linux box on Google colab. Looks like @jllllll command should do the trick for you. |
@jllllll 's answer works for me. Thanks! |
Thanks. This is works for me 👍 |
Worked thanks ! |
This is now fixed: 2aa01e2 |
Hi I am still seeing the same error. How long should we wait for the fixes to be public? |
Thanks @jllllll! This fixed the bitsandbytes issue. A new one came up, however. I'm not sure if this is related or something else entirely, but I didn't get this error last time I ran my notebook. Apologies if it's a separate issue.
|
I confirmed this has been fixed. Next time I'll submit the PR myself. Thanks @jllllll 👍 |
@Erthar I solved the same issue by reverting back to May 17th build.
I think something committed recently is causing the error, didn't dig into it however. |
This worked for me. Thanks @BuffMcBigHuge! |
Hello, is the 4bit bitsandbytes still in closed beta? |
Describe the bug
This just happened overnight. Yesterday things were working great on google colab, but this morning I ran the same notebook and ran into an error:
I did some digging, and found that:
HuggingFace Peft has just added 4-bit QLoRA via bitsandbytes
huggingface/peft#476
Since the requirements use latest git peft, but are locked to bitsandbytes version 0.38.1, this error occurs due to bitsandbytes being outdated.
A temporary workaround is change requirements.txt to lock peft to a commit that was done a week ago, and does not include this change.
You can simply add this echo command before installing requirements.txt:
Is there an existing issue for this?
Reproduction
In google colab, use a GPU instance and run the following
Screenshot
No response
Logs
You will get the error:
The text was updated successfully, but these errors were encountered: