Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Issue]: PuLID - ipex with pulid results in runtimeerror #3771

Open
2 tasks done
AndrewRainfall opened this issue Feb 22, 2025 · 6 comments
Open
2 tasks done

[Issue]: PuLID - ipex with pulid results in runtimeerror #3771

AndrewRainfall opened this issue Feb 22, 2025 · 6 comments
Labels
platform Platform specific problem

Comments

@AndrewRainfall
Copy link

Issue Description

Image generation works fine, but then I choose to use PuLID script in any tab it returns RuntimeError: UR error.

Tested on dreamshaperXL_v2TurboDPMSDE

Version Platform Description

14:04:48-103953 INFO Starting SD.Next
14:04:48-110956 INFO Logger: file="D:\automatic\sdnext.log" level=DEBUG host="Rain" size=72 mode=create
14:04:48-112957 INFO Python: version=3.10.11 platform=Windows bin="D:\automatic\venv\Scripts\python.exe"
venv="D:\automatic\venv"
14:04:49-046825 INFO Version: app=sd.next updated=2025-02-21 hash=cb0eb555 branch=master
url=https://github.com/vladmandic/automatic/tree/master ui=main
14:04:50-270563 INFO Platform: arch=AMD64 cpu=AMD64 Family 23 Model 8 Stepping 2, AuthenticAMD system=Windows
release=Windows-10-10.0.19045-SP0 python=3.10.11 locale=('English_Europe', '1251')
docker=False
14:04:50-276892 DEBUG Packages: prefix=venv site=['venv', 'venv\lib\site-packages']
14:04:50-278893 WARNING Packages: site="venv\lib\site-packages" invalid=['~ydantic'] removing
14:04:50-302051 INFO Args: ['--use-ipex', '--upgrade', '--autolaunch', '--debug']
14:04:50-303555 DEBUG Setting environment tuning
14:04:50-305556 DEBUG Torch allocator: "garbage_collection_threshold:0.80,max_split_size_mb:512"
14:04:50-433544 DEBUG Torch overrides: cuda=False rocm=False ipex=True directml=False openvino=False zluda=False
14:04:50-436547 INFO Python: version=3.10.11 platform=Windows bin="D:\automatic\venv\Scripts\python.exe"
venv="D:\automatic\venv"
14:04:50-450550 INFO IPEX: Intel OneAPI toolkit detected
14:04:51-118129 INFO Install: verifying requirements
14:04:51-142784 WARNING Install: package="timm" installed=0.6.7 required=0.9.16 version mismatch
14:04:57-048572 WARNING Install: package="pydantic" installed=1.10.17 required=1.10.21 version mismatch
14:05:01-748805 INFO Startup: standard

Extensions enabled: ['sd-extension-chainner', 'sd-extension-system-info',
'sd-webui-agent-scheduler', 'sdnext-modernui', 'stable-diffusion-webui-rembg',
'Config-Presets', 'InstantID', 'PuLID', 'sd-webui-controlnet', 'sd-webui-reactor-sfw']

Relevant log output

Microsoft Windows [Version 10.0.19045.5487]
(c) Microsoft Corporation. All rights reserved.

D:\automatic>D:\Intel\oneAPI\2025.0\oneapi-vars.bat
:: initializing oneAPI environment...
   Initializing Visual Studio command-line environment...
   Visual Studio version 17.12.3 environment configured.
   "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\"
   Visual Studio command-line environment initialized for: 'x64'
:: advisor -- processing etc\advisor\vars.bat
:: compiler -- processing etc\compiler\vars.bat
:: dal -- processing etc\dal\vars.bat
:: debugger -- processing etc\debugger\vars.bat
:: dnnl -- processing etc\dnnl\vars.bat
:: dpct -- processing etc\dpct\vars.bat
:: dpl -- processing etc\dpl\vars.bat
:: ipp -- processing etc\ipp\vars.bat
:: ippcp -- processing etc\ippcp\vars.bat
:: mkl -- processing etc\mkl\vars.bat
:: pti -- processing etc\pti\vars.bat
:: tbb -- processing etc\tbb\vars.bat
:: vtune -- processing etc\vtune\vars.bat
:: oneAPI environment initialized ::

D:\automatic>
D:\automatic>.\webui.bat --use-ipex --upgrade --autolaunch --debug
Using VENV: D:\automatic\venv
14:04:48-103953 INFO     Starting SD.Next
14:04:48-110956 INFO     Logger: file="D:\automatic\sdnext.log" level=DEBUG host="Rain" size=72 mode=create
14:04:48-112957 INFO     Python: version=3.10.11 platform=Windows bin="D:\automatic\venv\Scripts\python.exe"
                         venv="D:\automatic\venv"
14:04:49-046825 INFO     Version: app=sd.next updated=2025-02-21 hash=cb0eb555 branch=master
                         url=https://github.com/vladmandic/automatic/tree/master ui=main
14:04:50-270563 INFO     Platform: arch=AMD64 cpu=AMD64 Family 23 Model 8 Stepping 2, AuthenticAMD system=Windows
                         release=Windows-10-10.0.19045-SP0 python=3.10.11 locale=('English_Europe', '1251')
                         docker=False
14:04:50-276892 DEBUG    Packages: prefix=venv site=['venv', 'venv\\lib\\site-packages']
14:04:50-278893 WARNING  Packages: site="venv\lib\site-packages" invalid=['~ydantic'] removing
14:04:50-302051 INFO     Args: ['--use-ipex', '--upgrade', '--autolaunch', '--debug']
14:04:50-303555 DEBUG    Setting environment tuning
14:04:50-305556 DEBUG    Torch allocator: "garbage_collection_threshold:0.80,max_split_size_mb:512"
14:04:50-433544 DEBUG    Torch overrides: cuda=False rocm=False ipex=True directml=False openvino=False zluda=False
14:04:50-436547 INFO     Python: version=3.10.11 platform=Windows bin="D:\automatic\venv\Scripts\python.exe"
                         venv="D:\automatic\venv"
14:04:50-450550 INFO     IPEX: Intel OneAPI toolkit detected
14:04:51-118129 INFO     Install: verifying requirements
14:04:51-142784 WARNING  Install: package="timm" installed=0.6.7 required=0.9.16 version mismatch
14:04:57-048572 WARNING  Install: package="pydantic" installed=1.10.17 required=1.10.21 version mismatch
14:05:01-748805 INFO     Startup: standard
14:05:01-750706 INFO     Verifying submodules
14:05:07-559596 DEBUG    Git submodule: extensions-builtin/sd-extension-chainner / main
14:05:08-989706 DEBUG    Git submodule: extensions-builtin/sd-extension-system-info / main
14:05:10-180677 DEBUG    Git submodule: extensions-builtin/sd-webui-agent-scheduler / main
14:05:11-507882 DEBUG    Git detached head detected: folder="extensions-builtin/sdnext-modernui" reattach=main
14:05:11-509883 DEBUG    Git submodule: extensions-builtin/sdnext-modernui / main
14:05:12-877544 DEBUG    Git submodule: extensions-builtin/stable-diffusion-webui-rembg / master
14:05:14-299457 DEBUG    Git submodule: modules/k-diffusion / master
14:05:15-669190 DEBUG    Git detached head detected: folder="wiki" reattach=master
14:05:15-671190 DEBUG    Git submodule: wiki / master
14:05:16-882939 DEBUG    Register paths
14:05:17-015979 DEBUG    Installed packages: 235
14:05:17-017980 DEBUG    Extensions all: ['sd-extension-chainner', 'sd-extension-system-info',
                         'sd-webui-agent-scheduler', 'sdnext-modernui', 'stable-diffusion-webui-rembg']
14:05:17-105139 DEBUG    Git submodule: extensions-builtin\sd-extension-chainner / main
14:05:18-338649 DEBUG    Git submodule: extensions-builtin\sd-extension-system-info / main
14:05:19-716059 DEBUG    Git submodule: extensions-builtin\sd-webui-agent-scheduler / main
14:05:20-749661 DEBUG    Extension installer: D:\automatic\extensions-builtin\sd-webui-agent-scheduler\install.py
14:05:24-547229 DEBUG    Git submodule: extensions-builtin\sdnext-modernui / main
14:05:25-836096 DEBUG    Git submodule: extensions-builtin\stable-diffusion-webui-rembg / master
14:05:26-900718 DEBUG    Extension installer: D:\automatic\extensions-builtin\stable-diffusion-webui-rembg\install.py
14:05:37-899022 DEBUG    Extensions all: ['Config-Presets', 'InstantID', 'PuLID', 'sd-webui-controlnet',
                         'sd-webui-reactor-sfw']
14:05:38-092692 DEBUG    Git submodule: extensions\Config-Presets / main
14:05:40-057950 DEBUG    Git submodule: extensions\InstantID / main
14:05:44-039099 DEBUG    Git submodule: extensions\PuLID / main
14:05:45-727763 DEBUG    Git submodule: extensions\sd-webui-controlnet / main
14:05:53-277765 DEBUG    Extension force: name="sd-webui-controlnet" commit=ecd33eb
14:05:53-279764 DEBUG    Extension installer: D:\automatic\extensions\sd-webui-controlnet\install.py
14:06:20-658043 INFO     Extension installed packages: sd-webui-controlnet ['colorlog==6.9.0',
                         'handrefinerportable==2024.1.18.0', 'jax==0.5.0', 'manifold3d==3.0.1', 'mapbox-earcut==1.0.3',
                         'mediapipe==0.10.21', 'opencv-contrib-python==4.11.0.86']
