tloen / alpaca-lora

Instruct-tune LLaMA on consumer hardware
Apache License 2.0
18.66k stars 2.22k forks source link

Fix incompatibility with newer transformers versions #591

Open almogtavor opened 1 year ago

almogtavor commented 1 year ago

Currently when cloning the project and executing it after installing all dependencies, I get ImportError: Usingload_in_8bit=Truerequires Accelerate: 'pip install accelerate' and the latest version of bitsandbytes 'pip install -i https://test.pypi.org/simple/ bitsandbytes' or 'pip install bitsandbytes'. Others get this error too. Until then we should follow a working version.