Describe the bug
Got this message in ComfyUI:
WanMoeKSamplerAdvanced
Command '['D:\\Other\\ComfyUI_windows_portable\\python_embeded\\Lib\\site-packages\\triton\\runtime\\tcc\\tcc.exe', 'C:\\Users\\Aorus\\AppData\\Local\\Temp\\tmpenzlzf6h\\cuda_utils.c', '-O3', '-shared', '-Wno-psabi', '-o', 'C:\\Users\\Aorus\\AppData\\Local\\Temp\\tmpenzlzf6h\\cuda_utils.cp313-win_amd64.pyd', '-fPIC', '-D_Py_USE_GCC_BUILTIN_ATOMICS', '-lcuda', '-lpython313', '-LD:\\Other\\ComfyUI_windows_portable\\python_embeded\\Lib\\site-packages\\triton\\backends\\nvidia\\lib', '-LD:\\Other\\ComfyUI_windows_portable\\python_embeded\\Lib\\site-packages\\triton\\backends\\nvidia\\lib\\x64', '-ID:\\Other\\ComfyUI_windows_portable\\python_embeded\\Lib\\site-packages\\triton\\backends\\nvidia\\include', '-ID:\\Other\\ComfyUI_windows_portable\\python_embeded\\Lib\\site-packages\\triton\\backends\\nvidia\\include', '-IC:\\Users\\Aorus\\AppData\\Local\\Temp\\tmpenzlzf6h', '-ID:\\Other\\ComfyUI_windows_portable\\python_embeded\\Include']' returned non-zero exit status 1.
Ran test_triton from your troubleshooting section. Stumbled upon the same message:
PS D:\Other\ComfyUI_windows_portable> .\python_embeded\python.exe .\test_triton.py
D:\Other\ComfyUI_windows_portable\python_embeded\Lib\site-packages\triton\windows_utils.py:323: UserWarning: Failed to find Python libs.
warnings.warn("Failed to find Python libs.")
C:/Users/Aorus/AppData/Local/Temp/tmpu82jlruc/cuda_utils.c:13: error: include file 'Python.h' not found
Failed to compile. cc_cmd: ['D:\\Other\\ComfyUI_windows_portable\\python_embeded\\Lib\\site-packages\\triton\\runtime\\tcc\\tcc.exe', 'C:\\Users\\Aorus\\AppData\\Local\\Temp\\tmpu82jlruc\\cuda_utils.c', '-O3', '-shared', '-Wno-psabi', '-o', 'C:\\Users\\Aorus\\AppData\\Local\\Temp\\tmpu82jlruc\\cuda_utils.cp313-win_amd64.pyd', '-fPIC', '-D_Py_USE_GCC_BUILTIN_ATOMICS', '-lcuda', '-lpython313', '-LD:\\Other\\ComfyUI_windows_portable\\python_embeded\\Lib\\site-packages\\triton\\backends\\nvidia\\lib', '-LD:\\Other\\ComfyUI_windows_portable\\python_embeded\\Lib\\site-packages\\triton\\backends\\nvidia\\lib\\x64', '-ID:\\Other\\ComfyUI_windows_portable\\python_embeded\\Lib\\site-packages\\triton\\backends\\nvidia\\include', '-ID:\\Other\\ComfyUI_windows_portable\\python_embeded\\Lib\\site-packages\\triton\\backends\\nvidia\\include', '-IC:\\Users\\Aorus\\AppData\\Local\\Temp\\tmpu82jlruc', '-ID:\\Other\\ComfyUI_windows_portable\\python_embeded\\Include']
Traceback (most recent call last):
File "D:\Other\ComfyUI_windows_portable\test_triton.py", line 25, in <module>
b_compiled = add(a, a)
File "D:\Other\ComfyUI_windows_portable\test_triton.py", line 20, in add
add_kernel[grid](x, y, output, n_elements, BLOCK_SIZE=1024)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Other\ComfyUI_windows_portable\python_embeded\Lib\site-packages\triton\runtime\jit.py", line 390, in <lambda>
return lambda *args, **kwargs: self.run(grid=grid, warmup=False, *args, **kwargs)
~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Other\ComfyUI_windows_portable\python_embeded\Lib\site-packages\triton\runtime\jit.py", line 551, in run
device = driver.active.get_current_device()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Other\ComfyUI_windows_portable\python_embeded\Lib\site-packages\triton\runtime\driver.py", line 30, in __getattr__
return getattr(self._initialize_obj(), name)
~~~~~~~~~~~~~~~~~~~~^^
File "D:\Other\ComfyUI_windows_portable\python_embeded\Lib\site-packages\triton\runtime\driver.py", line 26, in _initialize_obj
self._obj = self._init_fn()
~~~~~~~~~~~~~^^
File "D:\Other\ComfyUI_windows_portable\python_embeded\Lib\site-packages\triton\runtime\driver.py", line 12, in _create_driver
return active_drivers[0]()
~~~~~~~~~~~~~~~~~^^
File "D:\Other\ComfyUI_windows_portable\python_embeded\Lib\site-packages\triton\backends\nvidia\driver.py", line 751, in __init__
self.utils = CudaUtils() # TODO: make static
~~~~~~~~~^^
File "D:\Other\ComfyUI_windows_portable\python_embeded\Lib\site-packages\triton\backends\nvidia\driver.py", line 68, in __init__
mod = compile_module_from_src(
src=Path(os.path.join(dirname, "driver.c")).read_text(),
...<3 lines>...
libraries=libraries,
)
File "D:\Other\ComfyUI_windows_portable\python_embeded\Lib\site-packages\triton\runtime\build.py", line 162, in compile_module_from_src
so = _build(name, src_path, tmpdir, library_dirs or [], include_dirs or [], libraries or [])
File "D:\Other\ComfyUI_windows_portable\python_embeded\Lib\site-packages\triton\runtime\build.py", line 122, in _build
raise e
File "D:\Other\ComfyUI_windows_portable\python_embeded\Lib\site-packages\triton\runtime\build.py", line 119, in _build
ret = subprocess.check_call(cc_cmd)
File "subprocess.py", line 419, in check_call
subprocess.CalledProcessError: Command '['D:\\Other\\ComfyUI_windows_portable\\python_embeded\\Lib\\site-packages\\triton\\runtime\\tcc\\tcc.exe', 'C:\\Users\\Aorus\\AppData\\Local\\Temp\\tmpu82jlruc\\cuda_utils.c', '-O3', '-shared', '-Wno-psabi', '-o', 'C:\\Users\\Aorus\\AppData\\Local\\Temp\\tmpu82jlruc\\cuda_utils.cp313-win_amd64.pyd', '-fPIC', '-D_Py_USE_GCC_BUILTIN_ATOMICS', '-lcuda', '-lpython313', '-LD:\\Other\\ComfyUI_windows_portable\\python_embeded\\Lib\\site-packages\\triton\\backends\\nvidia\\lib', '-LD:\\Other\\ComfyUI_windows_portable\\python_embeded\\Lib\\site-packages\\triton\\backends\\nvidia\\lib\\x64', '-ID:\\Other\\ComfyUI_windows_portable\\python_embeded\\Lib\\site-packages\\triton\\backends\\nvidia\\include', '-ID:\\Other\\ComfyUI_windows_portable\\python_embeded\\Lib\\site-packages\\triton\\backends\\nvidia\\include', '-IC:\\Users\\Aorus\\AppData\\Local\\Temp\\tmpu82jlruc', '-ID:\\Other\\ComfyUI_windows_portable\\python_embeded\\Include']' returned non-zero exit status 1.
Ran your script as admin with dlltracer, named it test_triton2.py:
PS D:\Other\ComfyUI_windows_portable> .\python_embeded\python.exe .\test_triton2.py
import torch
LoadLibrary C:\Windows\System32\kernel.appcore.dll
LoadLibrary D:\Other\ComfyUI_windows_portable\python_embeded\_ctypes.pyd
LoadLibrary C:\Windows\System32\ole32.dll
LoadLibrary D:\Other\ComfyUI_windows_portable\python_embeded\libffi-8.dll
LoadLibrary C:\Windows\System32\combase.dll
LoadLibrary C:\Windows\System32\oleaut32.dll
LoadLibrary D:\Other\ComfyUI_windows_portable\python_embeded\_wmi.pyd
LoadLibrary D:\Other\ComfyUI_windows_portable\python_embeded\vcruntime140_1.dll
LoadLibrary C:\Windows\System32\propsys.dll
LoadLibrary D:\Other\ComfyUI_windows_portable\python_embeded\_socket.pyd
LoadLibrary D:\Other\ComfyUI_windows_portable\python_embeded\_bz2.pyd
LoadLibrary D:\Other\ComfyUI_windows_portable\python_embeded\_lzma.pyd
LoadLibrary D:\Other\ComfyUI_windows_portable\python_embeded\select.pyd
LoadLibrary C:\Windows\System32\msvcp140.dll
LoadLibrary C:\Windows\System32\uxtheme.dll
LoadLibrary C:\Windows\System32\clbcatq.dll
LoadLibrary C:\Windows\System32\wbem\wbemprox.dll
LoadLibrary C:\Windows\System32\wbemcomn.dll
LoadLibrary C:\Windows\System32\wbem\wbemsvc.dll
LoadLibrary C:\Windows\System32\wbem\fastprox.dll
LoadLibrary C:\Windows\System32\amsi.dll
LoadLibrary C:\Windows\System32\userenv.dll
LoadLibrary C:\Windows\System32\profapi.dll
LoadLibrary C:\ProgramData\Microsoft\Windows Defender\Platform\4.18.25080.5-0\MpOAV.dll
Failed \Device\HarddiskVolume3\Windows\System32\wbem\wbemsvc.dll
Failed \Device\HarddiskVolume3\Windows\System32\wbem\fastprox.dll
Failed \Device\HarddiskVolume3\Windows\System32\wbemcomn.dll
Failed \Device\HarddiskVolume3\Windows\System32\wbem\wbemprox.dll
LoadLibrary C:\Windows\System32\wbem\wbemprox.dll
LoadLibrary C:\Windows\System32\wbemcomn.dll
LoadLibrary C:\Windows\System32\wbem\wbemsvc.dll
LoadLibrary C:\Windows\System32\wbem\fastprox.dll
Failed \Device\HarddiskVolume3\Windows\System32\wbem\wbemsvc.dll
Failed \Device\HarddiskVolume3\Windows\System32\wbem\fastprox.dll
Failed \Device\HarddiskVolume3\Windows\System32\wbemcomn.dll
Failed \Device\HarddiskVolume3\Windows\System32\wbem\wbemprox.dll
LoadLibrary D:\Other\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\lib\asmjit.dll
LoadLibrary D:\Other\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\lib\c10.dll
LoadLibrary C:\Windows\System32\dbghelp.dll
LoadLibrary D:\Other\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\lib\c10_cuda.dll
LoadLibrary D:\Other\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\lib\cudart64_12.dll
LoadLibrary C:\Windows\System32\cryptbase.dll
LoadLibrary D:\Other\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\lib\caffe2_nvrtc.dll
LoadLibrary D:\Other\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\lib\nvrtc64_120_0.dll
LoadLibrary C:\Windows\System32\shell32.dll
LoadLibrary C:\Windows\System32\WinTypes.dll
LoadLibrary D:\Other\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\lib\cublas64_12.dll
LoadLibrary D:\Other\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\lib\cublasLt64_12.dll
LoadLibrary C:\Windows\System32\nvcuda.dll
LoadLibrary D:\Other\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\lib\cudnn64_9.dll
LoadLibrary D:\Other\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\lib\cudnn_adv64_9.dll
LoadLibrary D:\Other\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\lib\cudnn_graph64_9.dll
LoadLibrary D:\Other\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\lib\cudnn_ops64_9.dll
LoadLibrary D:\Other\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\lib\cudnn_cnn64_9.dll
LoadLibrary D:\Other\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\lib\cudnn_engines_precompiled64_9.dll
LoadLibrary D:\Other\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\lib\cudnn_engines_runtime_compiled64_9.dll
LoadLibrary D:\Other\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\lib\cudnn_heuristic64_9.dll
LoadLibrary D:\Other\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\lib\cufft64_11.dll
LoadLibrary D:\Other\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\lib\cufftw64_11.dll
LoadLibrary D:\Other\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\lib\cupti64_2025.2.1.dll
LoadLibrary D:\Other\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\lib\curand64_10.dll
LoadLibrary D:\Other\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\lib\cusolver64_11.dll
LoadLibrary D:\Other\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\lib\cusparse64_12.dll
LoadLibrary D:\Other\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\lib\nvJitLink_120_0.dll
LoadLibrary D:\Other\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\lib\cusolverMg64_11.dll
LoadLibrary D:\Other\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\lib\fbgemm.dll
LoadLibrary D:\Other\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\lib\libiomp5md.dll
LoadLibrary C:\Windows\System32\wintrust.dll
LoadLibrary C:\Windows\System32\imagehlp.dll
LoadLibrary C:\Windows\System32\crypt32.dll
LoadLibrary C:\Windows\System32\msasn1.dll
LoadLibrary D:\Other\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\lib\libiompstubs5md.dll
LoadLibrary D:\Other\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\lib\nvrtc-builtins64_129.dll
LoadLibrary D:\Other\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\lib\nvrtc64_120_0.alt.dll
LoadLibrary D:\Other\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\lib\shm.dll
LoadLibrary D:\Other\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\lib\torch_cpu.dll
LoadLibrary D:\Other\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\lib\torch_cuda.dll
LoadLibrary D:\Other\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\lib\torch.dll
LoadLibrary D:\Other\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\lib\torch_global_deps.dll
LoadLibrary D:\Other\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\lib\torch_python.dll
LoadLibrary D:\Other\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\lib\uv.dll
LoadLibrary C:\Windows\System32\psapi.dll
LoadLibrary D:\Other\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\lib\zlibwapi.dll
LoadLibrary D:\Other\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\_C.cp313-win_amd64.pyd
LoadLibrary D:\Other\ComfyUI_windows_portable\python_embeded\Lib\site-packages\numpy\_core\_multiarray_umath.cp313-win_amd64.pyd
LoadLibrary D:\Other\ComfyUI_windows_portable\python_embeded\Lib\site-packages\numpy.libs\msvcp140-263139962577ecda4cd9469ca360a746.dll
LoadLibrary D:\Other\ComfyUI_windows_portable\python_embeded\Lib\site-packages\numpy.libs\libscipy_openblas64_-13e2df515630b4a41f92893938845698.dll
LoadLibrary D:\Other\ComfyUI_windows_portable\python_embeded\Lib\site-packages\numpy\linalg\_umath_linalg.cp313-win_amd64.pyd
LoadLibrary D:\Other\ComfyUI_windows_portable\python_embeded\_queue.pyd
LoadLibrary D:\Other\ComfyUI_windows_portable\python_embeded\_hashlib.pyd
LoadLibrary D:\Other\ComfyUI_windows_portable\python_embeded\libcrypto-3.dll
LoadLibrary D:\Other\ComfyUI_windows_portable\python_embeded\_ssl.pyd
LoadLibrary D:\Other\ComfyUI_windows_portable\python_embeded\libssl-3.dll
LoadLibrary D:\Other\ComfyUI_windows_portable\python_embeded\unicodedata.pyd
LoadLibrary D:\Other\ComfyUI_windows_portable\python_embeded\_multiprocessing.pyd
LoadLibrary D:\Other\ComfyUI_windows_portable\python_embeded\_asyncio.pyd
LoadLibrary D:\Other\ComfyUI_windows_portable\python_embeded\_overlapped.pyd
LoadLibrary C:\Windows\System32\mswsock.dll
import triton
LoadLibrary D:\Other\ComfyUI_windows_portable\python_embeded\Lib\site-packages\triton\_C\libtriton.pyd
LoadLibrary D:\Other\ComfyUI_windows_portable\python_embeded\_decimal.pyd
begin definition
begin torch add
LoadLibrary C:\Windows\System32\DXCore.dll
LoadLibrary C:\Windows\System32\DriverStore\FileRepository\nv_dispig.inf_amd64_0afec3f2050014a0\nvcuda64.dll
LoadLibrary C:\Windows\System32\shlwapi.dll
LoadLibrary C:\Windows\System32\cryptnet.dll
LoadLibrary C:\Windows\System32\wldp.dll
LoadLibrary C:\Windows\System32\drvstore.dll
LoadLibrary C:\Windows\System32\nvapi64.dll
LoadLibrary C:\Windows\System32\setupapi.dll
LoadLibrary C:\Windows\System32\DriverStore\FileRepository\nv_dispig.inf_amd64_0afec3f2050014a0\nvdxgdmal64.dll
begin jit add
D:\Other\ComfyUI_windows_portable\python_embeded\Lib\site-packages\triton\windows_utils.py:323: UserWarning: Failed to find Python libs.
warnings.warn("Failed to find Python libs.")
C:/Users/Aorus/AppData/Local/Temp/tmpgcru32fi/cuda_utils.c:13: error: include file 'Python.h' not found
Failed to compile. cc_cmd: ['D:\\Other\\ComfyUI_windows_portable\\python_embeded\\Lib\\site-packages\\triton\\runtime\\tcc\\tcc.exe', 'C:\\Users\\Aorus\\AppData\\Local\\Temp\\tmpgcru32fi\\cuda_utils.c', '-O3', '-shared', '-Wno-psabi', '-o', 'C:\\Users\\Aorus\\AppData\\Local\\Temp\\tmpgcru32fi\\cuda_utils.cp313-win_amd64.pyd', '-fPIC', '-D_Py_USE_GCC_BUILTIN_ATOMICS', '-lcuda', '-lpython313', '-LD:\\Other\\ComfyUI_windows_portable\\python_embeded\\Lib\\site-packages\\triton\\backends\\nvidia\\lib', '-LD:\\Other\\ComfyUI_windows_portable\\python_embeded\\Lib\\site-packages\\triton\\backends\\nvidia\\lib\\x64', '-ID:\\Other\\ComfyUI_windows_portable\\python_embeded\\Lib\\site-packages\\triton\\backends\\nvidia\\include', '-ID:\\Other\\ComfyUI_windows_portable\\python_embeded\\Lib\\site-packages\\triton\\backends\\nvidia\\include', '-IC:\\Users\\Aorus\\AppData\\Local\\Temp\\tmpgcru32fi', '-ID:\\Other\\ComfyUI_windows_portable\\python_embeded\\Include']
Traceback (most recent call last):
File "D:\Other\ComfyUI_windows_portable\test_triton2.py", line 41, in <module>
b_compiled = add(a, a)
File "D:\Other\ComfyUI_windows_portable\test_triton2.py", line 31, in add
add_kernel[grid](x, y, output, n_elements, BLOCK_SIZE=1024)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Other\ComfyUI_windows_portable\python_embeded\Lib\site-packages\triton\runtime\jit.py", line 390, in <lambda>
return lambda *args, **kwargs: self.run(grid=grid, warmup=False, *args, **kwargs)
~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Other\ComfyUI_windows_portable\python_embeded\Lib\site-packages\triton\runtime\jit.py", line 551, in run
device = driver.active.get_current_device()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Other\ComfyUI_windows_portable\python_embeded\Lib\site-packages\triton\runtime\driver.py", line 30, in __getattr__
return getattr(self._initialize_obj(), name)
~~~~~~~~~~~~~~~~~~~~^^
File "D:\Other\ComfyUI_windows_portable\python_embeded\Lib\site-packages\triton\runtime\driver.py", line 26, in _initialize_obj
self._obj = self._init_fn()
~~~~~~~~~~~~~^^
File "D:\Other\ComfyUI_windows_portable\python_embeded\Lib\site-packages\triton\runtime\driver.py", line 12, in _create_driver
return active_drivers[0]()
~~~~~~~~~~~~~~~~~^^
File "D:\Other\ComfyUI_windows_portable\python_embeded\Lib\site-packages\triton\backends\nvidia\driver.py", line 751, in __init__
self.utils = CudaUtils() # TODO: make static
~~~~~~~~~^^
File "D:\Other\ComfyUI_windows_portable\python_embeded\Lib\site-packages\triton\backends\nvidia\driver.py", line 68, in __init__
mod = compile_module_from_src(
src=Path(os.path.join(dirname, "driver.c")).read_text(),
...<3 lines>...
libraries=libraries,
)
File "D:\Other\ComfyUI_windows_portable\python_embeded\Lib\site-packages\triton\runtime\build.py", line 162, in compile_module_from_src
so = _build(name, src_path, tmpdir, library_dirs or [], include_dirs or [], libraries or [])
File "D:\Other\ComfyUI_windows_portable\python_embeded\Lib\site-packages\triton\runtime\build.py", line 122, in _build
raise e
File "D:\Other\ComfyUI_windows_portable\python_embeded\Lib\site-packages\triton\runtime\build.py", line 119, in _build
ret = subprocess.check_call(cc_cmd)
File "subprocess.py", line 419, in check_call
subprocess.CalledProcessError: Command '['D:\\Other\\ComfyUI_windows_portable\\python_embeded\\Lib\\site-packages\\triton\\runtime\\tcc\\tcc.exe', 'C:\\Users\\Aorus\\AppData\\Local\\Temp\\tmpgcru32fi\\cuda_utils.c', '-O3', '-shared', '-Wno-psabi', '-o', 'C:\\Users\\Aorus\\AppData\\Local\\Temp\\tmpgcru32fi\\cuda_utils.cp313-win_amd64.pyd', '-fPIC', '-D_Py_USE_GCC_BUILTIN_ATOMICS', '-lcuda', '-lpython313', '-LD:\\Other\\ComfyUI_windows_portable\\python_embeded\\Lib\\site-packages\\triton\\backends\\nvidia\\lib', '-LD:\\Other\\ComfyUI_windows_portable\\python_embeded\\Lib\\site-packages\\triton\\backends\\nvidia\\lib\\x64', '-ID:\\Other\\ComfyUI_windows_portable\\python_embeded\\Lib\\site-packages\\triton\\backends\\nvidia\\include', '-ID:\\Other\\ComfyUI_windows_portable\\python_embeded\\Lib\\site-packages\\triton\\backends\\nvidia\\include', '-IC:\\Users\\Aorus\\AppData\\Local\\Temp\\tmpgcru32fi', '-ID:\\Other\\ComfyUI_windows_portable\\python_embeded\\Include']' returned non-zero exit status 1.
Environment details
GPU: 4070 Super
When I launch ComfyUI it shows these versions:
Python version: 3.13.6
pytorch version: 2.8.0+cu129
Based on pytorch version I've done:
.\python_embeded\python.exe -m pip install -U "triton-windows<3.5"
.\python_embeded\python.exe -m pip show triton-windows
shows 3.4.0.post20
Describe the bug
Got this message in ComfyUI:
Ran test_triton from your troubleshooting section. Stumbled upon the same message:
Ran your script as admin with dlltracer, named it test_triton2.py:
Environment details
GPU: 4070 Super
When I launch ComfyUI it shows these versions:
Python version: 3.13.6
pytorch version: 2.8.0+cu129
Based on pytorch version I've done:
.\python_embeded\python.exe -m pip install -U "triton-windows<3.5"
.\python_embeded\python.exe -m pip show triton-windows
shows 3.4.0.post20