Slow safetensors loading #759
-
I'm pretty sure this is probably entirely a Comfy UI thing, but maybe still worth asking here. Slow safetensors loading was fixed in A1111 with a specific option (Disable memmapping for loading .safetensors files.). It seems to mostly only happen with 64GB of RAM or in other specific cases, due to #justwindowsthings with Windows memory management. AUTOMATIC1111/stable-diffusion-webui#11216 I'm not sure if Comfy UI has an equivalent setting. I've tried a couple of command arguments but they didn't really work. There might be a specific option to change somewhere, but I don't really use Comfy outside of Krita AI Diffusion. It's not that bad for SD 1.5, but SDXL checkpoints take about 2 minutes to load, while they load on average in 45 seconds in A1111. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
So I found the fix comfyanonymous/ComfyUI#1992 (comment) Why it hasn't been added at least as an option on Comfy, who knows #justcomfythings |
Beta Was this translation helpful? Give feedback.
-
This DOES break other models from loading, like ControlNet and upscalers, so I guess I get now why it's not on by default. |
Beta Was this translation helpful? Give feedback.
So I found the fix
comfyanonymous/ComfyUI#1992 (comment)
Why it hasn't been added at least as an option on Comfy, who knows #justcomfythings