目录
JITFunction.__init__() got an unexpected keyword argument 'debug'
报错代码:import xformers.ops
import xformers.ops
最后发现是xformers调用了triton,
File "D:\ProgramData\miniconda3\envs\follow_pose\lib\site-packages\triton\runtime\jit.py", line 389, in decorator
return JITFunction(fn, **kwargs)
TypeError: JITFunction.__init__() got an unexpected keyword argument 'debug'
临时解决方法:
triton的api函数加了一个参数debug
envs\xxx\Lib\site-packages\triton\runtime\jit.py
def __init__(self, fn, version=None, do_not_specialize=None,debug=False):