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

update_qlora_deps.sh 711 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
21
22
  1. # Assuming image: winglian/axolotl-runpod:main-cu118-2.0.0
  2. # TODO: maybe no -U or make it optional
  3. pip install -q -U bitsandbytes
  4. pip install -q -U git+https://github.com/huggingface/transformers.git
  5. pip install -q -U git+https://github.com/huggingface/peft.git
  6. pip install -q -U git+https://github.com/huggingface/accelerate.git
  7. pip install -q datasets
  8. pip install -q einops scipy wandb
  9. # Need to change this before uncommenting
  10. # export WANDB_PROJECT=runpod
  11. # Might need to fix bitsandbytes
  12. # WORKSPACE=${WORKSPACE:-"/workspace"}
  13. # cd $WORKSPACE
  14. # git clone https://github.com/TimDettmers/bitsandbytes
  15. # cd bitsandbytes/
  16. # CUDA_VERSION=118 make cuda11x
  17. # python setup.py install
  18. # python -m bitsandbytes
Tip!

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

Comments

Loading...