You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by "tqchen (via GitHub)" <gi...@apache.org> on 2025/08/16 21:28:19 UTC

[PR] [FFI] Formalize ffi.Module [tvm]

tqchen opened a new pull request, #18213:
URL: https://github.com/apache/tvm/pull/18213

   This PR formalizes original runtime::Module into ffi as ffi.Module and cleans the APIs around it.
   
   The goal is to stablize the Module API as extra API that can benefit the overall ffi interactions. We also refactors the c++ code that depends on the Module.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [FFI] Formalize ffi.Module [tvm]

Posted by "tqchen (via GitHub)" <gi...@apache.org>.
tqchen commented on PR #18213:
URL: https://github.com/apache/tvm/pull/18213#issuecomment-3193917796

   Update note:
   
   Make bytes serialization more self-contained across ffi
      - SaveBinary => SaveToBytes 
      - LoadFromBinary =>LoadFromBytes
      - Global registration keys are updated accordingly
      - `ffi.Module.load_from_bytes.<kind>`
      - `ffi.Module.load_from_bytes.<kind>`
   Clarify API naming
     - Save => WriteToFile
     - type_ket =>kind (to avoid confusion with object system type key)
    
   Update API convention
      - Remove sptr_to_self as we can obtain it in the Obj
      - Move most functions to ModuleObj


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [FFI] Formalize ffi.Module [tvm]

Posted by "Hzfengsy (via GitHub)" <gi...@apache.org>.
Hzfengsy merged PR #18213:
URL: https://github.com/apache/tvm/pull/18213


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org