Skip to content

Update FromNative call sites for latest TVM FFI - #20483

Merged
tqchen merged 3 commits into
apache:mainfrom
tqchen:task-562-fromnative-latest
Sep 29, 2026
Merged

tqchen merged 3 commits into
apache:mainfrom
tqchen:task-562-fromnative-latest

Conversation

@tqchen

@tqchen tqchen commented Sep 28, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Advance the bundled TVM FFI submodule to the native hook convention while retaining the published package requirement.
  • Model typed hooks by their successful return type and use CallExpected() where TVM handles errors explicitly.
  • Register throwing Relax validators and type inference hooks directly with FromNative, removing redundant exception adapters.

@tqchen
tqchen marked this pull request as ready for review September 28, 2026 23:34
@tqchen
tqchen merged commit 3f75a27 into apache:main Sep 29, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants