Pytorch: 3.12.6
PS X:\ComfyUI_windows_portable\python_embeded> nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2024 NVIDIA Corporation
Built on Wed_Apr_17_19:36:51_Pacific_Daylight_Time_2024
Cuda compilation tools, release 12.5, V12.5.40
Build cuda_12.5.r12.5/compiler.34177558_0
triton 3.0.0
"PS X:\ComfyUI_windows_portable\python_embeded> python triton_add_kernel.py
Traceback (most recent call last):
File "X:\ComfyUI_windows_portable\python_embeded\triton_add_kernel.py", line 2, in
import torch
File "C:\Users\Rob\AppData\Local\Programs\Python\Python312\Lib\site-packages\torch__init.py", line 14, in
import ctypes
File "C:\Users\Rob\AppData\Local\Programs\Python\Python312\Lib\ctypes\init__.py", line 157, in
class py_object(_SimpleCData):
AttributeError: class must define a 'type' attribute"
Pytorch: 3.12.6 PS X:\ComfyUI_windows_portable\python_embeded> nvcc --version nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2024 NVIDIA Corporation Built on Wed_Apr_17_19:36:51_Pacific_Daylight_Time_2024 Cuda compilation tools, release 12.5, V12.5.40 Build cuda_12.5.r12.5/compiler.34177558_0 triton 3.0.0
"PS X:\ComfyUI_windows_portable\python_embeded> python triton_add_kernel.py Traceback (most recent call last): File "X:\ComfyUI_windows_portable\python_embeded\triton_add_kernel.py", line 2, in
import torch
File "C:\Users\Rob\AppData\Local\Programs\Python\Python312\Lib\site-packages\torch__init.py", line 14, in
import ctypes
File "C:\Users\Rob\AppData\Local\Programs\Python\Python312\Lib\ctypes\ init__.py", line 157, in
class py_object(_SimpleCData):
AttributeError: class must define a 'type' attribute"