How to tune a aarch64 model locally

hi, Due to environmental limitations,we have to tune a aarch64 model locally(which mean we can not use rpc method).

I have cross compile the tvm(get aarch64 libtvmruntime.so, libtvm.so).When I start tuning, get the following error:

Traceback (most recent call last): File “local_autoscheduler.py”, line 13, in import tvm File “/data/users/lcy/ref/tvm/python/tvm/init.py”, line 26, in from ._ffi.base import TVMError, version, _RUNTIME_ONLY File “/data/users/lcy/ref/tvm/python/tvm/_ffi/init.py”, line 28, in from .base import register_error File “/data/users/lcy/ref/tvm/python/tvm/_ffi/base.py”, line 71, in _LIB, _LIB_NAME = _load_lib() File “/data/users/lcy/ref/tvm/python/tvm/_ffi/base.py”, line 57, in _load_lib lib = ctypes.CDLL(lib_path[0], ctypes.RTLD_GLOBAL) File “/data/users/lcy/common/miniconda3/envs/tvm/lib/python3.8/ctypes/init.py”, line 373, in init self._handle = _dlopen(self._name, mode) OSError: /data/users/lcy/ref/tvm/build/libtvm.so: cannot open shared object file: No such file or directory

maybe this is because of the x86 python can not load aarch64 libtvm.so directly?

So, what should I do with the foloowing tune option: builder=auto_scheduler.LocalBuilder(build_func=“default”),

runner=auto_scheduler.LocalRunner(repeat=10, enable_cpu_cache_flush=True),