woct0rdho / triton-windows

Fork of the Triton language and compiler for Windows support
MIT License
146 stars 8 forks source link

Continuously Failing Test #16

Open Fade07w opened 5 hours ago

Fade07w commented 5 hours ago

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"

woct0rdho commented 2 hours ago

Please send your C:\Users\Rob\AppData\Local\Programs\Python\Python312\Lib\ctypes\_init_.py here. Maybe this file is corrupted