|
#!/bin/bash |
|
pip install -r /repository/req.txt --no-cache-dir --force-reinstall |
|
|
|
apt-get install wget |
|
python -c "from huggingface_hub.hf_api import HfFolder; HfFolder.save_token('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')" |
|
wget -q https://github.com/akinakalin/diffusers/raw/main/examples/dreambooth/train_dreambooth.py; |
|
wget -q https://github.com/akinakalin/diffusers/raw/main/scripts/convert_diffusers_to_original_stable_diffusion.py; |
|
pip install git+https://github.com/akinakalin/diffusers |
|
pip install -q -U --pre triton==2.0.0 |
|
pip install -q accelerate==0.12.0 transformers==4.26.1 ftfy bitsandbytes-cuda116 gradio==3.15.0 |