huggingface cli faster download

Improvement can be made to the downloads of model by installing the following package and setup

pip install -U "huggingface_hub[cli]"

pip install -U "huggingface_hub[hf_transfer]"


Configure your environment variables

HF_HUB_ENABLE_HF_TRANSFER=1 



Comments

Popular posts from this blog

gemini cli getting file not defined error

NodeJS: Error: spawn EINVAL in window for node version 20.20 and 18.20

vllm : Failed to infer device type