TVM and Nvidia TensorRT

hello I’m trying to convert a tvm model to a TensorRT engine. I’m used “tvm.relay.op.contrib.tensorrt” to convert the model. The output is a tensorRT Plan file, not an engine file. Do anyone know how to use the same plan file in tensorRT Runtime format.

trt_runtime = trt.Runtime(TRT_LOGGER)
with open("./engine/tvmgen_default_tensorrt_main_7_fp32.plan", 'rb') as f:
    engine_data = f.read()
engine = trt_runtime.deserialize_cuda_engine(engine_data)

something like this.

Thanks in advance.