Expected behavior
order of import should not matter
Actual behavior
At the end, the application quits with
free(): invalid pointer
Aborted (core dumped)
However, importing tvm after all other imports works
To reproduce, there is no need to even do anything with tvm in the code!
Environment
TVM main branch, same error with latest tags too
- same error built with or without cuda
- same error built with
llvm-config --link-static or without
Ubuntu 20.04, x86
tested with clean conda environment with pytorch 1.11 and 1.12 + cudatoolkit
Expected behavior
order of import should not matter
Actual behavior
At the end, the application quits with
However, importing tvm after all other imports works
To reproduce, there is no need to even do anything with tvm in the code!
Environment
TVM main branch, same error with latest tags too
llvm-config --link-staticor withoutUbuntu 20.04, x86
tested with clean conda environment with pytorch 1.11 and 1.12 + cudatoolkit