Skip to content

[Hexagon][Tests] Clean up stale hexagon tests#19747

Merged
tqchen merged 1 commit into
apache:mainfrom
tlopex:fix-hexagon-stale-tests
Jun 12, 2026
Merged

[Hexagon][Tests] Clean up stale hexagon tests#19747
tqchen merged 1 commit into
apache:mainfrom
tlopex:fix-hexagon-stale-tests

Conversation

@tlopex

@tlopex tlopex commented Jun 12, 2026

Copy link
Copy Markdown
Member

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 [REFACTOR] move build flow from C++ to Python #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).

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).

@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 removes two test files, test_2d_physical_buffers.py and test_fixed_point_conversion.py, and updates tests/python/contrib/test_hexagon/test_take.py by removing the deprecated or unnecessary exec_mode="compiled" argument from the tvm.compile call. There are no review comments, so I have no feedback to provide.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

@tqchen tqchen merged commit 39cc48b into apache:main Jun 12, 2026
11 checks passed
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.

3 participants