How to deploy two different tvm compiled model in c++ statically?

My comment above is for two models. You need to somehow generate a module that contains functions used in two models (in normal c code it could be as simple as linking everything together) and two versions of json