Hi guys,
After a small break, I was able to get the Metis M2 running on my Jetson Orin NX.
However, is it possible that when using ‘axdownload’, the models are not precompiled?
I tried to download ‘mobilenetv2-imagenet’, and got this error when trying to load it in. So, my guess is, I incorrectly assumed that the downloaded folder included a precompiled one? Or is there maybe a list of models which do include a precompiled model?
Cheers (more info below),
Sebbe
Error
-----------------------
ERROR][zeModuleCreate]: Failed with error code: 0x70000004
[ERROR][zeModuleCreate]: Build log:
sh: 1: riscv64-unknown-elf-gcc: not found
Command failed (32512)
Failed to build module:
sh: 1: riscv64-unknown-elf-gcc: not found
Command failed (32512)
[ERROR][zeKernelCreate]: Failed with error code: 2013265925
Error at zeKernelCreate(module_handle, &desc, &kernel_handle): kernel_create: 409: Exit with error code: 0x78000005 : ZE_RESULT_ERROR_INVALID_NULL_HANDLE
Failed to create handles
Failed to initialise AICoreKernel kernel_function
Failed to initialize V1Executor
Traceback (most recent call last):
File "/root/.pyenv/versions/3.10.6/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/root/.pyenv/versions/3.10.6/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/workspace/inference/radtest_metis.py", line 165, in <module>
main()
File "/workspace/inference/radtest_metis.py", line 161, in main
run_det(args)
File "/workspace/inference/radtest_metis.py", line 48, in run_det
ctx.load()
File "/workspace/inference/metis_runner.py", line 104, in load
self._instance = self._conn.load_model_instance(
File "/opt/voyager-sdk/venv/lib/python3.10/site-packages/axelera/runtime/objects.py", line 496, in load_model_instance
_raise_error(self.context)
File "/opt/voyager-sdk/venv/lib/python3.10/site-packages/axelera/runtime/objects.py", line 83, in _raise_error
raise exc(f"{err}: {msg}")
axelera.runtime.objects.InternalError: AXR_ERROR_INTERNAL_ERROR: Error at zeKernelCreate(module_handle, &desc, &kernel_handle): kernel_create: 409: Exit with error code: 0x78000005 : ZE_RESULT_ERROR_INVALID_NULL_HANDLE
How I load the model (I’m still getting used to how the model loading works, so might have created an error here?)
-----------------------------------------------------
Hope this provides enough context, cheers!

