Is there a way to serialize a tvm module into a string like the serialized engine in tensorrt?

You can try lib.save?