My compiled model code:
target = 'llvm ' target_host = 'llvm' graph, lib, params = relay.build(mod, target=target, target_host=target_host, params=params)
after build, save graph, lib, params to file, then when run on target device at load model
loaded_lib = tvm.module.load(path_lib)
cause the error
FileNotFoundError: [Errno 2] No such file or directory: 'g++'
I think i should build the model to system module, and i try to use llvm args
target = 'llvm ' target_host = 'llvm --system-lib'
but it not works.
anyone can help me?