Open inspire-boy opened 1 year ago
loading xl model cost too long time
1、load a SD1.5 model 2、change to a XL model.
Can I always keep a special model in memery?
loading XL model cost long time. (SSD)
It take 3 mins to load sdxl
Google Chrome
Applying attention optimization: xformers... done. Model loaded in 21.8s (load weights from disk: 2.6s, create model: 0.6s, apply weights to model: 14.7s, apply half(): 0.1s, apply dtype to VAE: 1.7s, move model to device: 0.2s, calculate empty prompt: 1.7s). 【--------------- cost in this place-----------------】 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 20/20 [00:17<00:00, 1.15it/s] Total progress: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 20/20 [00:15<00:00, 1.30it/s] Total progress: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 20/20 [00:15<00:00, 1.55it/s]
try settings -> system -> disable memmapping for loading safetensors
Is there an existing issue for this?
What happened?
loading xl model cost too long time
Steps to reproduce the problem
1、load a SD1.5 model 2、change to a XL model.
Can I always keep a special model in memery?
What should have happened?
loading XL model cost long time. (SSD)
Sysinfo
It take 3 mins to load sdxl
What browsers do you use to access the UI ?
Google Chrome
Console logs
Additional information
Can I always keep a special model in memery?