Hi All, This thread will be on top of Original Thread of [Module Based Model 
Runtime 
Interface](https://discuss.tvm.ai/t/discuss-module-based-model-runtime-interface/5025).

As i believe the original thread is already been so long, so it will lose 
originality if these points being discussed there.

P0: Export_Library should lose the extension spec in file name, e.g., "xxx.so". 
Should be as below

    > mod.export_library("/Path-to-Module/Module-name")

   or

   > mod.export_library("/Path-to-Module")

   Here default name can be assigned. TVM internally can decide what extension 
need to be assigned based on Target spec.

P1: As the package_params is optional: Should we include an api to serialize 
the Params / Weights.
       It will ease the burden of user to serialize and transport, also the 
serialization format can be standardized. The api can be like below:

   > mod.export_params("Path-to-Params")

P2: Should we change the name name of the export_library API.
   Rather as the proposal is for Module based runtime, and the goal is to Pack 
all into one. Should we change it to

   > mod.export_module()

   or

   > mod.export_model()

P3: LIB signing: It will provide additional security, to ensure TVM 
deliverables are not tampered with.

Seek all your expert opinions on above points.





---
[Visit 
Topic](https://discuss.tvm.ai/t/discuss-addional-points-on-top-of-module-based-model-runtime-interface/6663/1)
 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/7ede6bce13a85aab97bfb97e75ab8ffbfbe2e66d06dfce05763216e4a6e995f5).

Reply via email to