14:06:20-745614 DEBUG    Git submodule: extensions\sd-webui-reactor-sfw / main
14:06:21-894581 DEBUG    Extension installer: D:\automatic\extensions\sd-webui-reactor-sfw\install.py
14:06:41-509776 INFO     Extensions enabled: ['sd-extension-chainner', 'sd-extension-system-info',
                         'sd-webui-agent-scheduler', 'sdnext-modernui', 'stable-diffusion-webui-rembg',
                         'Config-Presets', 'InstantID', 'PuLID', 'sd-webui-controlnet', 'sd-webui-reactor-sfw']
14:06:41-513777 INFO     Install: verifying requirements
14:06:41-514777 INFO     Updating Wiki
14:06:41-598477 DEBUG    Git submodule: D:\automatic\wiki / master
14:06:42-737604 DEBUG    Setup complete without errors: 1740222403
14:06:42-774434 DEBUG    Extension preload: {'extensions-builtin': 0.01, 'extensions': 0.0}
14:06:42-777437 INFO     Command line args: ['--use-ipex', '--upgrade', '--autolaunch', '--debug'] autolaunch=True
                         upgrade=True use_ipex=True debug=True args=[]
14:06:42-781437 DEBUG    Env flags: []
14:06:42-782437 DEBUG    Starting module: <module 'webui' from 'D:\\automatic\\webui.py'>
14:07:24-035541 INFO     Torch: torch==2.7.0 torchvision==0.22.0.dev20250107+xpu
14:07:24-039118 INFO     Packages: diffusers==0.33.0.dev0 transformers==4.48.3 accelerate==1.3.0 gradio==3.43.2
                         pydantic==1.10.21
14:07:27-269343 INFO     Device detect: memory=15.5 default=balanced
14:07:27-292563 DEBUG    Read: file="D:\automatic\config.json" json=72 bytes=3243 time=0.001 fn=<module>:load
14:07:29-609040 DEBUG    Setting validation: "face_restoration_model"="GFPGAN" default="None" choices=['None']
14:07:29-612042 WARNING  Setting validation: unknown=['chainner_models_path']
14:07:29-615043 INFO     Engine: backend=Backend.DIFFUSERS compute=ipex device=xpu attention="Scaled-Dot-Product"
                         mode=no_grad
14:07:29-657296 DEBUG    Read: file="html\reference.json" json=65 bytes=34218 time=0.039
                         fn=_call_with_frames_removed:<module>
14:07:29-661134 DEBUG    Torch attention: type="sdpa" flash=True memory=True math=True
14:07:33-404044 INFO     Torch parameters: backend=ipex device=xpu config=BF16 dtype=torch.bfloat16 context=no_grad
                         nohalf=False nohalfvae=False upcast=False deterministic=False tunable=[False, False] fp16=pass
                         bf16=pass optimization="Scaled-Dot-Product"
14:07:36-667012 DEBUG    ONNX: version=1.20.1 provider=OpenVINOExecutionProvider,
                         available=['TensorrtExecutionProvider', 'CUDAExecutionProvider', 'CPUExecutionProvider']
14:07:37-055482 INFO     Device: device=Intel(R) Arc(TM) A770 Graphics n=1 ipex= driver=1.6.31896
14:07:37-780055 DEBUG    Entering start sequence
14:07:37-785055 DEBUG    Initializing
14:07:37-865391 DEBUG    Read: file="metadata.json" json=51 bytes=58159 time=0.057 fn=initialize:init_metadata
14:07:37-887517 DEBUG    Read: file="cache.json" json=2 bytes=1116 time=0.018 fn=initialize:init_cache
14:07:37-890519 DEBUG    Huggingface cache: path="C:\Users\Rain\.cache\huggingface\hub"
14:07:38-339432 INFO     Available VAEs: path="models\VAE" items=4
14:07:38-341900 INFO     Available UNets: path="models\UNET" items=0
14:07:38-343900 INFO     Available TEs: path="models\Text-encoder" items=0
14:07:38-387833 INFO     Available Models: items=7 safetensors="models\Stable-diffusion":7
                         diffusers="models\Diffusers":0 time=0.04
14:07:38-492384 INFO     Available LoRAs: path="models\Lora" items=5 folders=2 time=0.00
14:07:38-559728 INFO     Available Styles: folder="models\styles" items=288 time=0.06
14:07:38-958928 INFO     Available Detailer: path="models\yolo" items=10 downloaded=1
14:07:38-962930 DEBUG    Extensions: disabled=['Lora', 'sdnext-modernui', 'sd-webui-controlnet']
14:07:38-964931 INFO     Load extensions
14:07:42-211904 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
14:07:45-153007 DEBUG    Extensions init time: total=6.19 sd-webui-reactor-sfw=2.87 sd-webui-agent-scheduler=2.40
                         sd-extension-chainner=0.23 reswapper_utils.py=0.09 stable-diffusion-webui-rembg=0.06
14:07:45-349730 DEBUG    Read: file="html/upscalers.json" json=4 bytes=2672 time=0.015 fn=__init__:__init__
14:07:45-360435 DEBUG    Read: file="extensions-builtin\sd-extension-chainner\models.json" json=24 bytes=2719
                         time=0.008 fn=__init__:find_scalers
14:07:45-365938 DEBUG    chaiNNer models: path="models\chaiNNer" defined=24 discovered=0 downloaded=0
14:07:45-371940 INFO     Available Upscalers: items=65 downloaded=1 user=0 time=0.21 types=['None', 'Resize', 'Latent',
                         'AsymmetricVAE', 'DCC', 'ChaiNNer', 'AuraSR', 'ESRGAN', 'RealESRGAN', 'SCUNet', 'Diffusion',
                         'SwinIR']
14:07:45-722768 DEBUG    UI start sequence
14:07:45-724780 INFO     UI locale: name="en: English"
14:07:45-726168 INFO     UI theme: type=Standard name="black-teal" available=13
14:07:45-758017 DEBUG    UI theme: css="D:\automatic\javascript\black-teal.css" base="sdnext.css" user="None"
14:07:45-780934 DEBUG    UI initialize: txt2img
14:07:45-886799 DEBUG    Networks: page='model' items=71 subfolders=4 tab=txt2img folders=['models\\Stable-diffusion',
                         'models\\Diffusers', 'models\\Reference'] list=0.03 thumb=0.01 desc=0.00 info=0.00 workers=8
14:07:45-893802 DEBUG    Networks: page='lora' items=5 subfolders=1 tab=txt2img folders=['models\\Lora'] list=0.02
                         thumb=0.00 desc=0.00 info=0.00 workers=8
14:07:45-908805 DEBUG    Networks: page='style' items=288 subfolders=3 tab=txt2img folders=['models\\styles', 'html']
                         list=0.03 thumb=0.00 desc=0.00 info=0.00 workers=8
14:07:45-916806 DEBUG    Networks: page='embedding' items=4 subfolders=1 tab=txt2img folders=['models\\embeddings']
                         list=0.01 thumb=0.00 desc=0.00 info=0.00 workers=8
14:07:45-922808 DEBUG    Networks: page='vae' items=4 subfolders=1 tab=txt2img folders=['models\\VAE'] list=0.01
                         thumb=0.01 desc=0.00 info=0.00 workers=8
14:07:45-929809 DEBUG    Networks: page='history' items=0 subfolders=1 tab=txt2img folders=[] list=0.00 thumb=0.00
                         desc=0.00 info=0.00 workers=8
[ERROR][Config Presets] The txt2img component 'txt2img_hr_scale' could not be processed. This may be because you are running an outdated version of the Config-Presets extension, you included a component ID in the custom tracked components config file that does not exist, it no longer exists (if you updated an extension or Automatic1111), or is an invalid component (if this is the case, you need to manually edit the config file at extensions\Config-Presets\config-txt2img-custom-tracked-components.txt or just delete it so it resets to defaults). This extension will not work until this issue is resolved.
14:07:46-675412 DEBUG    UI initialize: img2img
14:07:47-054628 DEBUG    UI initialize: control models="models\control"
14:07:48-891073 DEBUG    Read: file="ui-config.json" json=121 bytes=6132 time=0.021 fn=__init__:read_from_file
14:07:51-825504 DEBUG    Extension list: processed=404 installed=12 enabled=9 disabled=3 visible=404 hidden=0
14:07:52-271129 DEBUG    Root paths: ['D:\\automatic']
14:07:52-768403 INFO     Local URL: http://127.0.0.1:7860/
14:07:52-809955 DEBUG    API middleware: [<class 'starlette.middleware.base.BaseHTTPMiddleware'>, <class
                         'starlette.middleware.gzip.GZipMiddleware'>]
14:07:52-812605 DEBUG    API initialize
14:07:53-098668 INFO     [AgentScheduler] Task queue is empty
14:07:53-100668 INFO     [AgentScheduler] Registering APIs
14:07:53-310715 DEBUG    Scripts setup: time=1.274 ['K-Diffusion Samplers:0.412', 'ReActor:0.267', 'XYZ Grid:0.082',
                         'IP Adapters:0.068', 'Face: Multiple ID Transfers:0.039', 'Mixture-of-Diffusers: Tile
                         Control:0.038', 'FreeScale: Tuning-Free Scale Fusion:0.022', 'Video: AnimateDiff:0.02',
                         'Video: CogVideoX:0.02', 'Video: LTX Video:0.019', 'ConsiStory: Consistent Image
                         Generation:0.018', 'Video: VGen Image-to-Video:0.016', 'Ctrl-X: Controlling Structure and
                         Appearance:0.015', 'PuLID: ID Customization:0.015', 'LUT Color grading:0.014', 'Video: Stable
                         Video Diffusion:0.014', 'Video: Hunyuan Video:0.014', 'Style Aligned Image Generation:0.013',
                         'Video: ModelScope:0.01', 'HDR: High Dynamic Range:0.01']
