Error after updating to latest Portable
Your question
after updating to latest i keep getting the error below , even downgrading or installing in new path i still get the error , please help , i have no clue what the cause is
CalledProcessError: Command '['D:\0-Main Programs\sd.webui\0ComfyUI_windows_portable\python_embeded\Lib\site-packages\triton\runtime\tcc\tcc.exe', 'C:\Users\ASUS\AppData\Local\Temp\tmp9o3fj1do\cuda_utils.c', '-O3', '-shared', '-Wno-psabi', '-o', 'C:\Users\ASUS\AppData\Local\Temp\tmp9o3fj1do\cuda_utils.cp312-win_amd64.pyd', '-fPIC', '-lcuda', '-lpython3', '-LD:\0-Main Programs\sd.webui\0ComfyUI_windows_portable\python_embeded\Lib\site-packages\triton\backends\nvidia\lib', '-LC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.4\lib\x64', '-ID:\0-Main Programs\sd.webui\0ComfyUI_windows_portable\python_embeded\Lib\site-packages\triton\backends\nvidia\include', '-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.4\include', '-IC:\Users\ASUS\AppData\Local\Temp\tmp9o3fj1do', '-ID:\0-Main Programs\sd.webui\0ComfyUI_windows_portable\python_embeded\Include']' returned non-zero exit status 1.
Set TORCHDYNAMO_VERBOSE=1 for the internal stack trace (please do this especially if you're reporting a bug to PyTorch). For even more developer context, set TORCH_LOGS="+dynamo"
Logs
Other
No response
I guess this issue is related to following PR. https://github.com/comfyanonymous/ComfyUI/pull/7200
Currently, the portable version is being distributed without the necessary files, so instead of downloading the portable version, try setting it up by creating a venv manually.
https://youtu.be/DW6_S7PId-0
I guess this issue is related to following PR. #7200
Currently, the portable version is being distributed without the necessary files, so instead of downloading the portable version, try setting it up by creating a venv manually.
https://youtu.be/DW6_S7PId-0
followed perfectly now i get this
backend='inductor' raised: RuntimeError: Cannot find a working triton installation. Either the package is not installed or it is too old. More information on installing Triton can be found at https://github.com/openai/triton
Set TORCH_LOGS="+dynamo" and TORCHDYNAMO_VERBOSE=1 for more information
You can suppress this exception and fall back to eager by setting: import torch._dynamo torch._dynamo.config.suppress_errors = True
What is your GPU?
rtx 4080 16gb vram
So, is it ok to use Portable and install the triton_windows package manually?
i tried manually , it still gives me errors , i have no clue why the portable version is so messed up , whats the point of including it if not all the files are there , wasted two days trying to fix this
fixed by using
Download the Triton “include_libs” archive for your Python version: https://github.com/woct0rdho/triton-windows/releases/download/v3.0.0-windows.post1/python_3.12.7_include_libs.zip
Unzip it into your portable’s python_embeded/ so that you end up with:
bash Copy Edit ComfyUI_windows_portable/ python_embeded/ Include/Python.h libs/python3.lib ... Re-launch ComfyUI. Triton’s tcc.exe should now locate Python.h and successfully build cuda_utils.pyd. github.com
通过使用 fixed
下载适用于您的 Python 版本的 Triton “include_libs” 存档:https://github.com/woct0rdho/triton-windows/releases/download/v3.0.0-windows.post1/python_3.12.7_include_libs.zip
将其解压缩到便携式设备的 python_embeded/ 中,这样您就会得到:
bash 复制编辑 ComfyUI_windows_portable/ python_embeded/ include/python.h libs/python3.lib ...重新启动 ComfyUI。Triton 的 tcc.exe 现在应该找到 Python.h 并成功构建 cuda_utils.pyd。 github.com
I found that in pypi, there is triton_windows.whL, ranging from python3.9 to python3.12.
So the portable version only requires opening powershell in the python_embeded directory and executing this command: ".\python.exe -m pip install triton_windows"
This issue is being marked stale because it has not had any activity for 30 days. Reply below within 7 days if your issue still isn't solved, and it will be left open. Otherwise, the issue will be closed automatically.
disable torch compile node
fixed by using
Download the Triton “include_libs” archive for your Python version: https://github.com/woct0rdho/triton-windows/releases/download/v3.0.0-windows.post1/python_3.12.7_include_libs.zip
Unzip it into your portable’s python_embeded/ so that you end up with:
bash Copy Edit ComfyUI_windows_portable/ python_embeded/ Include/Python.h libs/python3.lib ... Re-launch ComfyUI. Triton’s tcc.exe should now locate Python.h and successfully build cuda_utils.pyd. github.com
Oh my god, thank you, I was trying to fix this for a day. Was getting the same error trying to use Qwen3-VL
Hi i get the same error in desktop version but i dont know how to fix it because i dont have python_embeded/ dir can you tell me where put the files and wich one exactly ? only Include/Python.h libs/python3.lib right ? thks