Cannot get UI to load (after switching model) #3126
Replies: 4 comments
-
model |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
I've also tried inserting a DIFFERENT model into line 37 of that file, it has no effect on the SD.Next startup sequence. I've also tried deleting the cache.json file from the automatic folder (I believe this contains hashes of models). Now a different error occurs and I still can't load SD.Next UI. privateuser@Users-MBP automatic % ./webui.sh |
Beta Was this translation helpful? Give feedback.
-
try |
Beta Was this translation helpful? Give feedback.
-
I had a fresh installation of SD.Next running fine on my MacBook Pro M3 Max 128GB 8TB.
The only thing I did was switched the model, and it seems to crash the UI and I cannot get it load again.
I've tried loading using both the Original and Diffusers backends (using the --backend arg), but no luck.
Is there any way I can get this going again without doing another reinstall?
privateuser@Users-MBP automatic % ./webui.sh --disable-queue
Create and activate python venv
Launching launch.py...
19:20:44-133645 INFO Starting SD.Next
19:20:44-135242 INFO Logger: file="/Users/privateuser/automatic/sdnext.log" level=INFO size=19863 mode=append
19:20:44-135765 INFO Python 3.10.13 on Darwin
19:20:44-154780 INFO Version: app=sd.next updated=2024-05-07 hash=e081f232 branch=master url=https://github.com/vladmandic/automatic/tree/master
19:20:44-570198 INFO Platform: arch=arm64 cpu=arm system=Darwin release=23.4.0 python=3.10.13
19:20:44-597896 WARNING Modified files: ['models/Reference/DeepFloyd--IF-I-M-v1.0.jpg', 'models/Reference/PixArt-alpha--PixArt-XL-2-1024-MS.jpg',
'models/Reference/PixArt-alpha--PixArt-XL-2-512x512.jpg', 'models/Reference/SimianLuo--LCM_Dreamshaper_v7.jpg',
'models/Reference/TempestV0.1-Artistic.jpg', 'models/Reference/XCLiu--instaflow_0_9B_from_sd_1_5.jpg',
'models/Reference/amused--amused-256.jpg', 'models/Reference/amused--amused-512.jpg',
'models/Reference/damo-vilab--text-to-video-ms-1.7b.jpg', 'models/Reference/dreamshaperXL_v21TurboDPMSDE.jpg',
'models/Reference/dreamshaper_8.jpg', 'models/Reference/etri-vilab--koala-700m-llava-cap.jpg',
'models/Reference/juggernautXL_v9Rdphoto2Lightning.jpg', 'models/Reference/juggernautXL_v9Rundiffusionphoto2.jpg',
'models/Reference/juggernaut_reborn.jpg', 'models/Reference/kandinsky-community--kandinsky-2-1.jpg',
'models/Reference/kandinsky-community--kandinsky-2-2-decoder.jpg', 'models/Reference/kandinsky-community--kandinsky-3.jpg',
'models/Reference/latent-consistency--lcm-sdxl.jpg', 'models/Reference/playgroundai--playground-v1.jpg',
'models/Reference/playgroundai--playground-v2-1024px-aesthetic.jpg', 'models/Reference/playgroundai--playground-v2-256px-base.jpg',
'models/Reference/playgroundai--playground-v2-512px-base.jpg', 'models/Reference/playgroundai--playground-v2.5-1024px-aesthetic.jpg',
'models/Reference/salesforce--blipdiffusion.jpg', 'models/Reference/sd_xl_base_1.0.jpg', 'models/Reference/sdxl_turbo.jpg',
'models/Reference/segmind--SSD-1B.jpg', 'models/Reference/segmind--SegMoE-2x1-v0.jpg', 'models/Reference/segmind--SegMoE-4x2-v0.jpg',
'models/Reference/segmind--SegMoE-SD-4x2-v0.jpg', 'models/Reference/segmind--Segmind-Vega.jpg',
'models/Reference/segmind--tiny-sd.jpg', 'models/Reference/stabilityai--stable-cascade.jpg',
'models/Reference/stabilityai--stable-diffusion-2-1-base.jpg', 'models/Reference/stabilityai--stable-diffusion-2-1.jpg',
'models/Reference/stabilityai--stable-video-diffusion-img2vid-xt.jpg',
'models/Reference/stabilityai--stable-video-diffusion-img2vid.jpg', 'models/Reference/thu-ml--unidiffuser-v1.jpg',
'models/Reference/v1-5-pruned-fp16-emaonly.jpg', 'models/Reference/warp-ai--wuerstchen.jpg', 'models/VAE-approx/model.pt',
'models/karlo/ViT-L-14_stats.th']
19:20:44-610200 INFO Extensions: disabled=[]
19:20:44-611247 INFO Extensions: enabled=['sd-extension-chainner', 'sd-webui-controlnet', 'stable-diffusion-webui-rembg', 'sd-webui-agent-scheduler',
'Lora', 'sd-extension-system-info', 'stable-diffusion-webui-images-browser'] extensions-builtin
19:20:44-612694 INFO Extensions: enabled=[] extensions
19:20:44-613287 INFO Startup: quick launch
19:20:44-613736 INFO Verifying requirements
19:20:44-622136 INFO Verifying packages
19:20:44-623200 INFO Extensions: disabled=[]
19:20:44-623680 INFO Extensions: enabled=['sd-extension-chainner', 'sd-webui-controlnet', 'stable-diffusion-webui-rembg', 'sd-webui-agent-scheduler',
'Lora', 'sd-extension-system-info', 'stable-diffusion-webui-images-browser'] extensions-builtin
19:20:44-624717 INFO Extensions: enabled=[] extensions
19:20:44-627119 INFO Command line args: ['--disable-queue'] disable_queue=True
19:20:46-642281 INFO Load packages: {'torch': '2.3.0', 'diffusers': '0.27.0', 'gradio': '3.43.2'}
19:20:47-113992 INFO Engine: backend=Backend.DIFFUSERS compute=mps device=mps attention="Scaled-Dot-Product" mode=no_grad
19:20:47-116001 INFO Device:
19:20:47-410838 INFO Available VAEs: path="models/VAE" items=2
19:20:47-411494 INFO Disabled extensions: ['sd-webui-controlnet']
19:20:47-414419 INFO Available models: path="models/Stable-diffusion" items=55 time=0.00
19:20:47-453286 INFO LoRA networks: available=23 folders=2
19:20:47-681901 INFO Extension: script='extensions-builtin/sd-webui-agent-scheduler/scripts/task_scheduler.py' Using sqlite file:
extensions-builtin/sd-webui-agent-scheduler/task_scheduler.sqlite3
19:20:47-795134 INFO UI theme: name="black-teal" style=Auto base=sdnext.css
19:20:48-445895 INFO Extension list is empty: refresh required
19:20:48-686400 INFO Server queues disabled
19:20:48-734809 INFO Local URL: http://127.0.0.1:7860/
19:20:48-830533 INFO [AgentScheduler] Total pending tasks: 1
19:20:48-834660 INFO [AgentScheduler] Executing task task(xtr3jxmms1hezac)
19:20:48-835197 INFO [AgentScheduler] Registering APIs
19:20:49-013094 INFO Select: model="SD 1.5/absolutereality_v181 [463d6a9fe8]"
19:20:49-037990 INFO Setting Torch parameters: device=mps dtype=torch.float32 vae=torch.float32 unet=torch.float32 context=no_grad fp16=None bf16=None
optimization=Scaled-Dot-Product
19:20:49-045087 INFO Autodetect: model="Stable Diffusion" class=StableDiffusionPipeline file="/Users/privateuser/automatic/models/Stable-diffusion/SD
1.5/absolutereality_v181.safetensors" size=2034MB
19:20:49-084150 INFO Startup time: 4.41 torch=1.64 gradio=0.34 libraries=0.76 extensions=0.36 ui-en=0.08 ui-control=0.05 ui-settings=0.11
ui-extensions=0.48 ui-defaults=0.06 app-started=0.26
19:20:51-033540 INFO Load embeddings: loaded=14 skipped=11 time=0.16
19:20:51-158657 INFO Load model: time=2.01 load=2.00 native=512 {'ram': {'used': 4.07, 'total': 128.0}}
19:20:51-161068 INFO Select: model="SD 1.5/cirrostratus_v25 [9abd72c940]"
19:20:51-672081 INFO Setting Torch parameters: device=mps dtype=torch.float32 vae=torch.float32 unet=torch.float32 context=no_grad fp16=None bf16=None
optimization=Scaled-Dot-Product
19:20:51-672862 INFO Autodetect: model="Stable Diffusion" class=StableDiffusionPipeline file="/Users/privateuser/automatic/models/Stable-diffusion/SD
1.5/cirrostratus_v25.safetensors" size=2193MB
19:20:53-089710 INFO Load embeddings: loaded=14 skipped=11 time=0.14
19:20:53-212810 INFO Load model: time=1.42 load=1.42 native=512 {'ram': {'used': 4.31, 'total': 128.0}}
19:20:53-224745 INFO Base: class=StableDiffusionImg2ImgPipeline
Progress ?it/s 0% 0/20 00:00 ? Base/AppleInternal/Library/BuildRoots/ce725a5f-c761-11ee-a4ec-b6ef2fd8d87b/Library/Caches/com.apple.xbs/Sources/MetalPerformanceShaders/MPSCore/Types/MPSNDArray.mm:788: failed assertion `[MPSNDArray initWithDevice:descriptor:] Error: total bytes of NDArray > 2**32'
zsh: abort ./webui.sh --disable-queue
privateuser@Users-MBP automatic % /Users/privateuser/.pyenv/versions/3.10.13/lib/python3.10/multiprocessing/resource_tracker.py:224: UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown
warnings.warn('resource_tracker: There appear to be %d '
Beta Was this translation helpful? Give feedback.
All reactions