thanks, I tried with bundle_deploy but ran into an error:
ls: cannot access '../../build/standalone_crt': No such file or directory
Makefile:24: *** "CRT not found. Ensure you have built the standalone_crt target and try again". Stop.
The file “standalone_crt” does not appear to compile in the latest version of tvm. Do you have any suggestions to solve this problem?
@monkbai sorry for the delay, were you able to solve all of the problems you found? and, was USE_MICRO required for -link-params, or just to build the CRT?
@areusch I successfully compiled the demo in the bundle_deploy folder by setting USE_MICRO, I still don’t know how to add -link-params. And USE_MICRO is just to build the CRT.
hi @monkbai, you can add -link-params to your target string as explained here. for bundle_deploy, you can find this line in apps/bundle_deploy/build_model.py. you will also need to adjust the code in bundle.c to skip loading params from the JSON to truly cut out the dependency. if using bundle_deploy on a linux system, i’m not sure this is any better than loading from JSON, but you might see a speedup.