14:07:53-320718 DEBUG    Model metadata: file="metadata.json" no changes
14:07:53-323719 DEBUG    Model requested: fn=run:<lambda>
14:07:53-325719 INFO     Load model: select="dreamshaperXL_v2TurboDPMSDE [4726d3bab1]"
Progress 16.35s/it █████████ 100% 7/7 01:54 00:00 Loading pipeline components...
14:09:55-788272 DEBUG    Setting model: pipeline=StableDiffusionXLPipeline config={'low_cpu_mem_usage': True,
                         'torch_dtype': torch.bfloat16, 'load_connected_pipeline': True, 'extract_ema': False,
                         'config': 'configs/sdxl', 'use_safetensors': True, 'cache_dir':
                         'C:\\Users\\Rain\\.cache\\huggingface\\hub'}
14:10:05-950204 INFO     Load network: type=embeddings loaded=1 skipped=3 time=10.16
14:10:05-953205 DEBUG    Setting model: component=VAE slicing=True
14:10:05-955205 DEBUG    Setting model: attention="Scaled-Dot-Product"
14:10:05-997215 INFO     Offload: type=balanced op=init watermark=0.25-0.7 gpu=3.885-10.877999999999998:15.54
                         cpu=31.950 limit=0.00
14:10:06-036224 DEBUG    Model module=unet type=UNet2DConditionModel dtype=torch.bfloat16 quant=None params=2.391
                         size=4.782
14:10:06-059229 DEBUG    Model module=text_encoder_2 type=CLIPTextModelWithProjection dtype=torch.bfloat16 quant=None
                         params=0.647 size=1.294
14:10:06-065230 DEBUG    Model module=text_encoder type=CLIPTextModel dtype=torch.bfloat16 quant=None params=0.115
                         size=0.229
14:10:06-071231 DEBUG    Model module=vae type=AutoencoderKL dtype=torch.bfloat16 quant=None params=0.078 size=0.156
14:10:06-077233 INFO     Model class=StableDiffusionXLPipeline modules=4 size=6.461
14:10:06-084234 WARNING  IPEX Optimize: error: No module named 'intel_extension_for_pytorch'
14:10:06-087236 INFO     Load model: time=total=132.76 load=122.47 embeddings=10.16 move=0.09 native=1024
                         memory={'ram': {'used': 8.05, 'total': 31.95}, 'gpu': {'used': 0.0, 'total': 15.54},
                         'retries': 0, 'oom': 0}
14:10:06-096238 DEBUG    Script init: ['system-info.py:app_started=0.11', 'task_scheduler.py:app_started=0.21']
14:10:06-098238 DEBUG    Save: file="D:\automatic\config.json" json=72 bytes=3137 time=0.002
14:10:06-101238 INFO     Startup time: total=319.70 torch=150.62 checkpoint=132.78 launch=117.01 installer=116.39
                         libraries=15.01 extensions=6.19 gradio=3.90 ui-extensions=2.37 diffusers=1.03 ui-models=0.78
                         ui-txt2img=0.70 ui-control=0.64 ui-settings=0.62 samplers=0.56 transformers=0.50
                         ui-networks=0.47 detailer=0.40 app-started=0.33 ui-defaults=0.33 cleanup=0.32 ui-img2img=0.28
                         onnx=0.27 upscalers=0.22 api=0.17 ui-extras=0.13 lora=0.10 ui-gallery=0.07 styles=0.07
                         ui-caption=0.06
14:10:06-121243 INFO     Launching browser
14:10:10-909558 INFO     API user=None code=200 http/1.1 GET /sdapi/v1/motd 127.0.0.1 1.1127
14:10:27-173933 INFO     API user=None code=200 http/1.1 GET /sdapi/v1/sd-models 127.0.0.1 0.0037
14:10:28-103758 INFO     Browser session: user=None client=127.0.0.1 agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64)
                         AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36
14:10:28-107759 INFO     API user=None code=200 http/1.1 GET /sdapi/v1/start 127.0.0.1 0.0048
14:10:28-122762 INFO     UI: ready time=19.642
14:11:59-600314 DEBUG    Server: alive=True requests=38 memory=0/0 status='running' task='Load'
                         timestamp='20250222140753' id='' job=0 jobs=0 total=1 step=0 steps=0 queued=0 uptime=274
                         elapsed=246.28 eta=None progress=0
14:13:20-653318 DEBUG    Save temp: image="F:\06_STABLE_DIFFUSION\outputs\temp\tmpjde9ikah.png" width=1024 height=1024
                         size=1206263
Progress 1296.00it/s █████████████████████ 100% 6/6 00:00 00:00 Fetching 6 files
2025-02-22 14:13:53.0664008 [E:onnxruntime:Default, provider_bridge_ort.cc:1862 onnxruntime::TryGetProviderInfo_CUDA] D:\a\_work\1\s\onnxruntime\core\session\provider_bridge_ort.cc:1539 onnxruntime::ProviderLibrary::Get [ONNXRuntimeError] : 1 : FAIL : LoadLibrary failed with error 126 "" when trying to load "D:\automatic\venv\lib\site-packages\onnxruntime\capi\onnxruntime_providers_cuda.dll"

14:13:55-476725 DEBUG    Setting model: attention="Scaled-Dot-Product"
14:13:55-553232 INFO     PuLID: class=StableDiffusionXLPuLIDPipeline version="v1.1" sdp=True strength=0.8 zero=20 ortho=v2 sampler=<function sample_dpmpp_sde at 0x000001C1CC4D6950> images=[(1024, 1024, 3)] offload=True restore=False
14:13:59-828042 DEBUG    Server: alive=True requests=88 memory=0/0 status='running' task='Load' timestamp='20250222140753' id='task(ymltsy7c9rz4z28)' job=0 jobs=0 total=1 step=0 steps=0 queued=0 uptime=394 elapsed=366.51 eta=None
                         progress=0
14:14:15-852032 ERROR    Exception: UR error
14:14:15-863034 ERROR    Arguments: args=('task(ymltsy7c9rz4z28)', '', 0.0, 'a photo of a man, medium shot, light on clothes, light on hair, light on face BREAK ', '(worst quality:1.2), (low quality:1.2), (normal quality:1.2), lowres,
                         bad anatomy, bad hands, signature, watermarks, ugly, imperfect eyes, skewed eyes, unnatural face, unnatural body, error, extra limb, missing limbs, badhandv4, nsfw, nude, naked BREAK ', [], <PIL.Image.Image
                         image mode=RGBA size=1024x1024 at 0x1C1C7A6D780>, None, None, None, None, None, None, 8, 5, 4, 1, 1, True, False, False, False, '', '', 10, 0.3, 1, 1, 1, 1, 0.7, 0, 0.5, 1, 0, 1, 0.38, -1.0, -1.0, 0, 0, 0, 0,
                         1024, 1024, 1, 3, 'None', 'Add with forward', 0, 32, 0, None, 'C:\\Users\\Rain\\Desktop\\1', 'C:\\Users\\Rain\\Desktop\\2', 'C:\\Users\\Rain\\Desktop\\3', 0, 0, 0, 0, False, 4, 0.95, False, 0.6, 1, '#000000', 0,
                         False, None, 0.3, 3, 'Add with forward', 'None', False, 20, 1, 0, 0, 20, 0, '', '', [], 23, 1, False, 'None', 'None', 'None', 'None', 0.5, 0.5, 0.5, 0.5, None, None, None, None, False, False, False, False, 0, 0,
                         0, 0, 1, 1, 1, 1, None, None, None, None, False, '', None, False, '0', '0', '', 'CodeFormer', 1, True, 'None', 1, 1, False, True, 1, 0, 0, False, 0.5, True, False, 'CPU', False, 0, 'None', '', None, False,
                         False, 0.5, 0, 'tab_single', False, 0, '', [], 0, '', [], 0, '', [], False, True, False, True, False, False, True, False, 0, False, 'None', 2, True, 1, 0, 'constant', 1, 'constant', 1, '#04F404', 65, 0, 0, 0.15,
                         0.9, '', '', 0.5, '', 0.5, 5, None, '', 0.5, 5, None, True, 1, False, 'None', None, 'None', [], 'ReSwapper 256 0.2', False, 'FaceID Base', True, True, 1, 1, 1, 0.5, True, 'PhotoMaker v2', '', 1, 0.5, True,
                         'None', 0, True, True, 2, True, 1, 35, True, 1, 0.75, True, 2, 0.75, False, 3, 0.75, False, 4, 0.75, 0.65, True, False, 1, 1, 1, 0, 1, False, False, False, None, 0.1, 1, True, '', 0.5, 0.9, '', 0.5, 0.9, 4, 0.5,
                         'Linear', 'None', True, None, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 128, 128, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 'OpenGVLab/InternVL-14B-224px', '<span>&nbsp Outpainting</span><br>', 128,
                         8, ['left', 'right', 'up', 'down'], 1, 0.05, 128, 4, 0, ['left', 'right', 'up', 'down'], 20, False, 0.7, 1.2, 128, False, False, 'positive', 'comma', 0, False, False, '', [{'name':
                         'F:\\06_STABLE_DIFFUSION\\outputs\\temp\\tmpjde9ikah.png', 'data': 'http://127.0.0.1:7860/file=F:\\06_STABLE_DIFFUSION\\outputs\\temp\\tmpjde9ikah.png', 'is_file': True}], 0.8, 20, 'dpmpp_sde', 'v2', False,
                         True, 'v1.1', '<span>&nbsp SD Upscale</span><br>', 64, 0, 2, '7,8,9', 1, 0.01, 0.2, None, '', False, ['attention', 'adain_queries', 'adain_keys'], 1, 0, 0, 'THUDM/CogVideoX-2b', 'DDIM', 49, 6, 'balanced', True,
                         'None', 2, True, 1, 0, None, None, '0.9.1', '', 'diffusers', True, 41, 'None', 2, True, 1, 0, False, 0.03, 'SVD 1.0', 14, True, 1, 3, 6, 0.5, 0.1, 'None', 2, True, 1, 0, 'None', 16, 'None', 2, True, 1, 0,
                         'none', 3, 4, 0.25, 0.25, 0.5, 0.5, 25, '0.38, 0.4, 0.42, 0.45', [], 20, '3, 5, 7', [], 0, '', [], False, True, False, True, False, False, True, False, 0, False, 'None', 2, True, 1, 0) kwargs={}
