I'm trying to fine-tune llama2-13b-chat-hf with an open source datasets.
I always used this template but now I'm getting this error:
ImportError: Using bitsandbytes
8-bit quantization requires Accelerate: pip install accelerate
and the latest version of bitsandbytes: pip install -i https://pypi.org/simple/ bitsandbytes
I installed all the packages required and these are the versions:
accelerate @ git+https://github.com/huggingface/accelerate.git@97d2168e5953fe7373a06c69c02c5a00a84d5344
bitsandbytes==0.42.0
datasets==2.17.1
huggingface-hub==0.20.3
peft==0.8.2
tokenizers==0.13.3
torch==2.1.0+cu118
torchaudio==2.1.0+cu118
torchvision==0.16.0+cu118
transformers==4.30.0
trl==0.7.11
Anyone know if that is a version issues? How did you fix that?
I tried to install other version but nothing.
torch
and reinstalled using the script from the official website "pytorch.org" It is working now: These are the versions of the packages that is working for me and different than yours:tokenizers==0.15.2
torch==2.2.1+cu118
torchaudio==2.2.1+cu118
torchvision==0.17.1+cu118
transformers==4.38.1
– Expressway