Skip to content

Conversation

@Hzfengsy
Copy link
Member

@Hzfengsy Hzfengsy commented Mar 6, 2025

This refactor introduces a base Executable class and a tvm.compile interface that can be used to compile both TIR and Relax programs. tvm.compile will return an Executable object that can be used to call either TIR or Relax functions.

@Hzfengsy
Copy link
Member Author

Hzfengsy commented Mar 6, 2025

@Hzfengsy Hzfengsy force-pushed the executable_refactor branch 2 times, most recently from 7eba135 to 5725001 Compare March 6, 2025 12:57
@Hzfengsy Hzfengsy force-pushed the executable_refactor branch from 5725001 to 9ee6471 Compare March 6, 2025 14:43
# global map of pre-built pipelines
PIPELINE_MAP = {
"zero": zero_pipeline,
"default": default_build_pipeline,
Copy link
Contributor

Choose a reason for hiding this comment

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

Just a note here. Likely we will deprecate the pipeline here in the short future.

This refactor introduces a base Executable class and a `tvm.compile`
interface that can be used to compile both TIR and Relax programs.

`tvm.compile` will return an Executable object that can be used to call
either TIR or Relax functions.
@Hzfengsy Hzfengsy force-pushed the executable_refactor branch from 9ee6471 to 0212fbb Compare March 7, 2025 02:36
@tqchen tqchen merged commit e7c04f5 into apache:main Mar 7, 2025
15 checks passed
ShiboXing pushed a commit to ShiboXing/tvm that referenced this pull request Aug 10, 2025
apache#17710)

This refactor introduces a base Executable class and a `tvm.compile`
interface that can be used to compile both TIR and Relax programs.

`tvm.compile` will return an Executable object that can be used to call
either TIR or Relax functions.
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.

3 participants