[Solved] Nvrtc: error: invalid value for --gpu-architecture


Dear all,
I am a new to study tvm. I flow the tutorial: “Get Started with Tensor Expression” and got the error message:

(base) ryanyao@umihuang-HP-EliteDesk-800-G1-TWR:~/docker_mount/tvm_ex$ python tensor_expr_get_started.py
<class ‘tvm.tensor.Tensor’>
terminate called after throwing an instance of ‘dmlc::Error’
what(): [17:27:23] /home/ryanyao/tvm/src/codegen/opt/build_cuda_on.cc:118: Check failed: compile_res == NVRTC_SUCCESS (5 vs. 0) : nvrtc: error: invalid value for --gpu-architecture (-arch)

Aborted (core dumped)

Can someone give me hint how to solve it?
Thank you.


I have solved it. I think there were something wrong during I build the tvm. So I rebuild it and the problem is gone.