Error in 'python3': free()

If I import tvm and torch, there will be an error as follows

$python3 
[GCC 5.4.0 20160609] Python 3.6.10 (default,)
Type "help", "copyright", "credits" or "license" for more information.
>>> import tvm
>>>import torch
>>> ctrl+D here to exit python3
*** Error in `python3': free(): invalid size: 0x000000000258e400 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7f6a594c87e5]
/lib/x86_64-linux-gnu/libc.so.6(+0x8037a)[0x7f6a594d137a]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7f6a594d553c]
/home/panyj/.local/lib/python3.6/site-packages/torch/lib/libcudart-1b201d85.so.10.1(+0x239c1)[0x7f69e66509c1]
/home/panyj/.local/lib/python3.6/site-packages/torch/lib/libcudart-1b201d85.so.10.1(+0x241a3)[0x7f69e66511a3]
/home/panyj/.local/lib/python3.6/site-packages/torch/lib/libcudart-1b201d85.so.10.1(+0x248a5)[0x7f69e66518a5]
/lib/x86_64-linux-gnu/libc.so.6(+0x39ff8)[0x7f6a5948aff8]
/lib/x86_64-linux-gnu/libc.so.6(+0x3a045)[0x7f6a5948b045]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf7)[0x7f6a59471837]
python3(_start+0x29)[0x5e8569]
======= Memory map: ========

It seemed that import tvm and then torch will cause the error. However, only import tvm or torch and exit will not cause error. And first import torch then tvm will not cause such error, either. But I don’t know why and have no idea how to deal with it. python version 3.6.10