cog-sdxl
cog-sdxl copied to clipboard
Use `hf_transfer` for faster downloading of preprocessing models
https://github.com/huggingface/hf_transfer
Just needs two lines of code
-
- "hf_transfer"
tocog.yaml
python_packages
-
os.environ["HF_HUB_ENABLE_HF_TRANSFER"] = "1"
to the top oftrain.py
and/orpredict.py