Hi, I tried the following code:
``` # logging config (for printing tuning log to screen) logging.getLogger('autotvm').setLevel(logging.DEBUG) logging.getLogger('autotvm').addHandler(logging.StreamHandler(sys.stdout)) # the last layer in resnet N, H, W, CO, CI, KH, KW, strides, padding = 1, 7, 7, 512, 512, 3, 3, (1, 1), (1, 1) data = te.placeholder((N, CI, H, W), name='data') kernel = te.placeholder((CO, CI, KH, KW), name='kernel') conv = topi.nn.conv2d_nchw(data, kernel, strides, padding, dilation=1, out_dtype='float32') cfg = autotvm.get_config() task = autotvm.task.create("conv2d_nchw.cuda", args=(cfg, [conv]), target='cuda') print(task.config_space) ``` But output is as follows: ``` Cannot find config for target=None, workload=None. A fallback configuration is used, which may bring great performance regression. Traceback (most recent call last): File "tune_conv2d_cuda_builtin_tmp.py", line 194, in <module> target='cuda') File "/usr/tvm/python/tvm/autotvm/task/task.py", line 406, in create args = serialize_args(args) File "/usr/tvm/python/tvm/autotvm/task/task.py", line 64, in serialize_args ret.append(_encode(t)) File "/usr/tvm/python/tvm/autotvm/task/task.py", line 61, in _encode 'primitive types or tvm.tir.Var only' % type(x)) RuntimeError: Do not support type "<class 'tvm.autotvm.task.space.FallbackConfigEntity'>" in argument. Consider to useprimitive types or tvm.tir.Var only ``` Could you give me some advice on this situation? Thanks in advance. --- [Visit Topic](https://discuss.tvm.ai/t/how-to-use-autotvm-with-manually-created-topi-computations/4895/4) to respond. You are receiving this because you enabled mailing list mode. To unsubscribe from these emails, [click here](https://discuss.tvm.ai/email/unsubscribe/f53743910c6acb3addca713ac631212a4b671bc31c0e016e2c83bc4fdb5a70cd).