ControlNet icon indicating copy to clipboard operation
ControlNet copied to clipboard

Loading model is very slow for the first time!

Open shallweiwei opened this issue 2 years ago • 1 comments

I tried Controlnet for two days. I removed the visual interface.But I found that the model needs to be loaded for a long time when I run it for the first time every day

shallweiwei avatar Apr 20 '23 02:04 shallweiwei

I believe it's this line model.load_state_dict(load_state_dict('./models/control_sd15_canny.pth', location='cuda')) Does anyone have the same problem?Sometimes it's very fast```

shallweiwei avatar Apr 20 '23 06:04 shallweiwei