- Operating System: Windows 10
- TVM Version: latest
- Python Version: python3.8
- Compiler: * Visual Studio 2022 v17.11.4
Steps taken:
1.building LLVM from source (v18.1.0)
2. building TVM from source on Windows and
During the build no error, but warnings were given:
C4715: ‘tvm::transform::PassContext::RegisterConfigOption<tvm::Integer>'::
2’::<lambda_1>::operator()’: not all control paths return a value.
3. using pip to install the build I generated.
4. I tried to run on CMD python -c “import tvm; print(tvm.file)” after after the command I received the following message:
Traceback (most recent call last): File “”, line 1, in File “c:\tvm\python\tvm_init_.py”, line 26, in from ._ffi.base import TVMError, version, RUNTIME_ONLY File "c:\tvm\python\tvm_ffi_init.py", line 28, in from .base import register_error File “c:\tvm\python\tvm_ffi\base.py”, line 78, in _LIB, _LIB_NAME = _load_lib() File “c:\tvm\python\tvm_ffi\base.py”, line 64, in load_lib lib = ctypes.CDLL(lib_path[0], ctypes.RTLD_GLOBAL) File "C:\Users\DuaniL\AppData\Local\Programs\Python\Python38\lib\ctypes_init.py", line 373, in init self._handle = _dlopen(self._name, mode) OSError: [WinError 1114] A dynamic link library (DLL) initialization routine failed
Could someone please help identify the problem