tkonolige edited a comment on issue #7010: URL: https://github.com/apache/tvm/issues/7010#issuecomment-737547902
The error message is: ``` OMP: Error #15: Initializing libomp.dylib, but found libiomp5.dylib already initialized. OMP: Hint This means that multiple copies of the OpenMP runtime have been linked into the program. That is dangerous, since it can degrade performance or cause incorrect results. The best thing to do is to ensure that only a single OpenMP runtime is linked into the process, e.g. by avoiding static linking of the OpenMP runtime in any library. As an unsafe, unsupported, undocumented workaround you can set the environment variable KMP_DUPLICATE_LIB_OK=TRUE to allow the program to continue to execute, but that may cause crashes or silently produce incorrect results. For more information, please see http://openmp.llvm.org/ ``` Pytorch loading: ``` dyld: loaded: <F7FFAF24-7A9F-35EA-B715-F2A2F250F575> /Users/tristan/Library/Python/3.8/lib/python/site-packages/torch/lib/libtorch_global_deps.dylib dyld: loaded: <52F67CC7-A4B0-3F4D-A80D-7DC28D4A776A> /Users/tristan/Library/Python/3.8/lib/python/site-packages/torch/lib/../.dylibs/libiomp5.dylib ``` Onnx loading: ``` dyld: loaded: <C903042A-EFCF-3557-AB7C-155BA03165D0> /usr/local/lib/python3.8/site-packages/onnxruntime/capi/onnxruntime_pybind11_state.so dyld: loaded: <FF7BABED-D8CA-3F78-BCE2-F0C293919D70> /usr/local/opt/libomp/lib/libomp.dylib ``` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org