Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

prepare_qlora.sh 629 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
  1. # Assuming image: winglian/axolotl-runpod:main-cu118-2.0.0
  2. # TODO: maybe no -U or make it optional
  3. pip install bitsandbytes
  4. pip install git+https://github.com/huggingface/transformers.git
  5. pip install git+https://github.com/huggingface/peft.git
  6. pip install git+https://github.com/huggingface/accelerate.git
  7. # Need to change this before uncommenting
  8. # export WANDB_PROJECT=runpod
  9. # Might need to fix bitsandbytes
  10. # WORKSPACE=${WORKSPACE:-"/workspace"}
  11. # cd $WORKSPACE
  12. # git clone https://github.com/TimDettmers/bitsandbytes
  13. # cd bitsandbytes/
  14. # CUDA_VERSION=118 make cuda11x
  15. # python setup.py install
  16. # python -m bitsandbytes
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...