All of TVM's IR nodes (this of course include IRModule) are serializable.

- See https://docs.tvm.ai/api/python/ir.html#tvm.ir.load_json
- pickle will also work
- If a readable text format is desired, we can also use astext to print it into 
a text format then use the parser to parse it back





---
[Visit Topic](https://discuss.tvm.ai/t/how-to-serialize-a-relay-module/6087/2) 
to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click 
here](https://discuss.tvm.ai/email/unsubscribe/cba2140a0a5911826559fa05d03c82b48dd32ded59fd4def7b495e947d7627cc).

Reply via email to