Skip to content

[CI] Run s_tir/transform tests in the python-unittest stage#19737

Merged
tlopex merged 1 commit into
apache:mainfrom
tlopex:ci-enable-s-tir-transform-tests
Jun 13, 2026
Merged

[CI] Run s_tir/transform tests in the python-unittest stage#19737
tlopex merged 1 commit into
apache:mainfrom
tlopex:ci-enable-s-tir-transform-tests

Conversation

@tlopex

@tlopex tlopex commented Jun 11, 2026

Copy link
Copy Markdown
Member

The python-unittest stage enumerates test directories explicitly, and tests/python/s_tir/transform was never enrolled when the transform tests were migrated into the s_tir namespace (#18722). As a result the directory has not been exercised by CI at all, which let several regressions land on main unnoticed

Add the directory to TEST_FILES so the s_tir transform passes are covered. GPU-marked tests are filtered by the -m gpu marker selection in the gpuonly variant, so CPU enrollment is safe.

The python-unittest stage enumerates test directories explicitly, and
tests/python/s_tir/transform was never enrolled when the transform tests
were migrated into the s_tir namespace (apache#18722). As a result the
directory has not been exercised by CI at all, which let several
regressions land on main unnoticed (since fixed in apache#19729 and apache#19735).

Add the directory to TEST_FILES so the s_tir transform passes are
covered. GPU-marked tests are filtered by the -m gpu marker selection
in the gpuonly variant, so CPU enrollment is safe.

@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 adds the "s_tir/transform" directory to the list of test files in the Python unit test script. There are no review comments, and 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.

tlopex added a commit to tlopex/tvm that referenced this pull request Jun 12, 2026
test_cp_async_in_if_then_else compares the generated CUDA source
byte-for-byte against a snapshot, and the cse_v* numbering in the
generated source is currently nondeterministic across processes, so the
snapshot comparison cannot be stable. Mark it xfail (non-strict) with a
TODO so the s_tir/transform CI enrollment (apache#19737) is not blocked; the
mark goes away once CSE ordering is made deterministic and the snapshot
is regenerated (apache#19741).
tlopex added a commit to tlopex/tvm that referenced this pull request Jun 12, 2026
test_cp_async_in_if_then_else compares the generated CUDA source
byte-for-byte against a snapshot, and the cse_v* numbering in the
generated source is currently nondeterministic across processes, so the
snapshot comparison cannot be stable. Mark it xfail (non-strict) with a
TODO so the s_tir/transform CI enrollment (apache#19737) is not blocked; the
mark goes away once CSE ordering is made deterministic and the snapshot
is regenerated (apache#19741).
spectrometerHBH pushed a commit that referenced this pull request Jun 12, 2026
This pr marks it xfail with a TODO so the s_tir/transform CI enrollment
(#19737) is not blocked; the mark should be removed once the CSE
determinism fix land.
@tlopex

tlopex commented Jun 12, 2026

Copy link
Copy Markdown
Member Author

@tvm-bot rerun

@tlopex tlopex merged commit 6f9609f into apache:main Jun 13, 2026
10 checks passed
MasterJH5574 pushed a commit to MasterJH5574/tvm that referenced this pull request Jun 15, 2026
)

This pr marks it xfail with a TODO so the s_tir/transform CI enrollment
(apache#19737) is not blocked; the mark should be removed once the CSE
determinism fix land.

(cherry picked from commit 6e6627e)
MasterJH5574 pushed a commit to MasterJH5574/tvm that referenced this pull request Jun 15, 2026
…9737)

The python-unittest stage enumerates test directories explicitly, and
tests/python/s_tir/transform was never enrolled when the transform tests
were migrated into the s_tir namespace (apache#18722). As a result the
directory has not been exercised by CI at all, which let several
regressions land on main unnoticed

Add the directory to TEST_FILES so the s_tir transform passes are
covered. GPU-marked tests are filtered by the -m gpu marker selection in
the gpuonly variant, so CPU enrollment is safe.

(cherry picked from commit 6f9609f)
MasterJH5574 pushed a commit to MasterJH5574/tvm that referenced this pull request Jun 15, 2026
)

This pr marks it xfail with a TODO so the s_tir/transform CI enrollment
(apache#19737) is not blocked; the mark should be removed once the CSE
determinism fix land.

(cherry picked from commit 6e6627e)
MasterJH5574 pushed a commit to MasterJH5574/tvm that referenced this pull request Jun 15, 2026
…9737)

The python-unittest stage enumerates test directories explicitly, and
tests/python/s_tir/transform was never enrolled when the transform tests
were migrated into the s_tir namespace (apache#18722). As a result the
directory has not been exercised by CI at all, which let several
regressions land on main unnoticed

Add the directory to TEST_FILES so the s_tir transform passes are
covered. GPU-marked tests are filtered by the -m gpu marker selection in
the gpuonly variant, so CPU enrollment is safe.

(cherry picked from commit 6f9609f)
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