14:14:15-954406 ERROR    gradio call: RuntimeError
┌─────────────────────────────────────────────────────────────────────────────────────────────────── Traceback (most recent call last) ────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ D:\automatic\modules\call_queue.py:31 in f                                                                                                                                                                                               │
│                                                                                                                                                                                                                                          │
│   30 │   │   │   try:                                                                                                                                                                                                                    │
│ > 31 │   │   │   │   res = func(*args, **kwargs)                                                                                                                                                                                         │
│   32 │   │   │   │   progress.record_results(id_task, res)                                                                                                                                                                               │
│                                                                                                                                                                                                                                          │
│ D:\automatic\modules\img2img.py:305 in img2img                                                                                                                                                                                           │
│                                                                                                                                                                                                                                          │
│   304 │   else:                                                                                                                                                                                                                          │
│ > 305 │   │   processed = modules.scripts.scripts_img2img.run(p, *args)                                                                                                                                                                  │
│   306 │   │   if processed is None:                                                                                                                                                                                                      │
│                                                                                                                                                                                                                                          │
│ D:\automatic\modules\scripts.py:511 in run                                                                                                                                                                                               │
│                                                                                                                                                                                                                                          │
│   510 │   │   if hasattr(script, 'run'):                                                                                                                                                                                                 │
│ > 511 │   │   │   processed = script.run(p, *parsed)                                                                                                                                                                                     │
│   512 │   │   else:                                                                                                                                                                                                                      │
│                                                                                                                                                                                                                                          │
│ D:\automatic\scripts\pulid_ext.py:252 in run                                                                                                                                                                                             │
│                                                                                                                                                                                                                                          │
│   251 │   │   │   │   return None                                                                                                                                                                                                        │
│ > 252 │   │   │   processed: processing.Processed = processing.process_images(p) # runs processing using main loop                                                                                                                       │
│   253                                                                                                                                                                                                                                    │
│                                                                                                                                                                                                                                          │
│ D:\automatic\modules\processing.py:127 in process_images                                                                                                                                                                                 │
│                                                                                                                                                                                                                                          │
│   126 │   timer.process.reset()                                                                                                                                                                                                          │
│ > 127 │   debug(f'Process images: {vars(p)}')                                                                                                                                                                                            │
│   128 │   if not hasattr(p.sd_model, 'sd_checkpoint_info'):                                                                                                                                                                              │
│                                                                                                                                                                                                                                          │
│ D:\automatic\venv\lib\site-packages\torch\_tensor.py:590 in __repr__                                                                                                                                                                     │
│                                                                                                                                                                                                                                          │
│    589 │   │   # All strings are unicode in Python 3.                                                                                                                                                                                    │
│ >  590 │   │   return torch._tensor_str._str(self, tensor_contents=tensor_contents)                                                                                                                                                      │
│    591                                                                                                                                                                                                                                   │
│                                                                                                                                                                                                                                          │
│ D:\automatic\venv\lib\site-packages\torch\_tensor_str.py:704 in _str                                                                                                                                                                     │
│                                                                                                                                                                                                                                          │
│   703 │   │   guard = torch._C._DisableFuncTorch()  # noqa: F841                                                                                                                                                                         │
│ > 704 │   │   return _str_intern(self, tensor_contents=tensor_contents)                                                                                                                                                                  │
│   705                                                                                                                                                                                                                                    │
│                                                                                                                                                                                                                                          │
│ D:\automatic\venv\lib\site-packages\torch\_tensor_str.py:621 in _str_intern                                                                                                                                                              │
│                                                                                                                                                                                                                                          │
│   620 │   │   │   │   │   else:                                                                                                                                                                                                          │
│ > 621 │   │   │   │   │   │   tensor_str = _tensor_str(self, indent)                                                                                                                                                                     │
│   622                                                                                                                                                                                                                                    │
│                                                                                                                                                                                                                                          │
│ D:\automatic\venv\lib\site-packages\torch\_tensor_str.py:353 in _tensor_str                                                                                                                                                              │
│                                                                                                                                                                                                                                          │
│   352 │   else:                                                                                                                                                                                                                          │
│ > 353 │   │   formatter = _Formatter(get_summarized_data(self) if summarize else self)                                                                                                                                                   │
│   354 │   │   return _tensor_str_with_formatter(self, indent, summarize, formatter)                                                                                                                                                      │
│                                                                                                                                                                                                                                          │
│ D:\automatic\venv\lib\site-packages\torch\_tensor_str.py:181 in __init__                                                                                                                                                                 │
│                                                                                                                                                                                                                                          │
│   180 │   │   │   │   if (                                                                                                                                                                                                               │
│ > 181 │   │   │   │   │   nonzero_finite_max / nonzero_finite_min > 1000.0                                                                                                                                                               │
│   182 │   │   │   │   │   or nonzero_finite_max > 1.0e8                                                                                                                                                                                  │
└──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
RuntimeError: UR error

Backend

Diffusers

UI

Standard

Branch

Master

Model

StableDiffusion XL

Acknowledgements

  • I have read the above and searched for existing issues
  • I confirm that this is classified correctly and its not an extension issue
@Disty0
Copy link
Collaborator

Disty0 commented Feb 22, 2025

You are using nightly PyTorch 2.7, does this happen on stable PyTorch 2.6?

Also you enabled IPEX optimize but its not going to work with pure PyTorch. You will need to manually create a venv and install IPEX for that.
Tho it is not really worth it imo, IPEX optimize doesn't really do anything.

@vladmandic vladmandic added the platform Platform specific problem label Feb 22, 2025
@vladmandic vladmandic changed the title [Issue]: PuLID - RuntimeError: UR error - Intel Arc A770 [Issue]: PuLID - ipex with pulid results in runtimeerror Feb 22, 2025
@AndrewRainfall
Copy link
Author

I disabled IPEX optimize, then

pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118

python -c "import torch; print(torch.version)"
It showed 2.6.0.dev20250104+xpu

python.exe -m pip install --upgrade pip

and tested on DreamShaper XL Lighting DPM++ SDE, but it didn't help

Relevant log output

19:20:55-379139 DEBUG Save temp: image="F:\06_STABLE_DIFFUSION\outputs\temp\tmprf8baq9c.png" width=1024 height=1024 size=1206263
Progress 1456.61it/s █████████████████████ 100% 6/6 00:00 00:00 Fetching 6 files
2025-02-22 19:21:22.1251130 [E:onnxruntime:Default, provider_bridge_ort.cc:1862 onnxruntime::TryGetProviderInfo_CUDA] D:\a_work\1\s\onnxruntime\core\session\provider_bridge_ort.cc:1539 onnxruntime::ProviderLibrary::Get [ONNXRuntimeError] : 1 : FAIL : LoadLibrary failed with error 126 "" when trying to load "D:\automatic\venv\lib\site-packages\onnxruntime\capi\onnxruntime_providers_cuda.dll"

19:21:24-484233 DEBUG Setting model: attention="Scaled-Dot-Product"
19:21:24-560251 INFO PuLID: class=StableDiffusionXLPuLIDPipeline version="v1.1" sdp=True strength=0.8 zero=20 ortho=v2 sampler=<function sample_dpmpp_sde at 0x00000157A4389000> images=[(1024, 1024, 3)] offload=True restore=False
19:21:40-465732 ERROR Exception: UR error
19:21:40-467732 ERROR Arguments: args=('task(ni7yv7a35pvyvq6)', '', 'a photo of a man, medium shot, cinematic lighting BREAK ', '(worst quality:1.2), (low quality:1.2), (normal quality:1.2), lowres, bad anatomy, bad hands, signature,
watermarks, ugly, imperfect eyes, skewed eyes, unnatural face, unnatural body, error, extra limb, missing limbs, badhandv4, nsfw, nude, naked BREAK ', [], 6, 5, None, True, False, False, False, '', '', 10, 0.3,
1, 1, 2, 5, 0.7, 6, 0.5, 1, 2, -1.0, -1.0, 0, 0, 0, 1024, 1024, True, 0.4, 2, 3, 'Add with forward', 'ESRGAN 4x Ultrasharp', False, 20, 0, 0, 6, 0, '', '', 0, 0, 0, 0, False, 4, 0.95, False, 0.6, 1, '#000000',
0, [], 20, 1, False, 'None', 'None', 'None', 'None', 0.5, 0.5, 0.5, 0.5, None, None, None, None, False, False, False, False, 0, 0, 0, 0, 1, 1, 1, 1, None, None, None, None, False, '', False, 20, '1, 2', [], 19,
'4, 6', [], 0, '', [], False, True, False, True, False, False, True, False, 0, False, 'None', 2, True, 1, 0, 1, -0.5, 0, 'constant', 1, 'constant', 1, '', '', '', 0.5, True, True, False, True, True, False, '0.6,
0.4, 1.1, 1.2', '10, 20, 0.8', False, '', 0.5, 5, None, '', 0.5, 5, None, 3, 1, 1, 0.8, 8, 64, True, 'None', [], 'ReSwapper 256 0.2', False, 'FaceID Base', True, True, 1, 1, 1, 0.5, True, 'PhotoMaker v2', '', 1,
0.5, True, 2, True, 1, 35, True, 1, 0.75, True, 2, 0.75, False, 3, 0.75, False, 4, 0.75, 0.65, True, False, 1, 1, 1, '', True, 0.5, 600.0, 1.0, True, None, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0.5, 0.5, 1, 1, 128,
128, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 'OpenGVLab/InternVL-14B-224px', 20, False, 0.7, 1.2, 128, False, False, 'positive', 'comma', 0, False, False, '', [{'name':
'F:\06_STABLE_DIFFUSION\outputs\temp\tmprf8baq9c.png', 'data': 'http://127.0.0.1:7860/file=F:\06_STABLE_DIFFUSION\outputs\temp\tmprf8baq9c.png', 'is_file': True}], 0.8, 20, 'dpmpp_sde', 'v2', False,
True, 'v1.1', 'None', '', 1, '', 'None', 1, '7,8,9', 1, 0.01, 0.2, None, '', False, ['attention', 'adain_queries', 'adain_keys'], 1, 0, 0, True, 10, 22, True, 'None', 2, True, 1, 0, 'None', 16, 'None', 1, True,
'None', 2, True, 1, 0, True, 'none', 3, 4, 0.25, 0.25, 'THUDM/CogVideoX-2b', 'DDIM', 49, 6, 'balanced', True, 'None', 2, True, 1, 0, None, None, 'HunyuanVideo', 45, 16, True, 7, 'Describe the video by detailing
the following aspects:\n1. The main content and theme of the video.\n2. The color, shape, size, texture, quantity, text, and spatial relationships of the objects.\n3. Actions, events, behaviors temporal
relationships, physical movement changes of the objects.\n4. Background environment, light, style and atmosphere.\n5. Camera angles, movements, and transitions used in the video.\n6. Thematic and aesthetic
concepts associated with the scene, i.e. realistic, futuristic, fairy tale, etc.\n', 'None', 2, True, 1, 0, '0.9.1', '', 'diffusers', True, 41, 'None', 2, True, 1, 0, False, 0.03, 45, 'None', 2, True, 1, 0,
'None', True, 0, 'None', 2, True, 1, 0, 0, '', [], 0, '', [], 0, '', [], False, True, False, True, False, False, False, False, 0, False, 'None', 2, True, 1, 0) kwargs={}
19:21:40-521744 ERROR gradio call: RuntimeError
┌─────────────────────────────────────────────────────────────────────────────────────────────────── Traceback (most recent call last) ────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ D:\automatic\modules\call_queue.py:31 in f │
│ │
│ 30 │ │ │ try: │
│ > 31 │ │ │ │ res = func(*args, **kwargs) │
│ 32 │ │ │ │ progress.record_results(id_task, res) │
│ │
│ D:\automatic\modules\txt2img.py:96 in txt2img │
│ │
│ 95 │ p.state = state │
│ > 96 │ processed: processing.Processed = scripts.scripts_txt2img.run(p, *args) │
│ 97 │ if processed is None: │
│ │
│ D:\automatic\modules\scripts.py:511 in run │
│ │
│ 510 │ │ if hasattr(script, 'run'): │
│ > 511 │ │ │ processed = script.run(p, *parsed) │
│ 512 │ │ else: │
│ │
│ D:\automatic\scripts\pulid_ext.py:252 in run │
│ │
│ 251 │ │ │ │ return None │
│ > 252 │ │ │ processed: processing.Processed = processing.process_images(p) # runs processing using main loop │
│ 253 │
│ │
│ D:\automatic\modules\processing.py:127 in process_images │
│ │
│ 126 │ timer.process.reset() │
│ > 127 │ debug(f'Process images: {vars(p)}') │
│ 128 │ if not hasattr(p.sd_model, 'sd_checkpoint_info'): │
│ │
│ D:\automatic\venv\lib\site-packages\torch_tensor.py:590 in repr
│ │
│ 589 │ │ # All strings are unicode in Python 3. │
│ > 590 │ │ return torch._tensor_str._str(self, tensor_contents=tensor_contents) │
│ 591 │
│ │
│ D:\automatic\venv\lib\site-packages\torch_tensor_str.py:704 in _str │
│ │
│ 703 │ │ guard = torch._C._DisableFuncTorch() # noqa: F841 │
│ > 704 │ │ return _str_intern(self, tensor_contents=tensor_contents) │
│ 705 │
│ │
│ D:\automatic\venv\lib\site-packages\torch_tensor_str.py:621 in _str_intern │
│ │
│ 620 │ │ │ │ │ else: │
│ > 621 │ │ │ │ │ │ tensor_str = _tensor_str(self, indent) │
│ 622 │
│ │
│ D:\automatic\venv\lib\site-packages\torch_tensor_str.py:353 in _tensor_str │
│ │
│ 352 │ else: │
│ > 353 │ │ formatter = _Formatter(get_summarized_data(self) if summarize else self) │
│ 354 │ │ return _tensor_str_with_formatter(self, indent, summarize, formatter) │
│ │
│ D:\automatic\venv\lib\site-packages\torch_tensor_str.py:181 in init
│ │
│ 180 │ │ │ │ if ( │
│ > 181 │ │ │ │ │ nonzero_finite_max / nonzero_finite_min > 1000.0 │
│ 182 │ │ │ │ │ or nonzero_finite_max > 1.0e8 │
└──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
RuntimeError: UR error

@Disty0
Copy link
Collaborator

Disty0 commented Feb 22, 2025

You installed PyTorch for CUDA, not Intel.
Remove the venv folder and let it do a freash install with only --use-ipex.

@AndrewRainfall
Copy link
Author

I deleted the venv folder, then

cmd
D:\Intel\oneAPI\2025.0\oneapi-vars.bat
.\webui.bat --use-ipex

It seems that it fixed the problem, I see that PuLID affects images but its effect is really weak.

I have these errors in log, do they affect PuLID strength?

21:06:42-053626 ERROR Install: pip: install --upgrade insightface==0.7.3
21:06:52-483357 ERROR PuLID: failed to import library: No module named 'insightface'
21:28:54-743646 WARNING PAG: pipeline=StableDiffusionXLImg2ImgPipeline not implemented

@vladmandic
Copy link
Owner

21:06:52-483357 ERROR PuLID: failed to import library: No module named 'insightface'

this should go away on server restart as first time it needed it, pulid installed it.

21:28:54-743646 WARNING PAG: pipeline=StableDiffusionXLImg2ImgPipeline not implemented

exactly like it says - you're using PAG and its only implemented for txt2img, not img2img.

@AndrewRainfall
Copy link
Author

After restarting server image generation stopped working with this error:
TypeError: argument of type 'NoneType' is not iterable

In openai github someone adviced to
pip install openai-whisper

And it fixed image generation, but PuLID error returned

Log output

D:\automatic>.\webui.bat --use-ipex --upgrade --autolaunch --debug
Using VENV: D:\automatic\venv
22:28:57-000488 INFO Starting SD.Next
22:28:57-006489 INFO Logger: file="D:\automatic\sdnext.log" level=DEBUG host="Rain" size=72 mode=create
22:28:57-008490 INFO Python: version=3.10.11 platform=Windows bin="D:\automatic\venv\Scripts\python.exe"
venv="D:\automatic\venv"
22:28:57-523518 INFO Version: app=sd.next updated=2025-02-21 hash=cb0eb555 branch=master
url=https://github.com/vladmandic/automatic/tree/master ui=main
22:28:58-113687 INFO Platform: arch=AMD64 cpu=AMD64 Family 23 Model 8 Stepping 2, AuthenticAMD system=Windows
release=Windows-10-10.0.19045-SP0 python=3.10.11 locale=('English_Europe', '1251')
docker=False
22:28:58-121689 DEBUG Packages: prefix=venv site=['venv', 'venv\lib\site-packages']
22:28:58-125689 INFO Args: ['--use-ipex', '--upgrade', '--autolaunch', '--debug']
22:28:58-128689 DEBUG Setting environment tuning
22:28:58-133456 DEBUG Torch allocator: "garbage_collection_threshold:0.80,max_split_size_mb:512"
22:28:58-157621 DEBUG Torch overrides: cuda=False rocm=False ipex=True directml=False openvino=False zluda=False
22:28:58-162622 INFO Python: version=3.10.11 platform=Windows bin="D:\automatic\venv\Scripts\python.exe"
venv="D:\automatic\venv"
22:28:58-177624 INFO IPEX: Intel OneAPI toolkit detected
22:28:58-456973 INFO Install: verifying requirements
22:28:58-463974 INFO Startup: standard
22:28:58-465975 INFO Verifying submodules
22:29:03-507781 DEBUG Git submodule: extensions-builtin/sd-extension-chainner / main
22:29:04-722868 DEBUG Git submodule: extensions-builtin/sd-extension-system-info / main
22:29:05-837696 DEBUG Git submodule: extensions-builtin/sd-webui-agent-scheduler / main
22:29:07-065346 DEBUG Git detached head detected: folder="extensions-builtin/sdnext-modernui" reattach=main
22:29:07-067346 DEBUG Git submodule: extensions-builtin/sdnext-modernui / main
22:29:08-280997 DEBUG Git submodule: extensions-builtin/stable-diffusion-webui-rembg / master
22:29:09-476217 DEBUG Git submodule: modules/k-diffusion / master
22:29:10-673791 DEBUG Git detached head detected: folder="wiki" reattach=master
22:29:10-675792 DEBUG Git submodule: wiki / master
22:29:11-766512 DEBUG Register paths
22:29:11-872536 DEBUG Installed packages: 192
22:29:11-875537 DEBUG Extensions all: ['sd-extension-chainner', 'sd-extension-system-info',
'sd-webui-agent-scheduler', 'stable-diffusion-webui-rembg']
22:29:11-962636 DEBUG Git submodule: extensions-builtin\sd-extension-chainner / main
22:29:13-190434 DEBUG Git submodule: extensions-builtin\sd-extension-system-info / main
22:29:14-486349 DEBUG Git submodule: extensions-builtin\sd-webui-agent-scheduler / main
22:29:15-557891 DEBUG Extension installer: D:\automatic\extensions-builtin\sd-webui-agent-scheduler\install.py
22:29:18-940155 DEBUG Git submodule: extensions-builtin\stable-diffusion-webui-rembg / master
22:29:20-039389 DEBUG Extension installer: D:\automatic\extensions-builtin\stable-diffusion-webui-rembg\install.py
22:29:30-416805 DEBUG Extensions all: []
22:29:30-418797 INFO Extensions enabled: ['sd-extension-chainner', 'sd-extension-system-info',
'sd-webui-agent-scheduler', 'stable-diffusion-webui-rembg']
22:29:30-420798 INFO Install: verifying requirements
22:29:30-422798 INFO Updating Wiki
22:29:30-509295 DEBUG Git submodule: D:\automatic\wiki / master
22:29:31-656349 DEBUG Setup complete without errors: 1740252572
22:29:31-663351 DEBUG Extension preload: {'extensions-builtin': 0.0, 'extensions': 0.0}
22:29:31-666353 INFO Command line args: ['--use-ipex', '--upgrade', '--autolaunch', '--debug'] autolaunch=True
upgrade=True use_ipex=True debug=True args=[]
22:29:31-670353 DEBUG Env flags: []
22:29:31-671353 DEBUG Starting module: <module 'webui' from 'D:\automatic\webui.py'>
22:29:39-468760 INFO Torch: torch==2.6.0+xpu torchvision==0.21.0+xpu
22:29:39-471762 INFO Packages: diffusers==0.33.0.dev0 transformers==4.48.3 accelerate==1.3.0 gradio==3.43.2
pydantic==1.10.21
22:29:39-974598 INFO Device detect: memory=15.5 default=balanced
22:29:39-982600 DEBUG Read: file="D:\automatic\config.json" json=72 bytes=3330 time=0.000 fn=:load
22:29:40-180644 DEBUG Setting validation: "face_restoration_model"="GFPGAN" default="None" choices=['None']
22:29:40-184646 WARNING Setting validation: unknown=['chainner_models_path']
22:29:40-187646 INFO Engine: backend=Backend.DIFFUSERS compute=ipex device=xpu attention="Scaled-Dot-Product"
mode=no_grad
22:29:40-191648 DEBUG Read: file="html\reference.json" json=65 bytes=34218 time=0.000
fn=_call_with_frames_removed:
22:29:40-196648 DEBUG Torch attention: type="sdpa" flash=True memory=True math=True
22:29:42-075393 INFO Torch parameters: backend=ipex device=xpu config=BF16 dtype=torch.bfloat16 context=no_grad
nohalf=False nohalfvae=False upcast=False deterministic=False tunable=[False, False] fp16=pass
bf16=pass optimization="Scaled-Dot-Product"
22:29:42-318043 DEBUG ONNX: version=1.20.1 provider=OpenVINOExecutionProvider, available=['AzureExecutionProvider',
'CPUExecutionProvider']
22:29:42-407061 INFO Device: device=Intel(R) Arc(TM) A770 Graphics n=1 ipex= driver=1.6.31896
22:29:42-540713 DEBUG Entering start sequence
22:29:42-544714 DEBUG Initializing
22:29:42-547714 DEBUG Read: file="metadata.json" json=54 bytes=59089 time=0.001 fn=initialize:init_metadata
22:29:42-550715 DEBUG Read: file="cache.json" json=2 bytes=1658 time=0.000 fn=initialize:init_cache
22:29:42-553716 DEBUG Huggingface cache: path="C:\Users\Rain.cache\huggingface\hub"
22:29:42-596725 INFO Available VAEs: path="models\VAE" items=4
22:29:42-599727 INFO Available UNets: path="models\UNET" items=0
22:29:42-601727 INFO Available TEs: path="models\Text-encoder" items=0
22:29:42-605727 INFO Available Models: items=6 safetensors="models\Stable-diffusion":6
diffusers="models\Diffusers":0 time=0.00
22:29:42-620731 INFO Available LoRAs: path="models\Lora" items=6 folders=2 time=0.00
22:29:42-648737 INFO Available Styles: folder="models\styles" items=288 time=0.03
22:29:42-720753 INFO Available Detailer: path="models\yolo" items=10 downloaded=1
22:29:42-724755 DEBUG Extensions: disabled=['Lora', 'sdnext-modernui', 'Config-Presets', 'InstantID', 'PuLID',
'sd-webui-controlnet', 'sd-webui-reactor-sfw']
22:29:42-727755 INFO Load extensions
22:29:43-673253 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
22:29:43-679254 DEBUG Extensions init time: total=0.95 sd-webui-agent-scheduler=0.80
22:29:43-690256 DEBUG Read: file="html/upscalers.json" json=4 bytes=2672 time=0.000 fn=init:init
22:29:43-693258 DEBUG Read: file="extensions-builtin\sd-extension-chainner\models.json" json=24 bytes=2719
time=0.000 fn=init:find_scalers
22:29:43-698258 DEBUG chaiNNer models: path="models\chaiNNer" defined=24 discovered=0 downloaded=0
22:29:43-704259 INFO Available Upscalers: items=65 downloaded=1 user=0 time=0.02 types=['None', 'Resize', 'Latent',
'AsymmetricVAE', 'DCC', 'ChaiNNer', 'AuraSR', 'ESRGAN', 'RealESRGAN', 'SCUNet', 'Diffusion',
'SwinIR']
22:29:44-292310 DEBUG UI start sequence
22:29:44-294313 INFO UI locale: name="en: English"
22:29:44-296314 INFO UI theme: type=Standard name="black-teal" available=13
22:29:44-308316 DEBUG UI theme: css="D:\automatic\javascript\black-teal.css" base="sdnext.css" user="None"
22:29:44-312317 DEBUG UI initialize: txt2img
22:29:44-377026 DEBUG Networks: page='model' items=70 subfolders=4 tab=txt2img folders=['models\Stable-diffusion',
'models\Diffusers', 'models\Reference'] list=0.02 thumb=0.01 desc=0.00 info=0.00 workers=8
22:29:44-383682 DEBUG Networks: page='lora' items=6 subfolders=1 tab=txt2img folders=['models\Lora'] list=0.01
thumb=0.01 desc=0.00 info=0.00 workers=8
22:29:44-399386 DEBUG Networks: page='style' items=288 subfolders=3 tab=txt2img folders=['models\styles', 'html']
list=0.03 thumb=0.00 desc=0.00 info=0.00 workers=8
22:29:44-408056 DEBUG Networks: page='embedding' items=4 subfolders=1 tab=txt2img folders=['models\embeddings']
list=0.01 thumb=0.00 desc=0.00 info=0.00 workers=8
22:29:44-414058 DEBUG Networks: page='vae' items=4 subfolders=1 tab=txt2img folders=['models\VAE'] list=0.01
thumb=0.01 desc=0.00 info=0.00 workers=8
22:29:44-419058 DEBUG Networks: page='history' items=0 subfolders=1 tab=txt2img folders=[] list=0.00 thumb=0.00
desc=0.00 info=0.00 workers=8
22:29:44-830290 DEBUG UI initialize: img2img
22:29:45-134212 DEBUG UI initialize: control models="models\control"
22:29:46-184225 DEBUG Read: file="ui-config.json" json=153 bytes=7461 time=0.000 fn=init:read_from_file
22:29:49-309420 DEBUG Extension list: processed=404 installed=12 enabled=4 disabled=8 visible=404 hidden=0
22:29:49-564520 DEBUG Root paths: ['D:\automatic']
22:29:49-695786 INFO Local URL: http://127.0.0.1:7860/
22:29:49-698786 DEBUG API middleware: [<class 'starlette.middleware.base.BaseHTTPMiddleware'>, <class
'starlette.middleware.gzip.GZipMiddleware'>]
22:29:49-702787 DEBUG API initialize
22:29:50-228875 INFO [AgentScheduler] Task queue is empty
22:29:50-231468 INFO [AgentScheduler] Registering APIs
22:29:50-426155 DEBUG Scripts setup: time=0.689 ['K-Diffusion Samplers:0.12', 'XYZ Grid:0.078', 'IP Adapters:0.065',
'Mixture-of-Diffusers: Tile Control:0.038', 'Face: Multiple ID Transfers:0.036', 'FreeScale:
Tuning-Free Scale Fusion:0.022', 'Video: CogVideoX:0.019', 'Video: LTX Video:0.018', 'Video:
AnimateDiff:0.018', 'Video: VGen Image-to-Video:0.016', 'ConsiStory: Consistent Image
Generation:0.016', 'Ctrl-X: Controlling Structure and Appearance:0.016', 'Style Aligned Image
Generation:0.014', 'PuLID: ID Customization:0.014', 'LUT Color grading:0.013', 'Video: Stable
Video Diffusion:0.013', 'Video: Hunyuan Video:0.013']
22:29:50-435158 DEBUG Model metadata: file="metadata.json" no changes
22:29:50-437159 DEBUG Model requested: fn=run:
22:29:50-440160 INFO Load model: select="dreamshaperXL_lightningDPMSDE [fdbe56354b]"
Progress 1.08s/it █████████ 100% 7/7 00:07 00:00 Loading pipeline components...
22:29:58-533774 DEBUG Setting model: pipeline=StableDiffusionXLPipeline config={'low_cpu_mem_usage': True,
'torch_dtype': torch.bfloat16, 'load_connected_pipeline': True, 'extract_ema': False,
'config': 'configs/sdxl', 'use_safetensors': True, 'cache_dir':
'C:\Users\Rain\.cache\huggingface\hub'}
22:30:08-060668 INFO Load network: type=embeddings loaded=1 skipped=3 time=9.52
22:30:08-063669 DEBUG Setting model: component=VAE slicing=True
22:30:08-065669 DEBUG Setting model: attention="Scaled-Dot-Product"
22:30:08-107679 INFO Offload: type=balanced op=init watermark=0.25-0.7 gpu=3.885-10.877999999999998:15.54
cpu=31.950 limit=0.00
22:30:08-146688 DEBUG Model module=unet type=UNet2DConditionModel dtype=torch.bfloat16 quant=None params=2.391
size=4.782
22:30:08-164692 DEBUG Model module=text_encoder_2 type=CLIPTextModelWithProjection dtype=torch.bfloat16 quant=None
params=0.647 size=1.294
22:30:08-169693 DEBUG Model module=text_encoder type=CLIPTextModel dtype=torch.bfloat16 quant=None params=0.115
size=0.229
22:30:08-176697 DEBUG Model module=vae type=AutoencoderKL dtype=torch.bfloat16 quant=None params=0.078 size=0.156
22:30:08-182696 INFO Model class=StableDiffusionXLPipeline modules=4 size=6.461
22:30:08-188697 INFO Load model: time=total=17.75 embeddings=9.52 load=8.10 move=0.08 native=1024 memory={'ram':
{'used': 8.04, 'total': 31.95}, 'gpu': {'used': 0.0, 'total': 15.54}, 'retries': 0, 'oom': 0}
22:30:08-196700 DEBUG Script init: ['system-info.py:app_started=0.34', 'task_scheduler.py:app_started=0.21']
22:30:08-198699 DEBUG Save: file="D:\automatic\config.json" json=72 bytes=3222 time=0.003
22:30:08-200700 INFO Startup time: total=71.65 torch=41.79 launch=35.34 installer=35.12 checkpoint=17.77
libraries=3.23 ui-extensions=2.44 extensions=0.95 ui-settings=0.73 gradio=0.63 cleanup=0.58
app-started=0.55 ui-control=0.42 ui-txt2img=0.37 ui-networks=0.34 ui-models=0.33
ui-img2img=0.24 diffusers=0.21 api=0.17 ui-defaults=0.14 transformers=0.08 detailer=0.07
ui-extras=0.07 samplers=0.06 ui-gallery=0.05
22:30:08-217704 INFO Launching browser
22:30:12-743539 INFO API user=None code=200 http/1.1 GET /sdapi/v1/motd 127.0.0.1 1.0998
22:30:18-008973 INFO API user=None code=200 http/1.1 GET /sdapi/v1/sd-models 127.0.0.1 0.002
22:30:21-105046 INFO Browser session: user=None client=127.0.0.1 agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64)
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36
22:30:21-110047 INFO API user=None code=200 http/1.1 GET /sdapi/v1/start 127.0.0.1 0.006
22:30:21-125052 INFO UI: ready time=10.869
22:31:01-728663 DEBUG Pipeline switch: from=StableDiffusionXLPipeline to=StableDiffusionXLPAGPipeline
components=['vae', 'text_encoder', 'text_encoder_2', 'tokenizer', 'tokenizer_2', 'unet',
'scheduler', 'image_encoder', 'feature_extractor', 'force_zeros_for_empty_prompt']
skipped=['_class_name', '_diffusers_version'] missing=[]
22:31:01-740666 DEBUG Sampler: "DPM++ SDE" class=DPMSolverMultistepScheduler config={'num_train_timesteps': 1000,
'beta_start': 0.00085, 'beta_end': 0.012, 'beta_schedule': 'scaled_linear', 'solver_order': 1,
'prediction_type': 'epsilon', 'dynamic_thresholding_ratio': 0.995, 'sample_max_value': 1.0,
'algorithm_type': 'sde-dpmsolver++', 'solver_type': 'midpoint', 'lower_order_final': True,
'use_karras_sigmas': True, 'flow_shift': 1.0, 'final_sigmas_type': 'zero',
'lambda_min_clipped': -inf, 'timestep_spacing': 'linspace', 'steps_offset': 0}
22:31:01-817266 DEBUG Tokenizer: words=49447 file="configs/sdxl\tokenizer\vocab.json"
22:31:01-837270 DEBUG Prompt tokenizer: parser=native len=55 sections=1 tokens=12 weights=-1.00/0.83/1.00
22:31:01-918205 DEBUG Prompt tokenizer: parser=native len=252 sections=2 tokens=56 weights=-1.00/0.99/1.20
22:31:09-083199 INFO Base: pipeline=StableDiffusionXLPAGPipeline task=TEXT_2_IMAGE batch=1/1x1
set={'guidance_scale': 2, 'generator': 'xpu:[2254740707]', 'num_inference_steps': 6, 'eta':
1.0, 'guidance_rescale': 0.7, 'denoising_end': None, 'output_type': 'latent', 'width': 1024,
'height': 1024, 'pag_scale': 6, 'pag_adaptive_scaling': 0.5, 'pag_applied_layers_index':
['m0'], 'parser': 'native', 'prompt': 'embeds'}
Progress 3.35s/it ███████████████████████████████████ 100% 6/6 00:20 00:00 Base
22:31:29-296836 DEBUG Init hires: upscaler="ESRGAN 4x Ultrasharp" sampler="DPM++ SDE" resize=0x0 upscale=2048x2048
22:31:29-299837 INFO Upscale: mode=3 upscaler="ESRGAN 4x Ultrasharp" context="Add with forward" resize=0x0
upscale=2048x2048
22:31:31-888738 DEBUG Decode: vae="default" upcast=False slicing=True tiling=False latents=torch.Size([1, 4, 128,
128]):xpu:0:torch.bfloat16 time=2.586
22:31:33-478614 INFO Upscaler loaded: type=ESRGAN model=models\ESRGAN\ESRGAN-UltraSharp-4x.pth
Upscaling ---------------------------------------- 100% 0:00:00 0:00:12
22:31:48-790328 DEBUG GC: current={'gpu': 6.94, 'ram': 2.23, 'oom': 0} prev={'gpu': 10.81, 'ram': 2.23} load={'gpu':
45, 'ram': 7} gc={'gpu': 3.87, 'py': 228} fn=upscale:end why=threshold time=0.25
22:31:48-814333 DEBUG Image resize: source=1024:1024 target=2048:2048 mode="Fill" upscaler="ESRGAN 4x Ultrasharp"
type=image time=16.79 fn=process_hires:resize_hires
22:31:53-058481 INFO Save:
image="F:\06_STABLE_DIFFUSION\outputs\2025-02-22\00085-2025-02-22-dreamshaperXL_lightningDPMSD
E.jpg" type=JPEG width=2048 height=2048 size=1609978
22:31:53-063484 INFO Processed: images=1 its=0.12 time=51.34 timers={'pipeline': 20.12, 'hires': 19.54, 'move':
8.9, 'encode': 7.32, 'offload': 3.79, 'decode': 3.73, 'preview': 3.21, 'gc': 0.59, 'post':
0.51} memory={'ram': {'used': 7.01, 'total': 31.95}, 'gpu': {'used': 2.0, 'total': 15.54},
'retries': 0, 'oom': 0}
22:31:53-289535 DEBUG GC: current={'gpu': 2.0, 'ram': 7.01, 'oom': 0} prev={'gpu': 2.0, 'ram': 7.01} load={'gpu':
13, 'ram': 22} gc={'gpu': 0.0, 'py': 324} fn=process_images:process_images_inner why=final
time=0.22
22:31:59-603922 DEBUG Server: alive=True requests=84 memory=0/0 status='running' task='Load'
timestamp='20250222222950' id='' job=0 jobs=0 total=1 step=0 steps=0 queued=0 uptime=140
elapsed=129.17 eta=None progress=0
22:32:10-543739 DEBUG Save temp: image="F:\06_STABLE_DIFFUSION\outputs\temp\tmpi598uoci.png" width=1024 height=1024
size=1312510
22:32:14-676759 DEBUG Install: package="insightface" install required
22:32:31-220824 ERROR Install: pip: install --upgrade --force pydantic==1.10.21
22:32:31-222823 DEBUG Install: pip output Collecting pydantic==1.10.21
Using cached pydantic-1.10.21-cp310-cp310-win_amd64.whl (2.3 MB)
Collecting typing-extensions>=4.2.0
Using cached typing_extensions-4.12.2-py3-none-any.whl (37 kB)
Installing collected packages: typing-extensions, pydantic
Attempting uninstall: typing-extensions
Found existing installation: typing_extensions 4.12.2
Uninstalling typing_extensions-4.12.2:
Successfully uninstalled typing_extensions-4.12.2
Attempting uninstall: pydantic
Found existing installation: pydantic 1.10.21
Uninstalling pydantic-1.10.21:
Successfully uninstalled pydantic-1.10.21

                     ERROR: Could not install packages due to an OSError: [WinError 5] Access is denied:
                     'D:\\automatic\\venv\\Lib\\site-packages\\~ydantic\\annotated_types.cp310-win_amd64.pyd'
                     Check the permissions.


                     [notice] A new release of pip is available: 23.0.1 -> 25.0.1
                     [notice] To update, run: D:\automatic\venv\Scripts\python.exe -m pip install --upgrade pip

22:32:31-356854 DEBUG Reload: package=pydantic version=1.10.21
Progress 856.91it/s ██████████████████████ 100% 6/6 00:00 00:00 Fetching 6 files
22:32:55-768593 DEBUG Setting model: attention="Scaled-Dot-Product"
22:32:55-854613 INFO PuLID: class=StableDiffusionXLPuLIDPipeline version="v1.1" sdp=True strength=0.8 zero=20
ortho=v2 sampler=<function sample_dpmpp_sde at 0x0000026C09781B40> images=[(1024, 1024, 3)]
offload=True restore=False
22:33:12-762423 ERROR Exception: UR error
22:33:38-124788 ERROR Arguments: args=('task(rfnw41arawb14t0)', '', 'a photo of a man, medium shot, cinematic
lighting BREAK ', '(worst quality:1.2), (low quality:1.2), (normal quality:1.2), lowres, bad
anatomy, bad hands, signature, watermarks, ugly, imperfect eyes, skewed eyes, unnatural face,
unnatural body, error, extra limb, missing limbs, badhandv4, nsfw, nude, naked BREAK ', [], 6,
5, None, True, False, False, False, '', '', 10, 0.3, 1, 1, 2, 5, 0.7, 6, 0.5, 1, 2, -1.0,
-1.0, 0, 0, 0, 1024, 1024, True, 0.4, 2, 3, 'Add with forward', 'ESRGAN 4x Ultrasharp', False,
20, 0, 0, 6, 0, '', '', 0, 0, 0, 0, False, 4, 0.95, False, 0.6, 1, '#000000', 0, [], 20, 1,
False, 'None', 'None', 'None', 'None', 0.5, 0.5, 0.5, 0.5, None, None, None, None, False,
False, False, False, 0, 0, 0, 0, 1, 1, 1, 1, None, None, None, None, False, '', False, 20, '1,
2', [], 19, '4, 6', [], 0, '', [], False, True, False, True, False, False, True, False, 0,
False, 'None', 2, True, 1, 0, 1, -0.5, 0, 'constant', 1, 'constant', 1, '', '', '', 0.5, True,
True, False, True, True, False, '0.6, 0.4, 1.1, 1.2', '10, 20, 0.8', False, '', 0.5, 5, None,
'', 0.5, 5, None, 3, 1, 1, 0.8, 8, 64, True, 'None', [], 'ReSwapper 256 0.2', False, 'FaceID
Base', True, True, 1, 1, 1, 0.5, True, 'PhotoMaker v2', '', 1, 0.5, True, 2, True, 1, 35,
True, 1, 0.75, True, 2, 0.75, False, 3, 0.75, False, 4, 0.75, 0.65, True, False, 1, 1, 1, '',
True, 0.5, 600.0, 1.0, True, None, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0.5, 0.5, 1, 1, 128, 128,
'', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '',
'OpenGVLab/InternVL-14B-224px', 20, False, 0.7, 1.2, 128, False, False, 'positive', 'comma',
0, False, False, '', [{'name': 'F:\06_STABLE_DIFFUSION\outputs\temp\tmpi598uoci.png',
'data': 'http://127.0.0.1:7860/file=F:\06_STABLE_DIFFUSION\outputs\temp\tmpi598uoci.png',
'is_file': True}], 0.8, 20, 'dpmpp_sde', 'v2', False, True, 'v1.1', 'None', '', 1, '', 'None',
1, '7,8,9', 1, 0.01, 0.2, None, '', False, ['attention', 'adain_queries', 'adain_keys'], 1, 0,
0, True, 10, 22, True, 'None', 2, True, 1, 0, 'None', 16, 'None', 1, True, 'None', 2, True, 1,
0, True, 'none', 3, 4, 0.25, 0.25, 'THUDM/CogVideoX-2b', 'DDIM', 49, 6, 'balanced', True,
'None', 2, True, 1, 0, None, None, 'HunyuanVideo', 45, 16, True, 7, 'Describe the video by
detailing the following aspects:\n1. The main content and theme of the video.\n2. The color,
shape, size, texture, quantity, text, and spatial relationships of the objects.\n3. Actions,
events, behaviors temporal relationships, physical movement changes of the objects.\n4.
Background environment, light, style and atmosphere.\n5. Camera angles, movements, and
transitions used in the video.\n6. Thematic and aesthetic concepts associated with the scene,
i.e. realistic, futuristic, fairy tale, etc.\n', 'None', 2, True, 1, 0, '0.9.1', '',
'diffusers', True, 41, 'None', 2, True, 1, 0, False, 0.03, 45, 'None', 2, True, 1, 0, 'None',
True, 0, 'None', 2, True, 1, 0, 0, '', [], 0, '', [], 0, '', [], False, True, False, True,
False, False, False, False, 0, False, 'None', 2, True, 1, 0) kwargs={}
22:33:38-194276 ERROR gradio call: RuntimeError
┌───────────────────────────────────────── Traceback (most recent call last) ─────────────────────────────────────────┐
│ D:\automatic\modules\call_queue.py:31 in f │
│ │
│ 30 │ │ │ try: │
│ > 31 │ │ │ │ res = func(*args, **kwargs) │
│ 32 │ │ │ │ progress.record_results(id_task, res) │
│ │
│ D:\automatic\modules\txt2img.py:96 in txt2img │
│ │
│ 95 │ p.state = state │
│ > 96 │ processed: processing.Processed = scripts.scripts_txt2img.run(p, *args) │
│ 97 │ if processed is None: │
│ │
│ D:\automatic\modules\scripts.py:511 in run │
│ │
│ 510 │ │ if hasattr(script, 'run'): │
│ > 511 │ │ │ processed = script.run(p, *parsed) │
│ 512 │ │ else: │
│ │
│ D:\automatic\scripts\pulid_ext.py:252 in run │
│ │
│ 251 │ │ │ │ return None │
│ > 252 │ │ │ processed: processing.Processed = processing.process_images(p) # runs processing using main loop │
│ 253 │
│ │
│ D:\automatic\modules\processing.py:127 in process_images │
│ │
│ 126 │ timer.process.reset() │
│ > 127 │ debug(f'Process images: {vars(p)}') │
│ 128 │ if not hasattr(p.sd_model, 'sd_checkpoint_info'): │
│ │
│ D:\automatic\venv\lib\site-packages\torch_tensor.py:568 in repr
│ │
│ 567 │ │ # All strings are unicode in Python 3. │
│ > 568 │ │ return torch._tensor_str._str(self, tensor_contents=tensor_contents) │
│ 569 │
│ │
│ D:\automatic\venv\lib\site-packages\torch_tensor_str.py:704 in _str │
│ │
│ 703 │ │ guard = torch._C._DisableFuncTorch() │
│ > 704 │ │ return _str_intern(self, tensor_contents=tensor_contents) │
│ 705 │
│ │
│ D:\automatic\venv\lib\site-packages\torch_tensor_str.py:621 in _str_intern │
│ │
│ 620 │ │ │ │ │ else: │
│ > 621 │ │ │ │ │ │ tensor_str = _tensor_str(self, indent) │
│ 622 │
│ │
│ D:\automatic\venv\lib\site-packages\torch_tensor_str.py:353 in _tensor_str │
│ │
│ 352 │ else: │
│ > 353 │ │ formatter = _Formatter(get_summarized_data(self) if summarize else self) │
│ 354 │ │ return _tensor_str_with_formatter(self, indent, summarize, formatter) │
│ │
│ D:\automatic\venv\lib\site-packages\torch_tensor_str.py:181 in init
│ │
│ 180 │ │ │ │ if ( │
│ > 181 │ │ │ │ │ nonzero_finite_max / nonzero_finite_min > 1000.0 │
│ 182 │ │ │ │ │ or nonzero_finite_max > 1.0e8 │
└─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
RuntimeError: UR error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform Platform specific problem
Projects
None yet
Development

No branches or pull requests

3 participants