-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TVM RPC error on Khadas VIM3 pro #586
Comments
Thanks for report. You can not get result for other tflite models because it is hang on device side. Could you share an example model which cannot get result? |
@sunshinemyson When these three TFLite models are executed with TVM RPC, they produce empty output. Similarly, when I copy the model_lib.so generated by tvm's "lib.export_library(lib_path)" to Khadas VIM3 Pro and run the TVM runtime, I still encounter empty output. However, when I perform local compilation of these three TFLite models using TVM on Khadas VIM3 Pro, I can obtain normal output. This is the output of local compilation on Khadas VIM3 Pro, using the quantized tflite model InceptionNetV1. Details
|
@sunshinemyson So far, I have tried executing MobileNetV2 and SqueezeNet TFLite models with TVM RPC or performing local compilation on Khadas VIM3 Pro, and both resulted in normal output. Here is the output when running test_vsi_pytorch_model_all.py with the quantized tflite model MobileNetV2. x86_64 Host
Khadas VIM3 pro
This is the output of local compilation on Khadas VIM3 Pro, using the quantized tflite model MobileNetV2. Details
|
https://github.com/VeriSilicon/tvm/blob/vsi_npu/tests/python/contrib/test_vsi_npu/test_vsi_pytorch_model_all.py
I built and cross-compiled for Khadas VIM3 pro through tvm and TIM-VX 1.1.42 on x86_64 simulator. Running the test_vsi_tflite_model_all.py script to test mobilenet_v1_1.0_224_quant.tflite can be executed normally, but there are empty outputs when switching to other tflite models.
TIM-VX version:1.1.42
Using the aarch64_A311D_6.4.10.2 on Khadas VIM3 pro.
x86_64_linux prebuilt-sdk version:6.4.10.2
TVM Branch commit id: b822ec32702e2676dce1e430221e8efc05c98935
Here is the Galcore version on Khadas VIM3 pro. (6.4.6.2)
Details
Unit tests run successfully on Khadas VIM3 pro.
Details
Here is the output when running test_vsi_pytorch_model_all.py with the quantized tflite model InceptionNetV1.
x86_64 Host
Khadas VIM3 pro
The text was updated successfully, but these errors were encountered: