-
-
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] Cannot Install with --Use-ZLUDA, Will Not Work #3785
Comments
For whatever it is worth, if anyone else hits this error, I did this to coerce SD.Next to operate with ZLuda. Open CMD/Terminal Once complete, exit this. Open Webui.bat with --Use-Zluda as the only parameter. The installer does not install the correct versions of pytorch. These steps got SD.Next operational on my setup. |
Zluda has up to 30 minutes of compile time for the first use. Getting stuck at the first start of generation is expected with Zluda. Can't really debug further as the rest of the logs are cut-off. |
The odd thing is that once I manullay upgrade/install a pytorch that has CUDA support, I get the Compiling messages. And it works well from there. But it refuses to install from scratch. And I can get it to go so far if I use –use-directml. But then that also crashes with an error that pytorch has no CUDA support.
Would it helpful if I temporarily renamed the SDNEXT folder and did another fresh install? That would grab the original error message.
From: Disty0 ***@***.***>
Sent: Tuesday, February 25, 2025 8:52 PM
To: vladmandic/sdnext ***@***.***>
Cc: KhunDoug ***@***.***>; Author ***@***.***>
Subject: Re: [vladmandic/sdnext] [Issue] Cannot Install with --Use-ZLUDA, Will Not Work (Issue #3785)
Zluda has up to 30 minutes of compile time for the first use. Getting stuck at the first start of generation is expected with Zluda.
Can't really debug further as the rest of the logs are cut-off.
—
Reply to this email directly, view it on GitHub<#3785 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AHEUDWV6ILT2SOPZBYLFIQT2RUM35AVCNFSM6AAAAABX3WWDYKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMOBTGY4TCOJVGI>.
You are receiving this because you authored the thread.Message ID: ***@***.******@***.***>>
[Disty0]Disty0 left a comment (vladmandic/sdnext#3785)<#3785 (comment)>
Zluda has up to 30 minutes of compile time for the first use. Getting stuck at the first start of generation is expected with Zluda.
Can't really debug further as the rest of the logs are cut-off.
—
Reply to this email directly, view it on GitHub<#3785 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AHEUDWV6ILT2SOPZBYLFIQT2RUM35AVCNFSM6AAAAABX3WWDYKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMOBTGY4TCOJVGI>.
You are receiving this because you authored the thread.Message ID: ***@***.******@***.***>>
|
Issue Description
This is a clean install of SD.Next. The git pull works correctly and creates the SDNext folder inside my profile. I have Zluda installed and working correctly with Automatic1111 and ComfyUI.
The attempt to install with --use-zluda hit an error in the Python code and quits. I then tried to get things working with --use-directml. That gets as far as creating the VENV and looks correct. But then it bombs on an error that Torch is not compiled with CUDA support. At this point I tried using the --use-zluda and I get the webpage. I even have a model downloaded and installed. But trying to create a text to image just produces multiples instances of this:
16:44:00-269879 DEBUG Server: alive=True requests=459 memory=0/0 status='running' task='Load'
timestamp='20250225161553' id='task(wu9kkj2maxn0d7i)' job=0 jobs=0 total=1 step=0 steps=0
queued=0 uptime=1692 elapsed=1687.23 eta=None progress=0
I know Zluda and Python are working as I am able to ComfyUI and Automatic1111 and those work correctly, This error is isolated to SD.Next.
Version Platform Description
AMD Ryzen 5950X, XFX Radeon 6800XT, 64GB RAM, Windows 11 24H2
16:15:27-887166 INFO Starting SD.Next
16:15:27-891181 INFO Logger: file="C:\Users\Doug\sdnext\sdnext.log" level=DEBUG host="COLOSUSSUS5950AI" size=84
mode=create
16:15:27-893187 INFO Python: version=3.11.2 platform=Windows bin="C:\Users\Doug\sdnext\venv\Scripts\python.exe"
venv="C:\Users\Doug\sdnext\venv"
16:15:28-058593 INFO Version: app=sd.next updated=2025-02-24 hash=a1ab39bb branch=master
url=https://github.com/vladmandic/sdnext/tree/master ui=main
16:15:28-390275 INFO Platform: arch=AMD64 cpu=AMD64 Family 25 Model 33 Stepping 0, AuthenticAMD system=Windows
release=Windows-10-10.0.26100-SP0 python=3.11.2 locale=('English_United States', '1252')
docker=False
16:15:28-392281 DEBUG Packages: prefix=venv site=['venv', 'venv\Lib\site-packages']
16:15:28-392281 INFO Args: ['--use-zluda', '--debug']
16:15:28-394304 DEBUG Setting environment tuning
16:15:28-394304 DEBUG Torch allocator: "garbage_collection_threshold:0.80,max_split_size_mb:512"
16:15:28-398324 DEBUG Torch overrides: cuda=False rocm=False ipex=False directml=False openvino=False zluda=True
16:15:28-404354 INFO ROCm: AMD toolkit detected
16:15:28-776869 INFO ROCm: agents=['gfx1030']
16:15:28-776869 INFO ROCm: version=5.7, using agent gfx1030
16:15:28-778877 INFO Python: version=3.11.2 platform=Windows bin="C:\Users\Doug\sdnext\venv\Scripts\python.exe"
venv="C:\Users\Doug\sdnext\venv"
16:15:28-817119 INFO Using ZLUDA in C:\Users\Doug\sdnext.zluda
No ROCm runtime is found, using ROCM_HOME='C:\Program Files\AMD\ROCm\5.7'
16:15:30-482970 INFO Install: verifying requirements
16:15:30-529767 DEBUG Timestamp repository update time: Mon Feb 24 21:17:23 2025
16:15:30-531774 INFO Startup: standard
16:15:30-531774 INFO Verifying submodules
16:15:32-278719 DEBUG Git submodule: extensions-builtin/sd-extension-chainner / main
16:15:32-357121 DEBUG Git submodule: extensions-builtin/sd-extension-system-info / main
16:15:32-431777 DEBUG Git submodule: extensions-builtin/sd-webui-agent-scheduler / main
16:15:32-544431 DEBUG Git detached head detected: folder="extensions-builtin/sdnext-modernui" reattach=main
16:15:32-544431 DEBUG Git submodule: extensions-builtin/sdnext-modernui / main
16:15:32-618866 DEBUG Git submodule: extensions-builtin/stable-diffusion-webui-rembg / master
16:15:32-697250 DEBUG Git submodule: modules/k-diffusion / master
16:15:32-771618 DEBUG Git submodule: wiki / master
16:15:32-817874 DEBUG Register paths
16:15:32-880187 DEBUG Installed packages: 174
16:15:32-880187 DEBUG Extensions all: ['Lora', 'sd-extension-chainner', 'sd-extension-system-info',
'sd-webui-agent-scheduler', 'sdnext-modernui', 'stable-diffusion-webui-rembg']
16:15:33-057813 DEBUG Extension installer:
C:\Users\Doug\sdnext\extensions-builtin\sd-webui-agent-scheduler\install.py
16:15:35-529987 DEBUG Extension installer:
C:\Users\Doug\sdnext\extensions-builtin\stable-diffusion-webui-rembg\install.py
16:15:44-264654 DEBUG Extensions all: []
16:15:44-264654 INFO Extensions enabled: ['Lora', 'sd-extension-chainner', 'sd-extension-system-info',
'sd-webui-agent-scheduler', 'sdnext-modernui', 'stable-diffusion-webui-rembg']
16:15:44-266659 INFO Install: verifying requirements
16:15:44-266659 DEBUG Setup complete without errors: 1740518144
Relevant log output
Backend
Diffusers
UI
Standard
Branch
Master
Model
StableDiffusion 1.5
Acknowledgements
The text was updated successfully, but these errors were encountered: