tvm version0.10
python3.8
GPU:Mali-G710 MC10(Dimensity 9000)
error log:
File “/home//tvm/tvm/python/tvm/_ffi/_ctypes/packed_func.py”, line 81, in cfun
rv = local_pyfunc(*pyargs)
File “/home/tvm/tvm/python/tvm/relay/op/strategy/generic.py”, line 268, in _compute_conv2d
return [topi_compute(*args)]
File “/home/.local/lib/python3.8/site-packages/decorator.py”, line 232, in fun
return caller(func, *(extras + args), **kw)
File “/home/tvm/tvm/python/tvm/target/generic_func.py”, line 289, in dispatch_func
return dispatch_dict[k](*args, **kwargs)
TypeError: conv2d_winograd_nhwc_mali() takes from 6 to 8 positional arguments but 9 were given
I have checked function conv2d_winograd_nhwc_mali in python/tvm/topi/mali/conv2d.py, and
it truely has only 8 arguments. But I don’t know what is the 9th argument I provided. I try to add a argument called need_auto_scheduler_layout=True, then another error raised:
File “/home/tvm/tvm/python/tvm/topi/nn/conv2d.py”, line 1062, in
_conv2d_winograd_nhwc_impl
assert HSTR == 1 and WSTR == 1 and KH == 3 and KW == 3