You are viewing a plain text version of this content. The canonical link for it is here.
Posted to discuss-archive@tvm.apache.org by GitBox <gi...@apache.org> on 2026/07/07 13:53:08 UTC
[GH] (tvm-ffi/orcjit-session-refactor): Workflow run "CI" failed!
The GitHub Actions job "CI" on tvm-ffi.git/orcjit-session-refactor has failed.
Run started by GitHub user cyx-6 (triggered by cyx-6).
Head commit for run:
968c95b6f915a756e356b1c59929f8b8cde4419c / Yaxing Cai <ca...@gmail.com>
[ORCJIT] Add shared session and high-level load_module
Add a process-wide shared execution session and a unified load_module on
the tvm_ffi_orcjit addon, mirroring core tvm_ffi.load_module semantics.
- default_session(): leaked, process-wide shared ExecutionSession, with a
settable ORC-runtime-path registry resolved on first use.
- ExecutionSession.load_module(objects, name): loads one or more objects
(path str/Path or in-memory bytes, single item or list) into one fresh
JITDylib, injects context symbols eagerly, expands any embedded library
binary into an import tree, and returns a plain tvm_ffi.Module.
- Recursive session lock serializing all compound JITDylib operations
(create / add / lookup+init / set-link-order / teardown) for safe use of
the shared session across threads; the resolved-call hot path stays lock
free.
- Rename registered globals and the object key to the ffi_orcjit namespace;
keep set_link_order working but drop it from the advertised surface.
- cpp.build: copy a single object through instead of `ld -r`, which some
system linkers use to stamp a nonzero sh_addr on zero-size sections
(e.g. .note.GNU-stack), producing a JITLink block that overlaps in
EHFrameEdgeFixer and breaks C++ (eh_frame) loads.
Also folds in earlier addon cleanups: hide static-linked archive symbols
and adopt numpydoc-style docstrings.
Report URL: https://github.com/apache/tvm-ffi/actions/runs/28870737844
With regards,
GitHub Actions via GitBox
---------------------------------------------------------------------
To unsubscribe, e-mail: discuss-archive-unsubscribe@tvm.apache.org
For additional commands, e-mail: discuss-archive-help@tvm.apache.org