ai-toolkit icon indicating copy to clipboard operation
ai-toolkit copied to clipboard

The download of pytorch_model-00001-of-00003.safetensors got stuck

Open weiwei83 opened this issue 1 year ago • 1 comments

image The download speed was 50 megabytes per second at the beginning. As the download approaches completion, the download speed gradually decreases until it drops to several kilobytes. The final result is that I can never complete the download.

weiwei83 avatar Aug 16 '24 18:08 weiwei83

Same happened to me, just download the model manually and then use local path as model in config where it reads name_or_path :

# huggingface model name or path
name_or_path: "C:/.../ai-toolkit/FLUX.1-dev"

https://huggingface.co/black-forest-labs/FLUX.1-dev/tree/main

martintomov avatar Aug 16 '24 19:08 martintomov

Same happened to me, just download the model manually and then use local path as model in config where it reads name_or_path :

# huggingface model name or path
name_or_path: "C:/.../ai-toolkit/FLUX.1-dev"

https://huggingface.co/black-forest-labs/FLUX.1-dev/tree/main

That works for the model but then it gets stuck on the text encoder and vae, how do I path them?

edit: gave python.exe write permissions and the downloads started working.

Codacodercoda avatar Aug 22 '25 17:08 Codacodercoda

Same happened to me, just download the model manually and then use local path as model in config where it reads name_or_path :

# huggingface model name or path
name_or_path: "C:/.../ai-toolkit/FLUX.1-dev"

https://huggingface.co/black-forest-labs/FLUX.1-dev/tree/main

That works for the model but then it gets stuck on the text encoder and vae, how do I path them?

edit: gave python.exe write permissions and the downloads started working.

Great solution . But how I can fix it on linux. Same issue

Falkonar avatar Aug 23 '25 13:08 Falkonar