The GitHub Actions job "CI" on tvm-ffi.git/module-load-from-bytes has failed.
Run started by GitHub user lucifer1004 (triggered by lucifer1004).

Head commit for run:
364a23dca695ef4e0924c233fbfa36b378453e9a / Zihua Wu 
<[email protected]>
[FEAT] Module::LoadFromBytes public API + global registration

The internal helper `LoadModuleFromBytes(kind, bytes)` has been around
for a while (library_module.cc) but only as a C++ free function used
during binary deserialization. There was no public-API entry point and
no Rust / Python wrapper, so callers who already hold module payload in
memory (e.g. a PTX or CUBIN blob fetched from a registry) had to
materialize it to disk first and then go through ModuleLoadFromFile.

This commit:

* Promotes the helper to `Module::LoadFromBytes(const String& kind,
  const Bytes& bytes)` in `include/tvm/ffi/extra/module.h`, defined in
  `library_module.cc`.
* Registers it as the `ffi.ModuleLoadFromBytes` global in
  `module.cc`'s static-init block.
* Adds the Rust binding `tvm_ffi::Module::load_from_bytes(kind, bytes)`
  alongside `load_from_file`.

The dispatch through `ffi.Module.load_from_bytes.<kind>` is unchanged;
existing loaders register exactly as before. The new API just gives
non-C++ callers a way in.

Report URL: https://github.com/apache/tvm-ffi/actions/runs/25898096522

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to