What's the different of relay.compile and relay.vm.compile?

How to save the vm replay.

target = "llvm"
with tvm.transform.PassContext(opt_level=3, disabled_pass=["FoldScaleAxis"]):
    vm_exec = relay.vm.compile(mod, target=target, params=params)

I want save it to local like .so or something, how to do with it? What’s the differences of vm and old relay.compile ?

2 Likes

it seems tvmc can do it.

1 Like