[Bug] TVM MIPS32 .so Model Load Failure – ONNX Model Converted to MIPS32 Fails to Load with TVM Runtime #17805
Labels
needs-triage
PRs or issues that need to be investigated by maintainers to find the right assignees to address it
type: bug
Uh oh!
There was an error while loading. Please reload this page.
Expected behavior
I expect
model.so
(a TVM-compiled model for MIPS32) to be successfully loaded usingdlopen
orTVMModLoadFromFile
on my MIPS32 development board, given thatlibtvm_runtime.so
loads and runs correctlyActual behavior
libtvm_runtime.so
(v0.18.0) loads successfully on the MIPS32 board and executes basic runtime tests.model.so
fails to load withdlopen
:TVMModLoadFromFile
, even though the file exists at that path and has correct permissions.Environment
Operating System:
TVM Version: v0.18.0
Compiler:
mips-linux-gnu-gcc
, GCC 7.2.0, glibc 2.29)TVM Build Configuration:
x86_64 (Host)
libtvm.so
MIPS32 (Target)
mips32el-toolchain.cmake.cmake
libtvm_runtime.so
Cross-Compilation for Model
Python script (
generate_onnx.py
)Python script (
generate_so.py
)-mfp32 -mnan=legacy
Steps to reproduce
C Test:
test_dlopen.c
C++ Test:
test_tvm_runtime.cpp
Deploy and Run on MIPS32
Output
More Info
Triage
compilation
target:mips
component:runtime
area:relay
bug
The text was updated successfully, but these errors were encountered: