Open cyatarow opened 10 months ago
Can you try Euler a to see if it's an issue with UniPC / Linalg Solve?
Another problem. Model files cannot be loaded. (Error in onchange callback: sd_model_checkpoint CheckpointYesmix_v35 Error while deserializing header: MetadataIncompleteBuffer)
And I don't use UniPC sampler, so I don't think it's related to the mentioned issue.
$ $HOME/sdnext/main0/webui.sh --use-ipex --debug
Create and activate python venv
Launching ipexrun launch.py...
/home/a1u/sdnext/main0/venv/lib/python3.10/site-packages/torchvision/io/image.py:13: UserWarning: Failed to load image Python extension: ''If you don't plan on using image functionality from `torchvision.io`, you can ignore this warning. Otherwise, there might be something wrong with your environment. Did you have `libjpeg` or `libpng` installed before building `torchvision` from source?
warn(
/home/a1u/sdnext/main0/venv/lib/python3.10/site-packages/intel_extension_for_pytorch/launcher.py:102: UserWarning: Backend is not specified, it will automatically default to cpu.
warnings.warn(
2024-01-06 23:24:16,835 - intel_extension_for_pytorch.cpu.launch.launch - INFO - Use 'jemalloc' memory allocator.
2024-01-06 23:24:16,835 - intel_extension_for_pytorch.cpu.launch.launch - INFO - Use 'auto' => 'intel' OpenMP runtime.
2024-01-06 23:24:16,836 - intel_extension_for_pytorch.cpu.launch.launch - INFO - Use 'taskset' multi-task manager.
2024-01-06 23:24:16,836 - intel_extension_for_pytorch.cpu.launch.launch - INFO - env: Untouched preset environment variables are not displayed.
2024-01-06 23:24:16,836 - intel_extension_for_pytorch.cpu.launch.launch - INFO - env: LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libjemalloc.so:/home/a1u/sdnext/main0/venv/lib/libiomp5.so
2024-01-06 23:24:16,836 - intel_extension_for_pytorch.cpu.launch.launch - INFO - env: MALLOC_CONF=oversize_threshold:1,background_thread:true,metadata_thp:auto
2024-01-06 23:24:16,836 - intel_extension_for_pytorch.cpu.launch.launch - INFO - env: KMP_AFFINITY=granularity=fine,compact,1,0
2024-01-06 23:24:16,836 - intel_extension_for_pytorch.cpu.launch.launch - INFO - env: KMP_BLOCKTIME=1
2024-01-06 23:24:16,836 - intel_extension_for_pytorch.cpu.launch.launch - INFO - env: OMP_NUM_THREADS=4
2024-01-06 23:24:16,836 - intel_extension_for_pytorch.cpu.launch.launch - INFO - cmd: taskset -c 0,2,4,6 /home/a1u/sdnext/main0/venv/bin/python3 -u launch.py --use-ipex --debug
23:24:16-997890 INFO Starting SD.Next
23:24:17-000554 INFO Logger: file="/home/a1u/sdnext/main0/sdnext.log" level=DEBUG size=64 mode=create
23:24:17-001319 INFO Python 3.10.12 on Linux
23:24:17-037434 INFO Version: app=sd.next updated=2023-12-30 hash=ab7b78cc url=https://github.com/vladmandic/automatic/tree/master
23:24:17-467400 INFO Platform: arch=x86_64 cpu=x86_64 system=Linux release=5.15.133.1-microsoft-standard-WSL2 python=3.10.12
23:24:17-469460 DEBUG Setting environment tuning
23:24:17-472302 DEBUG Cache folder: /home/a1u/.cache/huggingface/hub
23:24:17-474267 DEBUG Torch overrides: cuda=False rocm=False ipex=True diml=False openvino=False
23:24:17-475133 DEBUG Torch allowed: cuda=False rocm=False ipex=True diml=False openvino=False
23:24:17-476023 INFO Intel OneAPI Toolkit detected
23:24:17-523102 DEBUG Repository update time: Sat Dec 30 23:07:04 2023
23:24:17-524447 INFO Startup: standard
23:24:17-525140 INFO Verifying requirements
23:24:17-535110 INFO Verifying packages
23:24:17-536356 INFO Verifying submodules
23:24:18-057489 DEBUG Submodule: extensions-builtin/sd-extension-chainner / main
23:24:18-070814 DEBUG Submodule: extensions-builtin/sd-extension-system-info / main
23:24:18-081403 DEBUG Submodule: extensions-builtin/sd-webui-agent-scheduler / main
23:24:18-097461 DEBUG Submodule: extensions-builtin/sd-webui-controlnet / main
23:24:18-118559 DEBUG Submodule: extensions-builtin/stable-diffusion-webui-images-browser / main
23:24:18-129346 DEBUG Submodule: extensions-builtin/stable-diffusion-webui-rembg / master
23:24:18-138265 DEBUG Submodule: modules/k-diffusion / master
23:24:18-149482 DEBUG Submodule: modules/lora / main
23:24:18-161395 DEBUG Submodule: wiki / master
23:24:18-167476 DEBUG Register paths
23:24:18-198182 DEBUG Installed packages: 262
23:24:18-198952 DEBUG Extensions all: ['sd-webui-agent-scheduler', 'stable-diffusion-webui-images-browser', 'sd-extension-system-info', 'Lora',
'stable-diffusion-webui-rembg', 'sd-extension-chainner', 'sd-webui-controlnet']
23:24:18-199721 DEBUG Running extension installer: /home/a1u/sdnext/main0/extensions-builtin/sd-webui-agent-scheduler/install.py
23:24:18-322128 DEBUG Running extension installer: /home/a1u/sdnext/main0/extensions-builtin/stable-diffusion-webui-images-browser/install.py
23:24:18-447397 DEBUG Running extension installer: /home/a1u/sdnext/main0/extensions-builtin/sd-extension-system-info/install.py
23:24:18-600099 DEBUG Running extension installer: /home/a1u/sdnext/main0/extensions-builtin/stable-diffusion-webui-rembg/install.py
23:24:18-749039 DEBUG Running extension installer: /home/a1u/sdnext/main0/extensions-builtin/sd-webui-controlnet/install.py
23:24:18-946674 DEBUG Extensions all: []
23:24:18-947592 INFO Extensions enabled: ['sd-webui-agent-scheduler', 'stable-diffusion-webui-images-browser', 'sd-extension-system-info', 'Lora',
'stable-diffusion-webui-rembg', 'sd-extension-chainner', 'sd-webui-controlnet']
23:24:18-948320 INFO Verifying requirements
23:24:18-957334 DEBUG Setup complete without errors: 1704551059
23:24:18-961654 INFO Extension preload: {'extensions-builtin': 0.0, 'extensions': 0.0}
23:24:18-962561 DEBUG Starting module: <module 'webui' from '/home/a1u/sdnext/main0/webui.py'>
23:24:18-963359 INFO Command line args: ['--use-ipex', '--debug'] debug=True use_ipex=True
23:24:18-964273 DEBUG Env flags: []
23:24:20-616309 DEBUG Load IPEX==2.1.10+xpu
23:24:22-311208 INFO Load packages: torch=2.1.0a0+cxx11.abi diffusers=0.25.0 gradio=3.43.2
23:24:22-840494 DEBUG Read: file="config.json" json=14 bytes=566 time=0.000
23:24:22-843204 INFO Engine: backend=Backend.ORIGINAL compute=ipex mode=no_grad device=xpu cross-optimization="Scaled-Dot-Product"
23:24:22-888829 INFO Device: device=Intel(R) Graphics [0x56a1] n=1 ipex=2.1.10+xpu
2024-01-06 23:24:23.797879: E tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:9342] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered
2024-01-06 23:24:23.797921: E tensorflow/compiler/xla/stream_executor/cuda/cuda_fft.cc:609] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered
2024-01-06 23:24:23.798593: E tensorflow/compiler/xla/stream_executor/cuda/cuda_blas.cc:1518] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
2024-01-06 23:24:25.460663: I itex/core/wrapper/itex_cpu_wrapper.cc:70] Intel Extension for Tensorflow* AVX2 CPU backend is loaded.
2024-01-06 23:24:26.222574: I itex/core/wrapper/itex_gpu_wrapper.cc:35] Intel Extension for Tensorflow* GPU backend is loaded.
2024-01-06 23:24:26.252715: I itex/core/graph/xpu_graph.cc:130] Please enable TF_ENABLE_ONEDNN_OPTS.So can benefit from the optimization of the MklCPUAllocator memory allocation.
2024-01-06 23:24:26.354748: I itex/core/devices/gpu/itex_gpu_runtime.cc:129] Selected platform: Intel(R) Level-Zero
2024-01-06 23:24:26.354798: I itex/core/devices/gpu/itex_gpu_runtime.cc:154] number of sub-devices is zero, expose root device.
23:24:26-841901 DEBUG Entering start sequence
23:24:26-851273 DEBUG Initializing
23:24:26-875132 INFO Available VAEs: path="/mnt/d/Stable_Diffusion/models/VAE" items=3
23:24:26-876077 INFO Disabled extensions: []
23:24:26-876944 ERROR Reading failed: cache.json Expecting value: line 1 column 1 (char 0)
23:24:26-877965 DEBUG Read: file="metadata.json" json=1 bytes=79 time=0.000
23:24:26-878675 INFO Available models: path="models/Stable-diffusion" items=1 time=0.00
23:24:27-085936 DEBUG Load extensions
23:24:27-139082 INFO Extension: script='scripts/faceid.py' [2;36m23:24:27-137810[0m[2;36m [0m[1;31mERROR [0m FaceID: No module named [32m'insightface'[0m
23:24:28-127006 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
23:24:28-241607 INFO Extension: script='extensions-builtin/sd-webui-controlnet/scripts/api.py' ControlNet preprocessor location:
/home/a1u/sdnext/main0/extensions-builtin/sd-webui-controlnet/annotator/downloads
23:24:28-303735 INFO Extension: script='extensions-builtin/sd-webui-controlnet/scripts/controlnet.py' Warning: ControlNet failed to load SGM - will use LDM instead.
23:24:28-309697 INFO Extension: script='extensions-builtin/sd-webui-controlnet/scripts/hook.py' Warning: ControlNet failed to load SGM - will use LDM instead.
23:24:28-444975 INFO Extensions time: 1.36 { main0=0.06 Lora=0.49 sd-webui-agent-scheduler=0.45 sd-webui-controlnet=0.19 stable-diffusion-webui-images-browser=0.13 }
23:24:28-475639 DEBUG Read: file="html/upscalers.json" json=4 bytes=2640 time=0.000
23:24:28-477118 DEBUG Read: file="extensions-builtin/sd-extension-chainner/models.json" json=24 bytes=2693 time=0.000
23:24:28-478635 DEBUG chaiNNer models: path="models/chaiNNer" defined=24 discovered=0 downloaded=0
23:24:28-480945 DEBUG Load upscalers: total=50 downloaded=0 user=0 time=0.03 ['None', 'Lanczos', 'Nearest', 'ChaiNNer', 'SCUNet', 'SwinIR', 'ESRGAN', 'SD',
'RealESRGAN', 'LDSR']
23:24:28-486881 DEBUG Load styles: folder="models/styles" items=288 time=0.00
23:24:28-489358 DEBUG Creating UI
23:24:28-490055 INFO Load UI theme: name="black-teal" style=Auto base=sdnext.css
23:24:28-497487 DEBUG Read: file="html/reference.json" json=31 bytes=16330 time=0.000
23:24:28-571735 DEBUG Extra networks: page='model' items=7 subfolders=3 tab=txt2img folders=['models/Stable-diffusion', 'models/Reference',
'/home/a1u/sdnext/main0/models/Stable-diffusion'] list=0.00 desc=0.00 info=0.00 workers=2
23:24:28-578894 DEBUG Extra networks: page='style' items=288 subfolders=2 tab=txt2img folders=['models/styles', 'html'] list=0.01 desc=0.00 info=0.00 workers=2
23:24:28-580319 DEBUG Extra networks: page='embedding' items=0 subfolders=1 tab=txt2img folders=['models/embeddings'] list=0.00 desc=0.00 info=0.00 workers=2
23:24:28-581405 DEBUG Extra networks: page='hypernetwork' items=0 subfolders=1 tab=txt2img folders=['models/hypernetworks'] list=0.00 desc=0.00 info=0.00 workers=2
23:24:28-588725 DEBUG Extra networks: page='vae' items=3 subfolders=1 tab=txt2img folders=['/mnt/d/Stable_Diffusion/models/VAE'] list=0.03 desc=0.01 info=0.01
workers=2
23:24:28-599312 DEBUG Extra networks: page='lora' items=16 subfolders=1 tab=txt2img folders=['/mnt/d/Stable_Diffusion/models/Lora', 'models/LyCORIS'] list=0.03
desc=0.01 info=0.01 workers=2
23:24:28-785405 DEBUG Read: file="ui-config.json" json=0 bytes=2 time=0.000
23:24:28-872302 DEBUG Themes: builtin=9 default=5 external=55
23:24:29-090055 DEBUG Script: 0.17 ui_tabs /home/a1u/sdnext/main0/extensions-builtin/stable-diffusion-webui-images-browser/scripts/image_browser.py
23:24:29-172437 DEBUG Extension list: processed=7 installed=7 enabled=7 disabled=0 visible=7 hidden=0
23:24:29-586741 INFO Local URL: http://127.0.0.1:7860/
23:24:29-587755 DEBUG Gradio functions: registered=2168
23:24:29-588412 INFO Initializing middleware
23:24:29-591923 DEBUG Creating API
23:24:29-705372 INFO [AgentScheduler] Task queue is empty
23:24:29-706183 INFO [AgentScheduler] Registering APIs
23:24:29-798412 DEBUG Scripts setup: ['ControlNet:0.05']
23:24:29-799848 DEBUG Save: file="metadata.json" json=17 bytes=26609 time=0.001
23:24:29-800595 INFO Model metadata saved: file="metadata.json" items=16 time=0.22
23:24:29-801186 DEBUG Model auto load disabled
23:24:29-801791 DEBUG Save: file="config.json" json=14 bytes=566 time=0.000
23:24:29-802407 INFO Startup time: 10.83 { torch=2.52 gradio=0.80 libraries=4.53 extensions=1.36 face-restore=0.21 ui-extra-networks=0.11 ui-txt2img=0.05
ui-img2img=0.06 ui-settings=0.14 ui-extensions=0.27 ui-defaults=0.21 launch=0.20 api=0.06 app-started=0.14 }
23:24:32-896176 INFO MOTD: N/A
23:24:40-745618 DEBUG Themes: builtin=9 default=5 external=55
23:24:46-292687 INFO Browser session: user=None client=127.0.0.1 agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0
23:24:56-054976 INFO Select: model="y16o-f16"
23:24:56-056314 DEBUG Load model weights: existing=False target=/home/a1u/sdnext/main0/models/Stable-diffusion/y16o-f16.safetensors info=None
Loading model: /home/a1u/sdnext/main0/models/Stable-diffusion/y16o-f16.safetensors ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0/2.1 GB -:--:--
23:24:56-230715 DEBUG Load model: name=/home/a1u/sdnext/main0/models/Stable-diffusion/y16o-f16.safetensors dict=True
23:24:56-286188 DEBUG Desired Torch parameters: dtype=BF16 no-half=False no-half-vae=False upscast=False
23:24:56-287286 INFO Setting Torch parameters: device=xpu dtype=torch.bfloat16 vae=torch.bfloat16 unet=torch.bfloat16 context=no_grad fp16=False bf16=True
23:24:56-288393 DEBUG Model dict loaded: {'ram': {'used': 2.1, 'total': 15.62}, 'gpu': {'used': 0.0, 'total': 7.91}, 'retries': 0, 'oom': 0}
23:24:56-299568 DEBUG Model config loaded: {'ram': {'used': 2.1, 'total': 15.62}, 'gpu': {'used': 0.0, 'total': 7.91}, 'retries': 0, 'oom': 0}
23:25:00-500732 ERROR Error in onchange callback: sd_model_checkpoint y16o-f16 Error while deserializing header: MetadataIncompleteBuffer
23:25:14-055641 INFO Available models: path="models/Stable-diffusion" items=1 time=0.00
23:25:15-447376 INFO Select: model="y16o-f16"
23:25:15-448925 DEBUG Load model weights: existing=False target=/home/a1u/sdnext/main0/models/Stable-diffusion/y16o-f16.safetensors info=None
Loading model: /home/a1u/sdnext/main0/models/Stable-diffusion/y16o-f16.safetensors ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0/2.1 GB -:--:--
23:25:15-464591 DEBUG Load model: name=/home/a1u/sdnext/main0/models/Stable-diffusion/y16o-f16.safetensors dict=True
23:25:15-471183 DEBUG Desired Torch parameters: dtype=BF16 no-half=False no-half-vae=False upscast=False
23:25:15-472525 INFO Setting Torch parameters: device=xpu dtype=torch.bfloat16 vae=torch.bfloat16 unet=torch.bfloat16 context=no_grad fp16=False bf16=True
23:25:15-474094 DEBUG Model dict loaded: {'ram': {'used': 2.12, 'total': 15.62}, 'gpu': {'used': 0.0, 'total': 7.91}, 'retries': 0, 'oom': 0}
23:25:15-487205 DEBUG Model config loaded: {'ram': {'used': 2.12, 'total': 15.62}, 'gpu': {'used': 0.0, 'total': 7.91}, 'retries': 0, 'oom': 0}
23:25:19-752921 ERROR Error in onchange callback: sd_model_checkpoint y16o-f16 Error while deserializing header: MetadataIncompleteBuffer
23:25:59-930145 DEBUG Server: alive=True jobs=0 requests=182 uptime=97 memory=2.09/15.62 backend=Backend.ORIGINAL state=idle
23:26:18-959756 INFO Available models: path="models/Stable-diffusion" items=1 time=0.00
23:26:20-091062 INFO Select: model="CheckpointYesmix_v35"
23:26:20-092598 DEBUG Load model weights: existing=False target=/home/a1u/sdnext/main0/models/Stable-diffusion/CheckpointYesmix_v35.safetensors info=None
Loading model: /home/a1u/sdnext/main0/models/Stable-diffusion/CheckpointYesmix_v35.safetensors ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0/2.1 GB -:--:--
23:26:20-108564 DEBUG Load model: name=/home/a1u/sdnext/main0/models/Stable-diffusion/CheckpointYesmix_v35.safetensors dict=True
23:26:20-111059 DEBUG Desired Torch parameters: dtype=BF16 no-half=False no-half-vae=False upscast=False
23:26:20-112242 INFO Setting Torch parameters: device=xpu dtype=torch.bfloat16 vae=torch.bfloat16 unet=torch.bfloat16 context=no_grad fp16=False bf16=True
23:26:20-113997 DEBUG Model dict loaded: {'ram': {'used': 2.11, 'total': 15.62}, 'gpu': {'used': 0.0, 'total': 7.91}, 'retries': 0, 'oom': 0}
23:26:20-123342 DEBUG Model config loaded: {'ram': {'used': 2.11, 'total': 15.62}, 'gpu': {'used': 0.0, 'total': 7.91}, 'retries': 0, 'oom': 0}
23:26:24-258697 ERROR Error in onchange callback: sd_model_checkpoint CheckpointYesmix_v35 Error while deserializing header: MetadataIncompleteBuffer
23:28:00-068388 DEBUG Server: alive=True jobs=0 requests=206 uptime=217 memory=2.09/15.62 backend=Backend.ORIGINAL state=idle
Can't reproduce any of this in either native install or my docker image.
"MetadataIncompleteBuffer" means corrupted model. Run sha256sum on the model file and check if it matches with the sha256 hash on CivitAI. If it doesn't, you have a hardware issue. (Most likely RAM or storage is bad.)
However, my native Windows installation can generate images and load models successfully. Has my WSL environment broken? I tried turning off and on the WSL feature, but it didn't help.
Using VENV: C:\Users\a1\Desktop\SD-NEXT-sc\win-native\wn0\venv
01:17:35-706743 INFO Starting SD.Next
01:17:35-709511 INFO Logger: file="C:\Users\a1\Desktop\SD-NEXT-sc\win-native\wn0\sdnext.log" level=DEBUG size=65 mode=create
01:17:35-710524 INFO Python 3.10.11 on Windows
01:17:35-901534 INFO Version: app=sd.next updated=2023-12-30 hash=ab7b78cc url=https://github.com/vladmandic/automatic//tree/master
01:17:36-485873 INFO Platform: arch=AMD64 cpu=Intel64 Family 6 Model 151 Stepping 5, GenuineIntel system=Windows release=Windows-10-10.0.22631-SP0 python=3.10.11
01:17:36-487827 DEBUG Setting environment tuning
01:17:36-488826 DEBUG Cache folder: C:\Users\a1\.cache\huggingface\hub
01:17:36-490004 DEBUG Torch overrides: cuda=False rocm=False ipex=True diml=False openvino=False
01:17:36-491010 DEBUG Torch allowed: cuda=False rocm=False ipex=True diml=False openvino=False
01:17:36-492010 INFO Intel OneAPI Toolkit detected
01:17:36-658532 DEBUG Repository update time: Sat Dec 30 23:07:04 2023
01:17:36-660302 INFO Startup: standard
01:17:36-661311 INFO Verifying requirements
01:17:36-676310 INFO Verifying packages
01:17:36-678311 INFO Verifying submodules
01:17:39-794038 DEBUG Submodule: extensions-builtin/sd-extension-chainner / main
01:17:39-901220 DEBUG Submodule: extensions-builtin/sd-extension-system-info / main
01:17:39-999327 DEBUG Submodule: extensions-builtin/sd-webui-agent-scheduler / main
01:17:40-101846 DEBUG Submodule: extensions-builtin/sd-webui-controlnet / main
01:17:40-220880 DEBUG Submodule: extensions-builtin/stable-diffusion-webui-images-browser / main
01:17:40-321441 DEBUG Submodule: extensions-builtin/stable-diffusion-webui-rembg / master
01:17:40-426819 DEBUG Submodule: modules/k-diffusion / master
01:17:40-528372 DEBUG Submodule: modules/lora / main
01:17:40-634510 DEBUG Submodule: wiki / master
01:17:40-695047 DEBUG Register paths
01:17:40-811840 DEBUG Installed packages: 239
01:17:40-813842 DEBUG Extensions all: ['Lora', 'sd-extension-system-info', 'stable-diffusion-webui-rembg']
01:17:40-928710 DEBUG Running extension installer: C:\Users\a1\Desktop\SD-NEXT-sc\win-native\wn0\extensions-builtin\sd-extension-system-info\install.py
01:17:41-330546 DEBUG Running extension installer: C:\Users\a1\Desktop\SD-NEXT-sc\win-native\wn0\extensions-builtin\stable-diffusion-webui-rembg\install.py
01:17:41-737781 DEBUG Extensions all: ['a1111-sd-webui-tagcomplete', 'multidiffusion-upscaler-for-automatic1111', 'ultimate-upscale-for-automatic1111']
01:17:42-045103 INFO Extensions enabled: ['Lora', 'sd-extension-system-info', 'stable-diffusion-webui-rembg', 'a1111-sd-webui-tagcomplete',
'multidiffusion-upscaler-for-automatic1111', 'ultimate-upscale-for-automatic1111']
01:17:42-047228 INFO Verifying requirements
01:17:42-058229 DEBUG Setup complete without errors: 1704557862
01:17:42-074369 INFO Extension preload: {'extensions-builtin': 0.01, 'extensions': 0.0}
01:17:42-076411 DEBUG Starting module: <module 'webui' from 'C:\\Users\\a1\\Desktop\\SD-NEXT-sc\\win-native\\wn0\\webui.py'>
01:17:42-077415 INFO Command line args: ['--use-ipex', '--debug'] debug=True use_ipex=True
01:17:42-078373 DEBUG Env flags: []
01:17:48-249634 DEBUG Load IPEX==2.1.10+xpu
01:17:51-985079 INFO Load packages: torch=2.1.0a0+cxx11.abi diffusers=0.25.0 gradio=3.43.2
01:17:53-128198 DEBUG Read: file="config.json" json=54 bytes=2774 time=0.000
01:17:53-131190 DEBUG Unknown settings: ['chainner_models_path', 'tac_maxResults']
01:17:53-132190 INFO Engine: backend=Backend.ORIGINAL compute=ipex mode=no_grad device=xpu cross-optimization="Scaled-Dot-Product"
01:17:53-134191 INFO Device: device=Intel(R) Arc(TM) A750 Graphics n=1 ipex=2.1.10+xpu
01:18:00-660239 DEBUG Entering start sequence
01:18:00-663240 DEBUG Initializing
01:18:00-666256 INFO Available VAEs: path="D:\Stable_Diffusion\models\VAE" items=3
01:18:00-668239 INFO Disabled extensions: ['sd-extension-chainner', 'sd-webui-agent-scheduler', 'sd-webui-controlnet', 'stable-diffusion-webui-images-browser']
01:18:00-674239 DEBUG Read: file="cache.json" json=2 bytes=362 time=0.004
01:18:00-683238 DEBUG Read: file="metadata.json" json=19 bytes=27694 time=0.007
01:18:00-685238 INFO Available models: path="D:\Stable_Diffusion\models\Stable-diffusion" items=3 time=0.01
01:18:01-390631 DEBUG Load extensions
01:18:01-541204 INFO Extension: script='scripts\faceid.py' [2;36m01:18:01-538204[0m[2;36m [0m[1;31mERROR [0m FaceID: No module named [32m'insightface'[0m
01:18:03-689895 INFO Extension: script='extensions\a1111-sd-webui-tagcomplete\scripts\tag_autocomplete_helper.py' Tag Autocomplete: Could not locate model-keyword
extension, Lora trigger word completion will be limited to those added through the extra networks menu.
01:18:03-795007 INFO Extensions time: 2.40 { wn0=0.17 Lora=0.66 stable-diffusion-webui-rembg=1.41 multidiffusion-upscaler-for-automatic1111=0.10 }
01:18:03-848040 DEBUG Read: file="html/upscalers.json" json=4 bytes=2672 time=0.001
01:18:03-852640 DEBUG Load upscalers: total=26 downloaded=2 user=0 time=0.06 ['None', 'Lanczos', 'Nearest', 'ESRGAN', 'LDSR', 'RealESRGAN', 'SCUNet', 'SD', 'SwinIR']
01:18:04-341338 DEBUG Load styles: folder="D:\Stable_Diffusion\models\styles" items=288 time=0.49
01:18:04-346487 DEBUG Creating UI
01:18:04-348487 INFO Load UI theme: name="black-teal" style=Auto base=sdnext.css
01:18:04-371168 DEBUG Read: file="html\reference.json" json=31 bytes=16496 time=0.005
01:18:04-399087 DEBUG Extra networks: page='model' items=9 subfolders=3 tab=txt2img folders=['D:\\Stable_Diffusion\\models\\Stable-diffusion', 'models\\Reference',
'C:\\Users\\a1\\Desktop\\SD-NEXT-sc\\win-native\\wn0\\models\\Stable-diffusion'] list=0.01 desc=0.00 info=0.00 workers=2
01:18:04-413091 DEBUG Extra networks: page='style' items=288 subfolders=2 tab=txt2img folders=['D:\\Stable_Diffusion\\models\\styles', 'html'] list=0.02 desc=0.00
info=0.00 workers=2
01:18:04-415351 DEBUG Extra networks: page='embedding' items=6 subfolders=1 tab=txt2img folders=['D:\\Stable_Diffusion\\models\\embeddings'] list=0.00 desc=0.00
info=0.00 workers=2
01:18:04-416756 DEBUG Extra networks: page='hypernetwork' items=0 subfolders=1 tab=txt2img folders=['D:\\Stable_Diffusion\\models\\hypernetworks'] list=0.00 desc=0.00
info=0.00 workers=2
01:18:04-418756 DEBUG Extra networks: page='vae' items=3 subfolders=1 tab=txt2img folders=['D:\\Stable_Diffusion\\models\\VAE'] list=0.00 desc=0.00 info=0.00 workers=2
01:18:04-420769 DEBUG Extra networks: page='lora' items=16 subfolders=1 tab=txt2img folders=['D:\\Stable_Diffusion\\models\\Lora', 'models\\LyCORIS'] list=0.00
desc=0.00 info=0.00 workers=2
01:18:04-816890 DEBUG Read: file="ui-config.json" json=0 bytes=2 time=0.001
01:18:05-163563 DEBUG Themes: builtin=9 default=5 external=55
01:18:05-240395 DEBUG Read: file="C:\Users\a1\Desktop\SD-NEXT-sc\win-native\wn0\html\extensions.json" json=335 bytes=196465 time=0.009
01:18:06-331032 DEBUG Extension list: processed=319 installed=10 enabled=6 disabled=4 visible=319 hidden=0
01:18:06-607015 INFO Local URL: http://127.0.0.1:7860/
01:18:06-608014 DEBUG Gradio functions: registered=1189
01:18:06-609015 INFO Initializing middleware
01:18:06-614312 DEBUG Creating API
01:18:06-709338 DEBUG Scripts setup: ['Tiled Diffusion:0.025']
01:18:06-710333 DEBUG Model metadata: file="metadata.json" no changes
01:18:06-711339 DEBUG Model auto load disabled
01:18:06-714338 DEBUG Save: file="config.json" json=54 bytes=2700 time=0.000
01:18:06-715338 DEBUG Unused settings: ['chainner_models_path']
01:18:06-716337 INFO Startup time: 24.63 { torch=8.04 gradio=1.77 diffusers=0.09 libraries=8.68 extensions=2.40 face-restore=0.70 upscalers=0.06 extra-networks=0.49
ui-extra-networks=0.07 ui-img2img=0.06 ui-extras=0.21 ui-settings=0.42 ui-extensions=1.12 launch=0.22 api=0.06 }
01:18:08-478780 INFO MOTD: N/A
01:18:09-903984 DEBUG Themes: builtin=9 default=5 external=55
01:18:10-715499 INFO Browser session: user=None client=127.0.0.1 agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0
01:18:59-101099 DEBUG Unused settings: ['chainner_models_path']
01:19:14-121989 DEBUG Model requested: fn=txt2img
01:19:14-123991 INFO Select: model="y16o-f16 [fa0f244bfc]"
01:19:14-125992 DEBUG Load model weights: existing=False target=D:\Stable_Diffusion\models\Stable-diffusion\y16o-f16.safetensors info=None
Loading model: D:\Stable_Diffusion\models\Stable-diffusion\y16o-f16.safetensors ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0/2.1 GB -:--:--
01:19:14-167918 DEBUG Load model: name=D:\Stable_Diffusion\models\Stable-diffusion\y16o-f16.safetensors dict=True
01:19:14-317779 DEBUG Desired Torch parameters: dtype=BF16 no-half=False no-half-vae=False upscast=False
01:19:14-318776 INFO Setting Torch parameters: device=xpu dtype=torch.bfloat16 vae=torch.bfloat16 unet=torch.bfloat16 context=no_grad fp16=False bf16=True
01:19:14-320778 DEBUG Model dict loaded: {'ram': {'used': 0.97, 'total': 47.69}, 'gpu': {'used': 0.0, 'total': 7.75}, 'retries': 0, 'oom': 0}
01:19:14-338782 DEBUG Model config loaded: {'ram': {'used': 0.97, 'total': 47.69}, 'gpu': {'used': 0.0, 'total': 7.75}, 'retries': 0, 'oom': 0}
01:19:23-357586 INFO LDM: LatentDiffusion: mode=eps
01:19:23-358941 INFO LDM: DiffusionWrapper params=859.52M
01:19:23-359942 DEBUG Model created from config: C:\Users\a1\Desktop\SD-NEXT-sc\win-native\wn0\configs\v1-inference.yaml
01:19:23-360942 INFO Autodetect: model="Stable Diffusion" class=StableDiffusionPipeline file="D:\Stable_Diffusion\models\Stable-diffusion\y16o-f16.safetensors"
size=2034MB
01:19:23-362942 DEBUG Model weights loading: {'ram': {'used': 4.97, 'total': 47.69}, 'gpu': {'used': 0.0, 'total': 7.75}, 'retries': 0, 'oom': 0}
01:19:26-577297 DEBUG Model weights loaded: {'ram': {'used': 5.58, 'total': 47.69}, 'gpu': {'used': 0.0, 'total': 7.75}, 'retries': 0, 'oom': 0}
01:19:27-031966 DEBUG Model weights moved: {'ram': {'used': 5.25, 'total': 47.69}, 'gpu': {'used': 2.03, 'total': 7.75}, 'retries': 0, 'oom': 0}
01:19:27-391966 INFO Applied IPEX Optimize.
01:19:27-393008 INFO Cross-attention: optimization=Scaled-Dot-Product options=[]
01:19:27-736671 INFO Load embeddings: loaded=6 skipped=0 time=0.34
01:19:27-740680 INFO Model loaded in 13.61 { config=0.17 create=9.02 apply=0.42 channels=0.62 vae=2.17 move=0.45 hijack=0.37 embeddings=0.34 }
01:19:27-926453 DEBUG gc: collected=5347 device=xpu {'ram': {'used': 4.09, 'total': 47.69}, 'gpu': {'used': 2.03, 'total': 7.75}, 'retries': 0, 'oom': 0}
01:19:27-928450 INFO Model load finished: {'ram': {'used': 4.09, 'total': 47.69}, 'gpu': {'used': 2.03, 'total': 7.75}, 'retries': 0, 'oom': 0} cached=0
01:19:28-084513 INFO Applying hypertile: unet=256
01:19:28-796862 DEBUG Sampler: sampler="DPM++ 2M" config={'scheduler': 'polyexponential', 'brownian_noise': False}
25%|█████████████████████████████████▎ | 5/20 [00:03<00:05, 2.59it/s]01:19:32-730676 DEBUG Load VAE decode approximate: model="models\VAE-approx\model.pt"
100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 20/20 [00:05<00:00, 3.66it/s]
01:19:37-058399 DEBUG Saving: image="outputs\text\00004-20240107011914.webp" type=WEBP resolution=512x512 size=0
01:19:37-091905 INFO Processed: images=1 time=8.99 its=2.23 memory={'ram': {'used': 1.73, 'total': 47.69}, 'gpu': {'used': 2.47, 'total': 7.75}, 'retries': 0, 'oom':
0}
01:19:53-907240 INFO Applying hypertile: unet=256
01:19:53-961243 DEBUG Sampler: sampler="DPM++ 2M" config={'scheduler': 'polyexponential', 'brownian_noise': False}
100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 20/20 [00:02<00:00, 8.27it/s]
01:19:56-504368 DEBUG Saving: image="outputs\text\00005-20240107011953.webp" type=WEBP resolution=512x512 size=0
01:19:56-538368 INFO Processed: images=1 time=2.63 its=7.61 memory={'ram': {'used': 1.72, 'total': 47.69}, 'gpu': {'used': 2.47, 'total': 7.75}, 'retries': 0, 'oom':
0}
01:19:59-553909 DEBUG Server: alive=True jobs=1 requests=156 uptime=127 memory=1.72/47.69 backend=Backend.ORIGINAL state=job="txt2img" 0/-1
I found out the cause. The commands to run before cloning this repo are wrong.
sudo apt update && sudo apt install -y ca-certificates wget gpg
wget -qO - https://repositories.intel.com/gpu/intel-graphics.key | sudo gpg --dearmor --output /usr/share/keyrings/intel-graphics.gpg echo "deb [arch=amd64,i386 signed-by=/usr/share/keyrings/intel-graphics.gpg] https://repositories.intel.com/gpu/ubuntu jammy client" | sudo tee /etc/apt/sources.list.d/intel-gpu-jammy.list sudo apt update
echo "deb [arch=amd64,i386 signed-by=/usr/share/keyrings/intel-graphics.gpg] https://repositories.intel.com/gpu/ubuntu jammy client" | sudo tee /etc/apt/sources.list.d/intel-gpu-jammy.list
sudo apt update && sudo apt upgrade -y
sudo apt-get install intel-opencl-icd intel-level-zero-gpu level-zero git python3-pip python3-venv libgl1 libglib2.0-0 libgomp1 libjemalloc-dev
But the older ones saved me:
sudo apt-get install -y gpg-agent wget
wget -qO - https://repositories.intel.com/graphics/intel-graphics.key | sudo gpg --dearmor --output /usr/share/keyrings/intel-graphics.gpg
echo 'deb [arch=amd64,i386 signed-by=/usr/share/keyrings/intel-graphics.gpg] https://repositories.intel.com/graphics/ubuntu jammy arc' | sudo tee /etc/apt/sources.list.d/intel.gpu.jammy.list
wget -O- https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB | gpg --dearmor | sudo tee /usr/share/keyrings/oneapi-archive-keyring.gpg > /dev/null
echo "deb [signed-by=/usr/share/keyrings/oneapi-archive-keyring.gpg] https://apt.repos.intel.com/oneapi all main" | sudo tee /etc/apt/sources.list.d/oneAPI.list
sudo apt update && sudo apt upgrade -y
sudo apt-get install intel-opencl-icd intel-level-zero-gpu level-zero intel-media-va-driver-non-free libmfx1 libgl-dev intel-oneapi-compiler-dpcpp-cpp intel-oneapi-mkl python3-pip python3-venv git unzip libjemalloc-dev
After running them, I haven't encountered the issues.
@Disty0 The latest guide still has the wrong commands, so could you fix it?
If you can pinpoint which packages are missing, i can. You've installed 20GB~ packages that will never be used.
If you can pinpoint which packages are missing
Sorry...no, I can't. Unfortunately, I have no idea.
By the way, I tried the newest guide again, and I saw SD.next crashed but WSL didn't.
aaa2@machine-RE2:~/sdn11$ DISABLE_IPEXRUN=1 ./webui.sh --use-ipex --debug
Create and activate python venv
Launching launch.py...
00:53:37-392030 INFO Starting SD.Next
00:53:37-394323 INFO Logger: file="/home/aaa2/sdn11/sdnext.log" level=DEBUG size=64 mode=create
00:53:37-395144 INFO Python 3.10.12 on Linux
00:53:37-401861 INFO Version: app=sd.next updated=2024-03-07 hash=bc4b633e url=https://github.com/vladmandic/automatic/tree/master
00:53:37-405153 INFO Platform: arch=x86_64 cpu=x86_64 system=Linux release=5.15.146.1-microsoft-standard-WSL2 python=3.10.12
00:53:37-405994 DEBUG Setting environment tuning
00:53:37-406626 DEBUG HF cache folder: /home/aaa2/.cache/huggingface/hub
00:53:37-407196 DEBUG Torch overrides: cuda=False rocm=False ipex=True diml=False openvino=False
00:53:37-407833 DEBUG Torch allowed: cuda=False rocm=False ipex=True diml=False openvino=False
00:53:37-408482 INFO Intel OneAPI Toolkit detected
00:53:37-408988 DEBUG Package not found: mkl
00:53:37-409469 INFO Installing package: mkl==2024.0.0
00:53:37-409982 DEBUG Running pip: install --upgrade mkl==2024.0.0
00:53:54-077395 DEBUG Package not found: mkl-dpcpp
00:53:54-078114 INFO Installing package: mkl-dpcpp==2024.0.0
00:53:54-079137 DEBUG Running pip: install --upgrade mkl-dpcpp==2024.0.0
00:54:30-236263 DEBUG Package not found: openvino
00:54:30-237170 INFO Installing package: openvino==2023.3.0
00:54:30-238261 DEBUG Running pip: install --upgrade openvino==2023.3.0
00:54:36-309609 DEBUG Package not found: nncf
00:54:36-310437 INFO Installing package: nncf==2.7.0
00:54:36-311303 DEBUG Running pip: install --upgrade nncf==2.7.0
00:54:56-164785 DEBUG Package not found: onnxruntime-openvino
00:54:56-165535 INFO Installing package: onnxruntime-openvino
00:54:56-166501 DEBUG Running pip: install --upgrade onnxruntime-openvino
00:55:04-383214 DEBUG Installing torch: torch==2.1.0a0 torchvision==0.16.0a0 intel-extension-for-pytorch==2.1.10+xpu --extra-index-url
https://pytorch-extension.intel.com/release-whl/stable/xpu/us/
00:55:04-384202 DEBUG Package not found: torch
00:55:04-385060 DEBUG Package not found: torchvision
00:55:04-386376 INFO Installing package: torch==2.1.0a0 torchvision==0.16.0a0 intel-extension-for-pytorch==2.1.10+xpu --extra-index-url
https://pytorch-extension.intel.com/release-whl/stable/xpu/us/
00:55:04-387298 DEBUG Running pip: install --upgrade torch==2.1.0a0 torchvision==0.16.0a0 intel-extension-for-pytorch==2.1.10+xpu
--extra-index-url https://pytorch-extension.intel.com/release-whl/stable/xpu/us/
00:58:03-232512 DEBUG Package not found: onnxruntime
00:58:03-233506 INFO Installing package: onnxruntime
00:58:03-234107 DEBUG Running pip: install --upgrade onnxruntime
00:58:04-932490 DEBUG Repository update time: Thu Mar 7 11:13:20 2024
00:58:04-933460 INFO Startup: standard
00:58:04-934119 INFO Verifying requirements
00:58:04-935784 DEBUG Package not found: patch-ng
00:58:04-936558 INFO Installing package: patch-ng
00:58:04-937088 DEBUG Running pip: install --upgrade patch-ng
00:58:06-089252 DEBUG Package not found: anyio
00:58:06-089970 INFO Installing package: anyio
00:58:06-090975 DEBUG Running pip: install --upgrade anyio
00:58:06-965377 DEBUG Package not found: addict
00:58:06-966071 INFO Installing package: addict
00:58:06-967340 DEBUG Running pip: install --upgrade addict
00:58:07-841454 DEBUG Package not found: astunparse
00:58:07-842346 INFO Installing package: astunparse
00:58:07-843610 DEBUG Running pip: install --upgrade astunparse
00:58:08-654413 DEBUG Package not found: blendmodes
00:58:08-655150 INFO Installing package: blendmodes
00:58:08-656335 DEBUG Running pip: install --upgrade blendmodes
00:58:09-561585 DEBUG Package not found: clean-fid
00:58:09-562330 INFO Installing package: clean-fid
00:58:09-563584 DEBUG Running pip: install --upgrade clean-fid
00:58:10-343966 DEBUG Package not found: filetype
00:58:10-345043 INFO Installing package: filetype
00:58:10-346347 DEBUG Running pip: install --upgrade filetype
00:58:11-174191 DEBUG Package not found: GitPython
00:58:11-174936 INFO Installing package: GitPython
00:58:11-175862 DEBUG Running pip: install --upgrade GitPython
00:58:12-108646 DEBUG Package not found: httpcore
00:58:12-109503 INFO Installing package: httpcore
00:58:12-110600 DEBUG Running pip: install --upgrade httpcore
00:58:13-141726 DEBUG Package not found: inflection
00:58:13-142798 INFO Installing package: inflection
00:58:13-143816 DEBUG Running pip: install --upgrade inflection
00:58:13-894041 DEBUG Package not found: jsonmerge
00:58:13-894829 INFO Installing package: jsonmerge
00:58:13-896075 DEBUG Running pip: install --upgrade jsonmerge
00:58:14-636178 DEBUG Package not found: kornia
00:58:14-636871 INFO Installing package: kornia
00:58:14-637957 DEBUG Running pip: install --upgrade kornia
00:58:15-809093 DEBUG Package not found: lark
00:58:15-809834 INFO Installing package: lark
00:58:15-810658 DEBUG Running pip: install --upgrade lark
00:58:16-668380 DEBUG Package not found: lpips
00:58:16-669099 INFO Installing package: lpips
00:58:16-670155 DEBUG Running pip: install --upgrade lpips
00:58:17-613457 DEBUG Package not found: omegaconf
00:58:17-614725 INFO Installing package: omegaconf
00:58:17-615799 DEBUG Running pip: install --upgrade omegaconf
00:58:19-009219 DEBUG Package not found: open-clip-torch
00:58:19-010034 INFO Installing package: open-clip-torch
00:58:19-011150 DEBUG Running pip: install --upgrade open-clip-torch
00:58:21-840426 DEBUG Package not found: optimum
00:58:21-841294 INFO Installing package: optimum
00:58:21-842697 DEBUG Running pip: install --upgrade optimum
00:58:33-696268 DEBUG Package not found: piexif
00:58:33-696992 INFO Installing package: piexif
00:58:33-697912 DEBUG Running pip: install --upgrade piexif
00:58:34-900620 DEBUG Package not found: resize-right
00:58:34-901327 INFO Installing package: resize-right
00:58:34-902573 DEBUG Running pip: install --upgrade resize-right
00:58:36-089018 DEBUG Package not found: tensordict
00:58:36-089915 INFO Installing package: tensordict==0.1.2
00:58:36-091319 DEBUG Running pip: install --upgrade tensordict==0.1.2
00:58:37-543256 DEBUG Package not found: toml
00:58:37-543984 INFO Installing package: toml
00:58:37-545031 DEBUG Running pip: install --upgrade toml
00:58:38-711248 DEBUG Package not found: torchdiffeq
00:58:38-712048 INFO Installing package: torchdiffeq
00:58:38-713006 DEBUG Running pip: install --upgrade torchdiffeq
00:58:39-900361 DEBUG Package not found: voluptuous
00:58:39-901099 INFO Installing package: voluptuous
00:58:39-901776 DEBUG Running pip: install --upgrade voluptuous
00:58:41-161324 DEBUG Package not found: yapf
00:58:41-163499 INFO Installing package: yapf
00:58:41-165056 DEBUG Running pip: install --upgrade yapf
00:58:42-873101 DEBUG Package not found: scikit-image
00:58:42-873984 INFO Installing package: scikit-image
00:58:42-875060 DEBUG Running pip: install --upgrade scikit-image
00:58:46-214483 DEBUG Package not found: fasteners
00:58:46-215240 INFO Installing package: fasteners
00:58:46-216392 DEBUG Running pip: install --upgrade fasteners
00:58:47-476966 DEBUG Package not found: dctorch
00:58:47-477942 INFO Installing package: dctorch
00:58:47-478928 DEBUG Running pip: install --upgrade dctorch
00:58:48-920407 DEBUG Package not found: pymatting
00:58:48-921164 INFO Installing package: pymatting
00:58:48-921854 DEBUG Running pip: install --upgrade pymatting
00:58:55-125797 DEBUG Package not found: peft
00:58:55-126594 INFO Installing package: peft
00:58:55-127456 DEBUG Running pip: install --upgrade peft
00:58:56-885122 DEBUG Package not found: orjson
00:58:56-885818 INFO Installing package: orjson
00:58:56-886417 DEBUG Running pip: install --upgrade orjson
00:58:58-439589 DEBUG Package not found: httpx
00:58:58-440362 INFO Installing package: httpx==0.24.1
00:58:58-441478 DEBUG Running pip: install --upgrade httpx==0.24.1
00:58:59-848294 DEBUG Package not found: compel
00:58:59-849161 INFO Installing package: compel==2.0.2
00:58:59-850418 DEBUG Running pip: install --upgrade compel==2.0.2
00:59:02-656222 DEBUG Package not found: torchsde
00:59:02-656973 INFO Installing package: torchsde==0.2.6
00:59:02-658087 DEBUG Running pip: install --upgrade torchsde==0.2.6
00:59:04-258888 DEBUG Package not found: clip-interrogator
00:59:04-259679 INFO Installing package: clip-interrogator==0.6.0
00:59:04-260528 DEBUG Running pip: install --upgrade clip-interrogator==0.6.0
00:59:05-764167 WARNING Package version mismatch: tqdm 4.66.2 required 4.66.1
00:59:05-764993 INFO Installing package: tqdm==4.66.1
00:59:05-765959 DEBUG Running pip: install --upgrade tqdm==4.66.1
00:59:07-196754 DEBUG Package not found: opencv-contrib-python-headless
00:59:07-197481 INFO Installing package: opencv-contrib-python-headless==4.9.0.80
00:59:07-198490 DEBUG Running pip: install --upgrade opencv-contrib-python-headless==4.9.0.80
00:59:14-098335 DEBUG Package not found: einops
00:59:14-099044 INFO Installing package: einops==0.4.1
00:59:14-099920 DEBUG Running pip: install --upgrade einops==0.4.1
00:59:15-524152 DEBUG Package not found: gradio
00:59:15-524884 INFO Installing package: gradio==3.43.2
00:59:15-525700 DEBUG Running pip: install --upgrade gradio==3.43.2
00:59:21-614533 WARNING Package version mismatch: huggingface_hub 0.21.4 required 0.20.3
00:59:21-615365 INFO Installing package: huggingface_hub==0.20.3
00:59:21-616034 DEBUG Running pip: install --upgrade huggingface_hub==0.20.3
00:59:23-261964 DEBUG Package not found: numexpr
00:59:23-262690 INFO Installing package: numexpr==2.8.8
00:59:23-263476 DEBUG Running pip: install --upgrade numexpr==2.8.8
00:59:24-924128 WARNING Package version mismatch: protobuf 4.25.3 required 3.20.3
00:59:24-925081 INFO Installing package: protobuf==3.20.3
00:59:24-926327 DEBUG Running pip: install --upgrade protobuf==3.20.3
00:59:26-676045 DEBUG Package not found: pytorch_lightning
00:59:26-676787 INFO Installing package: pytorch_lightning==1.9.4
00:59:26-677806 DEBUG Running pip: install --upgrade pytorch_lightning==1.9.4
00:59:29-007716 WARNING Package version mismatch: transformers 4.38.2 required 4.38.1
00:59:29-008633 INFO Installing package: transformers==4.38.1
00:59:29-009454 DEBUG Running pip: install --upgrade transformers==4.38.1
00:59:34-622987 DEBUG Package not found: tomesd
00:59:34-623710 INFO Installing package: tomesd==0.1.3
00:59:34-624792 DEBUG Running pip: install --upgrade tomesd==0.1.3
00:59:36-096748 WARNING Package version mismatch: urllib3 2.2.1 required 1.26.18
00:59:36-097574 INFO Installing package: urllib3==1.26.18
00:59:36-098503 DEBUG Running pip: install --upgrade urllib3==1.26.18
00:59:37-692492 WARNING Package version mismatch: timm 0.9.16 required 0.9.12
00:59:37-693279 INFO Installing package: timm==0.9.12
00:59:37-694480 DEBUG Running pip: install --upgrade timm==0.9.12
00:59:39-720644 WARNING Package version mismatch: pydantic 2.6.4 required 1.10.13
00:59:39-721420 INFO Installing package: pydantic==1.10.13
00:59:39-722505 DEBUG Running pip: install --upgrade pydantic==1.10.13
00:59:42-738193 WARNING Package version mismatch: typing-extensions 4.10.0 required 4.9.0
00:59:42-739018 INFO Installing package: typing-extensions==4.9.0
00:59:42-740034 DEBUG Running pip: install --upgrade typing-extensions==4.9.0
00:59:44-369984 INFO Verifying packages
00:59:44-370718 DEBUG Package not found: clip
00:59:44-371761 INFO Installing package: git+https://github.com/openai/CLIP.git
00:59:44-372383 DEBUG Running pip: install --upgrade git+https://github.com/openai/CLIP.git
00:59:47-718526 DEBUG Package not found: invisible-watermark
00:59:47-719302 INFO Installing package: git+https://github.com/patrickvonplaten/invisible-watermark.git@remove_onnxruntime_depedency
00:59:47-720294 DEBUG Running pip: install --upgrade
git+https://github.com/patrickvonplaten/invisible-watermark.git@remove_onnxruntime_depedency
00:59:56-301270 DEBUG Package not found: pi_heif
00:59:56-302086 INFO Installing package: pi-heif
00:59:56-303283 DEBUG Running pip: install --upgrade pi-heif
00:59:58-138660 DEBUG Package not found: tensorflow
00:59:58-139450 INFO Installing package: tensorflow==2.14.0 intel-extension-for-tensorflow[xpu]==2.14.0.1
00:59:58-140463 DEBUG Running pip: install --upgrade tensorflow==2.14.0 intel-extension-for-tensorflow[xpu]==2.14.0.1
01:01:41-739547 INFO Verifying submodules
01:02:00-751675 DEBUG Submodule: extensions-builtin/sd-extension-chainner / main
01:02:00-760606 DEBUG Submodule: extensions-builtin/sd-extension-system-info / main
01:02:00-766329 DEBUG Submodule: extensions-builtin/sd-webui-agent-scheduler / main
01:02:00-786372 DEBUG Submodule: extensions-builtin/sd-webui-controlnet / main
01:02:00-829171 DEBUG Submodule: extensions-builtin/stable-diffusion-webui-images-browser / main
01:02:00-833892 DEBUG Submodule: extensions-builtin/stable-diffusion-webui-rembg / master
01:02:00-841156 DEBUG Submodule: modules/k-diffusion / master
01:02:00-846588 DEBUG Submodule: wiki / master
01:02:00-850194 DEBUG Register paths
01:02:00-873693 DEBUG Installed packages: 220
01:02:00-874560 DEBUG Extensions all: ['Lora', 'sd-extension-system-info', 'sd-extension-chainner', 'stable-diffusion-webui-rembg',
'sd-webui-controlnet', 'sd-webui-agent-scheduler', 'stable-diffusion-webui-images-browser']
01:02:00-908413 DEBUG Running extension installer: /home/aaa2/sdn11/extensions-builtin/sd-extension-system-info/install.py
01:02:01-048403 DEBUG Running extension installer: /home/aaa2/sdn11/extensions-builtin/stable-diffusion-webui-rembg/install.py
01:02:08-297299 INFO Extension installed packages: stable-diffusion-webui-rembg ['opencv-python-headless==4.9.0.80', 'rembg==2.0.55',
'pooch==1.8.1']
01:02:08-298419 DEBUG Running extension installer: /home/aaa2/sdn11/extensions-builtin/sd-webui-controlnet/install.py
01:02:40-938344 INFO Extension installed packages: sd-webui-controlnet ['handrefinerportable==2024.2.12.0', 'depth-anything==2024.1.22.0',
'colorlog==6.8.2', 'svg.path==6.3', 'chardet==5.2.0', 'lxml==5.1.0', 'opencv-contrib-python==4.9.0.80',
'trimesh==4.2.0', 'reportlab==4.1.0', 'pycparser==2.21', 'embreex==2.17.7.post4', 'portalocker==2.8.2',
'shapely==2.0.3', 'cffi==1.16.0', 'svglib==1.5.1', 'tinycss2==1.2.1', 'Rtree==1.2.0', 'mapbox-earcut==1.0.1',
'mediapipe==0.10.11', 'tabulate==0.9.0', 'pycollada==0.8', 'cssselect2==0.7.0', 'webencodings==0.5.1',
'jaxlib==0.4.25', 'jax==0.4.25', 'sounddevice==0.4.6', 'iopath==0.1.9', 'yacs==0.1.8', 'fvcore==0.1.5.post20221221',
'xatlas==0.0.9', 'vhacdx==0.0.5']
01:02:40-940328 DEBUG Running extension installer: /home/aaa2/sdn11/extensions-builtin/sd-webui-agent-scheduler/install.py
01:02:44-072637 INFO Extension installed packages: sd-webui-agent-scheduler ['greenlet==3.0.3', 'SQLAlchemy==2.0.28']
01:02:44-073469 DEBUG Running extension installer: /home/aaa2/sdn11/extensions-builtin/stable-diffusion-webui-images-browser/install.py
01:02:45-815972 INFO Extension installed packages: stable-diffusion-webui-images-browser ['Send2Trash==1.8.2']
01:02:45-816874 DEBUG Extensions all: []
01:02:45-817822 INFO Extensions enabled: ['Lora', 'sd-extension-system-info', 'sd-extension-chainner', 'stable-diffusion-webui-rembg',
'sd-webui-controlnet', 'sd-webui-agent-scheduler', 'stable-diffusion-webui-images-browser']
01:02:45-818496 INFO Verifying requirements
01:02:45-825275 WARNING Package version mismatch: numpy 1.24.4 required 1.26.4
01:02:45-825897 INFO Installing package: numpy==1.26.4
01:02:45-826430 DEBUG Running pip: install --upgrade numpy==1.26.4
01:02:49-509874 DEBUG Setup complete without errors: 1710259370
01:02:49-515148 DEBUG Extension preload: {'extensions-builtin': 0.0, 'extensions': 0.0}
01:02:49-516782 DEBUG Starting module: <module 'webui' from '/home/aaa2/sdn11/webui.py'>
01:02:49-517626 INFO Command line args: ['--use-ipex', '--debug'] use_ipex=True debug=True
01:02:49-518261 DEBUG Env flags: []
01:02:53-996503 DEBUG Load IPEX==2.1.10+xpu
01:02:55-760159 DEBUG Package not found: olive-ai
01:02:56-650986 INFO Load packages: {'torch': '2.1.0a0+cxx11.abi', 'diffusers': '0.26.3', 'gradio': '3.43.2'}
01:02:57-343449 DEBUG Created default config: config.json
01:02:57-347106 INFO Engine: backend=Backend.DIFFUSERS compute=ipex device=xpu attention="Scaled-Dot-Product" mode=no_grad
01:02:57-348304 DEBUG Save: file="config.json" json=14 bytes=675 time=0.002
01:02:57-522181 INFO Device: device=Intel(R) Graphics [0x56a1] n=1 ipex=2.1.10+xpu
01:02:57-523801 DEBUG Migrated styles: file=styles.csv folder=models/styles
01:02:57-541463 DEBUG Load styles: folder="models/styles" items=288 time=0.02
01:02:57-543271 ERROR ONNX failed to initialize: No module named 'onnx'
01:02:58-244499 DEBUG Importing LDM
01:02:58-291102 DEBUG Entering start sequence
01:02:58-292129 INFO Create: folder="models/ONNX"
01:02:58-293387 INFO Create: folder="models/Stable-diffusion"
01:02:58-294100 INFO Create: folder="models/Diffusers"
01:02:58-294762 INFO Create: folder="models/VAE"
01:02:58-295457 INFO Create: folder="models/Lora"
01:02:58-296133 INFO Create: folder="models/embeddings"
01:02:58-296985 INFO Create: folder="models/hypernetworks"
01:02:58-297847 INFO Create: folder="outputs/text"
01:02:58-298823 INFO Create: folder="outputs/image"
01:02:58-299542 INFO Create: folder="outputs/control"
01:02:58-300238 INFO Create: folder="outputs/extras"
01:02:58-300913 INFO Create: folder="outputs/init-images"
01:02:58-301563 INFO Create: folder="outputs/grids"
01:02:58-302302 INFO Create: folder="outputs/save"
01:02:58-302982 INFO Create: folder="outputs/video"
01:02:58-303989 DEBUG Initializing
01:02:58-318866 INFO Available VAEs: path="models/VAE" items=0
01:02:58-319737 INFO Disabled extensions: ['sd-webui-controlnet']
01:02:58-321247 DEBUG Scanning diffusers cache: ['models/Diffusers'] items=0 time=0.00
01:02:58-321900 INFO Available models: path="models/Stable-diffusion" items=0 time=0.00
01:02:58-325104 DEBUG Package not found: basicsr
01:02:58-325706 INFO Installing package: basicsr
01:02:58-326231 DEBUG Running pip: install --upgrade basicsr
01:03:03-448797 DEBUG Package not found: gfpgan
01:03:03-449698 INFO Installing package: gfpgan
01:03:03-451097 DEBUG Running pip: install --upgrade gfpgan
01:03:05-917794 DEBUG Load extensions
01:03:06-020032 INFO LoRA networks: available=0 folders=2
01:03:06-423913 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
01:03:06-595679 INFO Extension: script='extensions-builtin/stable-diffusion-webui-images-browser/scripts/image_browser.py' Image Browser:
Creating database
01:03:06-596978 INFO Extension: script='extensions-builtin/stable-diffusion-webui-images-browser/scripts/image_browser.py' Image Browser:
Database created
01:03:06-618590 DEBUG Extensions init time: 0.70 sd-extension-chainner=0.06 sd-webui-agent-scheduler=0.33
stable-diffusion-webui-images-browser=0.17
01:03:06-654110 DEBUG Read: file="html/upscalers.json" json=4 bytes=2640 time=0.000
01:03:06-655088 INFO Upscaler create: folder="models/chaiNNer"
01:03:06-656404 DEBUG Read: file="extensions-builtin/sd-extension-chainner/models.json" json=24 bytes=2693 time=0.000
01:03:06-657257 DEBUG chaiNNer models: path="models/chaiNNer" defined=24 discovered=0 downloaded=0
01:03:06-658034 INFO Upscaler create: folder="models/RealESRGAN"
01:03:06-658961 DEBUG Load upscalers: total=52 downloaded=0 user=0 time=0.04 ['None', 'Lanczos', 'Nearest', 'ChaiNNer', 'SwinIR', 'SCUNet',
'RealESRGAN', 'SD', 'LDSR', 'ESRGAN']
01:03:06-663319 DEBUG Load styles: folder="models/styles" items=288 time=0.00
01:03:06-669302 DEBUG Creating UI
01:03:06-670185 INFO UI theme: name="black-teal" style=Auto base=sdnext.css
01:03:06-673464 DEBUG UI initialize: txt2img
01:03:06-681661 DEBUG Read: file="html/reference.json" json=39 bytes=20867 time=0.002
01:03:06-694758 DEBUG Extra networks: page='model' items=39 subfolders=2 tab=txt2img folders=['models/Stable-diffusion', 'models/Diffusers',
'models/Reference'] list=0.01 thumb=0.00 desc=0.00 info=0.00 workers=4
01:03:06-701333 DEBUG Extra networks: page='style' items=288 subfolders=1 tab=txt2img folders=['models/styles', 'html'] list=0.01 thumb=0.01
desc=0.00 info=0.00 workers=4
01:03:06-703101 DEBUG Extra networks: page='embedding' items=0 subfolders=0 tab=txt2img folders=['models/embeddings'] list=0.01 thumb=0.00
desc=0.00 info=0.00 workers=4
01:03:06-704302 DEBUG Extra networks: page='hypernetwork' items=0 subfolders=0 tab=txt2img folders=['models/hypernetworks'] list=0.00
thumb=0.00 desc=0.00 info=0.00 workers=4
01:03:06-705452 DEBUG Extra networks: page='vae' items=0 subfolders=0 tab=txt2img folders=['models/VAE'] list=0.00 thumb=0.00 desc=0.00
info=0.00 workers=4
01:03:06-706625 DEBUG Extra networks: page='lora' items=0 subfolders=0 tab=txt2img folders=['models/Lora', 'models/LyCORIS'] list=0.00
thumb=0.00 desc=0.00 info=0.00 workers=4
01:03:06-760769 DEBUG UI initialize: img2img
01:03:06-954227 DEBUG UI initialize: control models=models/control
01:03:07-122317 ERROR Reading failed: ui-config.json [Errno 2] No such file or directory: 'ui-config.json'
01:03:07-197122 DEBUG Themes: builtin=12 gradio=5 huggingface=0
01:03:07-709902 INFO Extension list is empty: refresh required
01:03:07-751766 DEBUG Extension list: processed=7 installed=7 enabled=6 disabled=1 visible=7 hidden=0
01:03:07-818285 DEBUG Save: file="ui-config.json" json=0 bytes=2 time=0.000
01:03:07-861845 DEBUG Root paths: ['/home/aaa2/sdn11']
01:03:07-916856 INFO Local URL: http://127.0.0.1:7860/
01:03:07-917623 DEBUG Gradio functions: registered=2071
01:03:07-918801 DEBUG FastAPI middleware: ['Middleware', 'Middleware']
01:03:07-921130 DEBUG Creating API
01:03:08-236492 INFO [AgentScheduler] Task queue is empty
01:03:08-237368 INFO [AgentScheduler] Registering APIs
01:03:08-333966 DEBUG Scripts setup: ['IP Adapters:0.01', 'AnimateDiff:0.006', 'X/Y/Z Grid:0.008', 'Face:0.009']
01:03:08-334969 DEBUG Model metadata: file="metadata.json" no changes
01:03:08-336552 DEBUG Model requested: fn=<lambda>
01:03:08-337369 WARNING Cannot generate without a checkpoint
01:03:08-338053 INFO Set system paths to use existing folders in a different location
01:03:08-338909 INFO or use --models-dir <path-to-folder> to specify base folder with all models
01:03:08-339934 INFO or use --ckpt-dir <path-to-folder> to specify folder with sd models
01:03:08-340668 INFO or use --ckpt <path-to-checkpoint> to force using existing model
01:03:08-341772 DEBUG Script callback init time: image_browser.py:ui_tabs=0.41 system-info.py:app_started=0.24
task_scheduler.py:app_started=0.11
01:03:08-342769 INFO Startup time: 18.79 torch=6.16 gradio=0.89 libraries=1.59 extensions=0.70 face-restore=7.60 ui-en=0.22 ui-control=0.07
ui-settings=0.17 ui-extensions=0.48 ui-defaults=0.05 launch=0.10 api=0.06 app-started=0.35
01:03:08-343748 DEBUG Save: file="config.json" json=18 bytes=783 time=0.002
01:03:16-874250 DEBUG Themes: builtin=12 gradio=5 huggingface=0
01:03:19-103037 INFO MOTD: N/A
01:03:20-793994 INFO Browser session: user=None client=127.0.0.1 agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101
Firefox/123.0
01:03:50-038055 DEBUG Reference download: runwayml/stable-diffusion-v1-5
01:03:50-039371 DEBUG Read: file="html/reference.json" json=39 bytes=20867 time=0.000
01:03:50-041061 DEBUG Diffusers downloading: id="runwayml/stable-diffusion-v1-5" args={'force_download': False, 'resume_download': True,
'cache_dir': 'models/Diffusers', 'load_connected_pipeline': True}
model_index.json: 100%|████████████████████████████████████████████████████████████████████████████████████████| 541/541 [00:00<00:00, 4.72MB/s]
text_encoder/config.json: 100%|████████████████████████████████████████████████████████████████████████████████| 617/617 [00:00<00:00, 4.57MB/s](…)ature_extractor/preprocessor_config.json: 100%|█████████████████████████████████████████████████████████████| 342/342 [00:00<00:00, 3.23MB/s]
scheduler/scheduler_config.json: 100%|█████████████████████████████████████████████████████████████████████████| 308/308 [00:00<00:00, 2.87MB/s]safety_checker/config.json: 100%|██████████████████████████████████████████████████████████████████████████| 4.72k/4.72k [00:00<00:00, 32.7MB/s]tokenizer/special_tokens_map.json: 100%|███████████████████████████████████████████████████████████████████████| 472/472 [00:00<00:00, 3.88MB/s]tokenizer/merges.txt: 100%|██████████████████████████████████████████████████████████████████████████████████| 525k/525k [00:00<00:00, 2.51MB/s]tokenizer/tokenizer_config.json: 100%|█████████████████████████████████████████████████████████████████████████| 806/806 [00:00<00:00, 6.23MB/s]unet/config.json: 100%|████████████████████████████████████████████████████████████████████████████████████████| 743/743 [00:00<00:00, 8.05MB/s]vae/config.json: 100%|█████████████████████████████████████████████████████████████████████████████████████████| 547/547 [00:00<00:00, 4.36MB/s]tokenizer/vocab.json: 100%|████████████████████████████████████████████████████████████████████████████████| 1.06M/1.06M [00:00<00:00, 3.18MB/s]tokenizer/tokenizer_config.json: 0%| | 0.00/806 [00:00<?, ?B/s01:04:00-485974 DEBUG Server: alive=True jobs=2 requests=210 uptime=63 memory=1.46/15.32 backend=Backend.DIFFUSERS state=job="huggingface" ]
0/-1
diffusion_pytorch_model.safetensors: 100%|███████████████████████████████████████████████████████████████████| 335M/335M [00:35<00:00, 9.33MB/s]
model.safetensors: 100%|█████████████████████████████████████████████████████████████████████████████████████| 492M/492M [01:33<00:00, 5.27MB/s]
model.safetensors: 38%|███████████████████████████████▊ | 461M/1.22G [01:30<03:18, 3.80MB/s01:05:59-613987 DEBUG Server: alive=True jobs=2 requests=234 uptime=182 memory=1.49/15.32 backend=Backend.DIFFUSERS state=job="huggingface" ]
0/-1
model.safetensors: 100%|███████████████████████████████████████████████████████████████████████████████████| 1.22G/1.22G [03:02<00:00, 6.66MB/s]
Fetching 15 files: 27%|███████████████████████▋ | 4/15 [03:03<09:03, 49.45s/it01:07:59-743153 DEBUG Server: alive=True jobs=2 requests=258 uptime=303 memory=1.49/15.32 backend=Backend.DIFFUSERS state=job="huggingface"
0/-1
diffusion_pytorch_model.safetensors: 100%|█████████████████████████████████████████████████████████████████| 3.44G/3.44G [05:04<00:00, 11.3MB/s]
Fetching 15 files: 100%|████████████████████████████████████████████████████████████████████████████████████████| 15/15 [05:05<00:00, 20.35s/it]
01:08:57-748296 DEBUG Save:
file="models/Diffusers/models--runwayml--stable-diffusion-v1-5/snapshots/1d0c4ebf6ff58a5caecab40fa1406526bca4b5b9/model
_info.json" json=11 bytes=1121 time=0.001
01:08:57-750536 DEBUG Reference download complete: runwayml/stable-diffusion-v1-5
01:08:57-751452 DEBUG Scanning diffusers cache: ['models/Diffusers'] items=1 time=0.00
01:08:57-752349 INFO Available models: path="models/Stable-diffusion" items=1 time=0.00
01:08:58-083650 INFO Select: model="Diffusers/runwayml/stable-diffusion-v1-5 [models/Dif]"
01:08:58-086324 DEBUG Load model: existing=False
target=models/Diffusers/models--runwayml--stable-diffusion-v1-5/snapshots/1d0c4ebf6ff58a5caecab40fa1406526bca4b5b9
info=None
01:08:59-094128 DEBUG Desired Torch parameters: dtype=BF16 no-half=False no-half-vae=False upscast=False
01:08:59-095285 INFO Setting Torch parameters: device=xpu dtype=torch.bfloat16 vae=torch.bfloat16 unet=torch.bfloat16 context=no_grad
fp16=True bf16=True optimization=Scaled-Dot-Product
01:08:59-096443 DEBUG Diffusers loading:
path="models/Diffusers/models--runwayml--stable-diffusion-v1-5/snapshots/1d0c4ebf6ff58a5caecab40fa1406526bca4b5b9"
01:08:59-097373 INFO Autodetect: model="Stable Diffusion" class=StableDiffusionPipeline
file="models/Diffusers/models--runwayml--stable-diffusion-v1-5/snapshots/1d0c4ebf6ff58a5caecab40fa1406526bca4b5b9"
size=0MB
Loading pipeline components...: 100%|█████████████████████████████████████████████████████████████████████████████| 6/6 [00:09<00:00, 1.53s/it]
01:09:08-330376 DEBUG Setting model: enable VAE slicing
01:09:09-793514 INFO IPEX Optimize: time=0.14
01:09:09-811664 INFO Load embeddings: loaded=0 skipped=0 time=0.00
01:09:10-078469 DEBUG GC: collected=1817 device=xpu {'ram': {'used': 3.35, 'total': 15.32}, 'gpu': {'used': 2.03, 'total': 7.91}, 'retries':
0, 'oom': 0} time=0.27
01:09:10-082496 INFO Load model: time=11.72 load=11.72 native=512 {'ram': {'used': 3.35, 'total': 15.32}, 'gpu': {'used': 2.03, 'total':
7.91}, 'retries': 0, 'oom': 0}
01:09:10-084418 DEBUG Setting changed: sd_model_checkpoint=runwayml/stable-diffusion-v1-5 progress=True
01:09:10-088006 DEBUG Save: file="config.json" json=20 bytes=895 time=0.004
01:09:30-998160 INFO Settings: changed=1 ['ckpt_dir']
01:09:31-003822 DEBUG Save: file="config.json" json=21 bytes=951 time=0.006
01:09:31-831795 DEBUG Scanning diffusers cache: ['models/Diffusers'] items=1 time=0.00
01:09:31-857014 INFO Available models: path="/mnt/d/sdfiles/models/Stable-diffusion" items=5 time=0.03
01:09:33-780794 INFO Select: model="CheckpointYesmix_v40"
01:09:33-783221 DEBUG Load model: existing=False target=/mnt/d/sdfiles/models/Stable-diffusion/CheckpointYesmix_v40.safetensors info=None
01:09:35-860998 DEBUG GC: collected=620 device=xpu {'ram': {'used': 3.91, 'total': 15.32}, 'gpu': {'used': 2.03, 'total': 7.91}, 'retries':
0, 'oom': 0} time=0.24
01:09:35-862560 DEBUG Unload weights model: {'ram': {'used': 3.91, 'total': 15.32}, 'gpu': {'used': 2.03, 'total': 7.91}, 'retries': 0,
'oom': 0}
01:09:35-874949 DEBUG Desired Torch parameters: dtype=BF16 no-half=False no-half-vae=False upscast=False
01:09:35-876032 INFO Setting Torch parameters: device=xpu dtype=torch.bfloat16 vae=torch.bfloat16 unet=torch.bfloat16 context=no_grad
fp16=True bf16=True optimization=Scaled-Dot-Product
01:09:35-879283 DEBUG Diffusers loading: path="/mnt/d/sdfiles/models/Stable-diffusion/CheckpointYesmix_v40.safetensors"
01:09:35-881764 INFO Autodetect: model="Stable Diffusion" class=StableDiffusionPipeline
file="/mnt/d/sdfiles/models/Stable-diffusion/CheckpointYesmix_v40.safetensors" size=2034MB
01:10:00-340941 DEBUG Server: alive=True jobs=2 requests=282 uptime=423 memory=6.63/15.32 backend=Backend.DIFFUSERS state=idle
config.json: 100%|█████████████████████████████████████████████████████████████████████████████████████████| 4.52k/4.52k [00:00<00:00, 5.82MB/s]
tokenizer_config.json: 100%|███████████████████████████████████████████████████████████████████████████████████| 905/905 [00:00<00:00, 4.00MB/s]
vocab.json: 100%|████████████████████████████████████████████████████████████████████████████████████████████| 961k/961k [00:00<00:00, 4.77MB/s]
merges.txt: 100%|████████████████████████████████████████████████████████████████████████████████████████████| 525k/525k [00:00<00:00, 23.6MB/s]
special_tokens_map.json: 100%|█████████████████████████████████████████████████████████████████████████████████| 389/389 [00:00<00:00, 1.03MB/s]
tokenizer.json: 100%|██████████████████████████████████████████████████████████████████████████████████████| 2.22M/2.22M [00:00<00:00, 5.66MB/s]
01:10:31-725157 DEBUG Setting model: pipeline=StableDiffusionPipeline config={'low_cpu_mem_usage': True, 'torch_dtype': torch.bfloat16,
'load_connected_pipeline': True, 'extract_ema': True, 'original_config_file': 'configs/v1-inference.yaml',
'use_safetensors': True}
01:10:31-727173 DEBUG Setting model: enable VAE slicing
01:10:33-191424 INFO IPEX Optimize: time=0.14
Calculating hash: /mnt/d/sdfiles/models/Stable-diffusion/CheckpointYesmix_v40.safetensors ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.1/2.1 GB 0:00:00
01:10:42-066988 DEBUG Save: file="cache.json" json=1 bytes=186 time=0.001
01:10:42-083098 INFO Load embeddings: loaded=0 skipped=0 time=0.01
01:10:42-341368 DEBUG GC: collected=24661 device=xpu {'ram': {'used': 5.62, 'total': 15.32}, 'gpu': {'used': 2.03, 'total': 7.91}, 'retries':
0, 'oom': 0} time=0.26
01:10:42-345065 INFO Load model: time=66.22 load=66.22 native=512 {'ram': {'used': 5.62, 'total': 15.32}, 'gpu': {'used': 2.03, 'total':
7.91}, 'retries': 0, 'oom': 0}
01:10:42-359283 DEBUG Setting changed: sd_model_checkpoint=CheckpointYesmix_v40 progress=True
01:10:42-363247 DEBUG Save: file="config.json" json=21 bytes=993 time=0.017
01:10:45-215153 INFO Base: class=StableDiffusionPipeline
LIBXSMM_VERSION: main_stable-1.17-3651 (25693763)
LIBXSMM_TARGET: adl [12th Gen Intel(R) Core(TM) i3-12100]
Registry and code: 13 MB
Command: python3 launch.py --use-ipex --debug
Uptime: 474.435073 s
Segmentation fault
aaa2@machine-RE2:~/sdn11$
https://github.com/vladmandic/automatic/wiki/Intel-ARC#errors-with-ipexrun-on-linux
I already tried it.
aaa2@machine-RE2:~/sdn11$ DISABLE_IPEXRUN=1 ./webui.sh --use-ipex --debug
This seems like the same issue as IPEX 2.1 + MKL / DPCPP 2024 issues on IPEX side. UniPC and original backend is known to crash.
I don't plan to test Windows anytime soon, so feel free to contribute if you find a fix for Windows that doesn't compromise native Linux.
Issue Description
My system
And I followed the present installation guide.
@Disty0
Version Platform Description
14:22:31-580680 INFO Starting SD.Next 14:22:31-583251 INFO Logger: file="/home/a1u/sdnext/main0/sdnext.log" level=DEBUG size=64 mode=create 14:22:31-583999 INFO Python 3.10.12 on Linux 14:22:31-602836 INFO Version: app=sd.next updated=2023-12-30 hash=ab7b78cc url=https://github.com/vladmandic/automatic/tree/master 14:22:32-035426 INFO Platform: arch=x86_64 cpu=x86_64 system=Linux release=5.15.133.1-microsoft-standard-WSL2 python=3.10.12 14:22:32-039277 INFO Intel OneAPI Toolkit detected 14:22:32-052659 INFO Startup: standard 14:22:32-053232 INFO Verifying requirements 14:22:32-063693 INFO Verifying packages 14:22:32-065022 INFO Verifying submodules 14:22:33-427867 INFO Extensions enabled: ['sd-webui-agent-scheduler', 'stable-diffusion-webui-images-browser', 'sd-extension-system-info', 'Lora', 'stable-diffusion-webui-rembg', 'sd-extension-chainner', 'sd-webui-controlnet'] 14:22:33-428575 INFO Verifying requirements 14:22:33-439646 INFO Extension preload: {'extensions-builtin': 0.0, 'extensions': 0.0}
Relevant log output
Backend
Original
Branch
Master
Model
SD 1.5
Acknowledgements