OSError: [WinError 193]
- Dominant language
- Python
- Stars
- 133k
- Forks
- 15.7k
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 158
Description
Good day to you,
I am using Automatic1111, but today decided to switch to ComfyUI once more, but I get the following error when starting "run_nvidia_gpu" (I do own such a card):
####################################################
C:\Users\fires\ComfyUI_windows_portable>.\python_embeded\python.exe -s ComfyUI\main.py --windows-standalone-build
** ComfyUI start up time: 2023-10-08 18:24:10.025363
Prestartup times for custom nodes:
0.0 seconds: C:\Users\fires\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager
Traceback (most recent call last):
File "C:\Users\fires\ComfyUI_windows_portable\ComfyUI\main.py", line 69, in
import comfy.utils
File "C:\Users\fires\ComfyUI_windows_portable\ComfyUI\comfy\utils.py", line 1, in
import torch
File "C:\Users\fires\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\__init__.py", line 128, in
raise err
OSError: [WinError 193] %1is not a valid Win32 application. Error loading "C:\Users\fires\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\lib\nvfuser_codegen.dll" or one of its dependencies.
C:\Users\fires\ComfyUI_windows_portable>pause
####################################################
Any idea? I installed the following, but to no avail:
pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu121
pip install -r requirements.txt
I use Windows 11 64bit and a Nvidia Geforce 3060 12GB.
What can I do?
Contributor guide
Assessment
This issue has not been assessed yet.