Thank you for your reply!

I tried to build the model directly without running AutoTVM and it can run 
normally. But when I used autotvm to tune conv2d, the program always reported 
this error even if I set n_trial to 5000.

To reproduce the problem, I modified the code: 
[incubator-tvm](https://github.com/apache/incubator-tvm)/[tutorials](https://github.com/apache/incubator-tvm/tree/master/tutorials)/[autotvm](https://github.com/apache/incubator-tvm/tree/master/tutorials/autotvm)/
 **tune_conv2d_cuda.py**

Compared with the source program, I made the following modifications:

1. add "from tvm.contrib import nvcc" in line 50;
2. add "test_tensorcore=nvcc.have_tensorcore(tvm.gpu(0).compute_version)" in 
line 90;
3. modify n_trial=2000 in line 200.

If I delete the 
"test_tensorcore=nvcc.have_tensorcore(tvm.gpu(0).compute_version)", the autotvm 
can run normally.





---
[Visit 
Topic](https://discuss.tvm.ai/t/autotvm-error-cudaerrorcudartunloading-initialization-error-error-no-2/6487/3)
 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/74ce82a3930b24297e3b58e69a2bb279452f56fdce29fe8f6c974a1fdfdb4e37).

Reply via email to