Skip to content

[REFACTOR] move build flow from C++ to Python#17665

Merged
tqchen merged 17 commits into
apache:mainfrom
spectrometerHBH:tir_build
Feb 20, 2025
Merged

[REFACTOR] move build flow from C++ to Python#17665
tqchen merged 17 commits into
apache:mainfrom
spectrometerHBH:tir_build

Conversation

@spectrometerHBH

@spectrometerHBH spectrometerHBH commented Feb 18, 2025

Copy link
Copy Markdown
Contributor

This PR moves tvm build flow from C++ to Python

Comment thread src/ir/transform.cc Outdated
Comment thread python/tvm/tir/build.py Outdated
Comment thread python/tvm/tir/build.py Outdated
Comment thread python/tvm/tir/build.py Outdated
Comment thread python/tvm/tir/build.py Outdated
Comment thread python/tvm/tir/build.py Outdated
Comment thread python/tvm/tir/build.py Outdated
Comment thread python/tvm/tir/build.py
Comment thread python/tvm/tir/build.py Outdated
Comment thread python/tvm/tir/build.py Outdated
@tqchen tqchen merged commit fc6775e into apache:main Feb 20, 2025
ShiboXing pushed a commit to ShiboXing/tvm that referenced this pull request Aug 10, 2025
This PR moves build flow from C++ to python, enables more developer productivity and readabilities
tqchen pushed a commit that referenced this pull request Jun 12, 2026
The test_hexagon directory is not enrolled in CI and has drifted out of
sync with the codebase:

- Delete test_fixed_point_conversion.py: it imports
tvm.topi.hexagon.utils, but the tvm.topi.hexagon module (including
get_fixed_point_value under test) no longer exists in the source tree.
- Delete test_2d_physical_buffers.py: its ir_module fixture was removed
in #17665 (Feb 2025), leaving all 36 tests erroring at setup with
"fixture 'ir_module' not found" ever since.
- Fix test_take.py: drop the stale exec_mode="compiled" argument that
tvm.compile no longer accepts. Both tests in the file pass again (llvm
host target, no Hexagon hardware required).
MasterJH5574 pushed a commit to MasterJH5574/tvm that referenced this pull request Jun 15, 2026
The test_hexagon directory is not enrolled in CI and has drifted out of
sync with the codebase:

- Delete test_fixed_point_conversion.py: it imports
tvm.topi.hexagon.utils, but the tvm.topi.hexagon module (including
get_fixed_point_value under test) no longer exists in the source tree.
- Delete test_2d_physical_buffers.py: its ir_module fixture was removed
in apache#17665 (Feb 2025), leaving all 36 tests erroring at setup with
"fixture 'ir_module' not found" ever since.
- Fix test_take.py: drop the stale exec_mode="compiled" argument that
tvm.compile no longer accepts. Both tests in the file pass again (llvm
host target, no Hexagon hardware required).

(cherry picked from commit 39cc48b)
MasterJH5574 pushed a commit to MasterJH5574/tvm that referenced this pull request Jun 15, 2026
The test_hexagon directory is not enrolled in CI and has drifted out of
sync with the codebase:

- Delete test_fixed_point_conversion.py: it imports
tvm.topi.hexagon.utils, but the tvm.topi.hexagon module (including
get_fixed_point_value under test) no longer exists in the source tree.
- Delete test_2d_physical_buffers.py: its ir_module fixture was removed
in apache#17665 (Feb 2025), leaving all 36 tests erroring at setup with
"fixture 'ir_module' not found" ever since.
- Fix test_take.py: drop the stale exec_mode="compiled" argument that
tvm.compile no longer accepts. Both tests in the file pass again (llvm
host target, no Hexagon hardware required).

(cherry picked from commit 39cc48b)
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