tvm icon indicating copy to clipboard operation
tvm copied to clipboard

[Bug] cpp_deploy demo cannot find PackedFunc

Open areusch opened this issue 2 years ago • 2 comments

See https://discuss.tvm.apache.org/t/discuss-cpp-deploy-did-not-work-in-system-module-mode/12066/4

We should address this before releasing 0.9.

areusch avatar Jul 06 '22 17:07 areusch

This is also broken even going back to v0.8, from what I can see the symbols are present in the binary but they're GetSymbol_ isn't able to find them when the library is loaded in as a system module. There is probably some bug on the codegen side since there aren't even any symbols registered on the module when it's loaded.

Given it's been broken for so long and I can't find an easy fix I think we should skip this and not make it release blocking

driazati avatar Jul 14 '22 20:07 driazati

cc @hpanda-naut can you triage this?

areusch avatar Jul 25 '22 04:07 areusch