Skip to content

[Docs] Add tutorial for importing models from PyTorch, ONNX, and TFLite#19354

Merged
MasterJH5574 merged 6 commits into
apache:mainfrom
tlopex:doc157
Apr 6, 2026
Merged

[Docs] Add tutorial for importing models from PyTorch, ONNX, and TFLite#19354
MasterJH5574 merged 6 commits into
apache:mainfrom
tlopex:doc157

Conversation

@tlopex

@tlopex tlopex commented Apr 5, 2026

Copy link
Copy Markdown
Member

This pr adds a tutorial for user to have a quick understanding of how to import models from our supporting frontends.

Besides, this pr also adds absl::InitializeLog and trackable_obj warnings to the CI docs ignore list — these are emitted by TensorFlow's C++ runtime during import and cannot be suppressed from Python.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a new tutorial, import_model.py, which provides a comprehensive guide on importing machine learning models from PyTorch, ONNX, and TensorFlow Lite into Apache TVM. It includes practical code examples for each framework, explains key parameters for the import functions, and demonstrates how to verify the imported models against their original framework outputs. I have no feedback to provide.

@MasterJH5574 MasterJH5574 merged commit d1f5583 into apache:main Apr 6, 2026
10 of 11 checks passed
Aharrypotter pushed a commit to Aharrypotter/tvm that referenced this pull request Apr 10, 2026
…te (apache#19354)

This pr adds a tutorial for user to have a quick understanding of how to
import models from our supporting frontends.


Besides, this pr also adds `absl::InitializeLog` and `trackable_obj`
warnings to the CI docs ignore list — these are emitted by TensorFlow's
C++ runtime during import and cannot be suppressed from Python.
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