Skip to content
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

Bitsandbytes error (cuda setup error) google colab #8

Open
fznx922 opened this issue Dec 27, 2023 · 4 comments
Open

Bitsandbytes error (cuda setup error) google colab #8

fznx922 opened this issue Dec 27, 2023 · 4 comments

Comments

@fznx922
Copy link

fznx922 commented Dec 27, 2023

having issues with bitsandbytes when comming upto loading pre trained checkpoint,

"CUDA SETUP: Something unexpected happened. Please compile from source:
git clone [email protected]:TimDettmers/bitsandbytes.git
cd bitsandbytes
CUDA_VERSION=122
python setup.py install
CUDA SETUP: Setup Failed!
CUDA SETUP: Something unexpected happened. Please compile from source:
git clone [email protected]:TimDettmers/bitsandbytes.git
cd bitsandbytes
CUDA_VERSION=122
python setup.py install
"

tried re installing certain versions on colab etc but still no joy

any help is appreciated

@kenilshah35
Copy link

Facing same issue on colab

@afsara-ben
Copy link

facing the same issue, any solution?

@rishabbahal9
Copy link

I fixed it, use the following versions:
!pip install -q transformers==4.33.2 bitsandbytes==0.41.1 accelerate==0.23.0
overall:

!pip install -q datasets librosa evaluate jiwer gradio
!pip install -q transformers==4.33.2 bitsandbytes==0.41.1 accelerate==0.23.0
!pip install -q git+https://github.com/huggingface/peft.git@main

You might have to restart the session after these installation before moving further.

@Baladon23
Copy link

I spent 2 days trying to get this Colab to work, it is impossible... Try this one: https://github.com/huggingface/peft/blob/main/examples/int8_training/peft_bnb_whisper_large_v2_training.ipynb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants