Closed chayliu-ecarx closed 1 month ago
solved by adding cmake option: -DCMAKE_CXX_STANDARD=17
.
solved by adding cmake option:
-DCMAKE_CXX_STANDARD=17
.
Thanks for the issue. If you're interested, please feel free to send a PR to update the docs so that it's helpful to others.
Ok,I will add this to readme.
However, there are some other questions:
mod, params = relay.frontend.from_tflite(tflite_model)
target = tvm.target.hexagon('v66', hvx=0)
with tvm.transform.PassContext(opt_level=3):
lib = relay.build(mod, tvm.target.Target(target, host=target), params=params, mod_name="default")
there is an error: LLVM ERROR: Do not know how to split the result of this operator!
Ok,I will add this to readme.
However, there are some other questions:
- Can we import other framework model such as onnx?
- Can we import a float32 model and using AIMET quantify encoding information?
- Can we use qnn as the runtime by BYOC?
- After import the inceptionv4 TFLITE model,and then trying to building for it as:
mod, params = relay.frontend.from_tflite(tflite_model) target = tvm.target.hexagon('v66', hvx=0) with tvm.transform.PassContext(opt_level=3): lib = relay.build(mod, tvm.target.Target(target, host=target), params=params, mod_name="default")
there is an error:
LLVM ERROR: Do not know how to split the result of this operator!
Let me know if it's okay to close this issue as you figured out the fix.
Ok, I will add this to readme file.
When building hexagon_launcher as the guide: https://github.com/apache/tvm/tree/main/apps/hexagon_launcher,there are some errors:
the hexagon sdk version is 4.5.
@quic-sanirudh @abhikran-quic @kparzysz-quic @sdalvi-quic