-
-
Notifications
You must be signed in to change notification settings - Fork 458
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
Comments
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. |
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)" python.exe -m pip install --upgrade pip and tested on DreamShaper XL Lighting DPM++ SDE, but it didn't help Relevant log output19:20:55-379139 DEBUG Save temp: image="F:\06_STABLE_DIFFUSION\outputs\temp\tmprf8baq9c.png" width=1024 height=1024 size=1206263 19:21:24-484233 DEBUG Setting model: attention="Scaled-Dot-Product" |
You installed PyTorch for CUDA, not Intel. |
I deleted the venv folder, then cmd 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 |
this should go away on server restart as first time it needed it, pulid installed it.
exactly like it says - you're using PAG and its only implemented for txt2img, not img2img. |
After restarting server image generation stopped working with this error: In openai github someone adviced to And it fixed image generation, but PuLID error returned Log outputD:\automatic>.\webui.bat --use-ipex --upgrade --autolaunch --debug
22:32:31-356854 DEBUG Reload: package=pydantic version=1.10.21 |
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
Backend
Diffusers
UI
Standard
Branch
Master
Model
StableDiffusion XL
Acknowledgements
The text was updated successfully, but these errors were encountered: