Skip to content

[CI] Add entrypoint to hc_combine test for standalone execution - #37406

Merged
ispobock merged 3 commits into
sgl-project:mainfrom
iforgetmyname:test-hc-combine-main-entrypoint
Sep 1, 2026
Merged

ispobock merged 3 commits into
sgl-project:mainfrom
iforgetmyname:test-hc-combine-main-entrypoint

Conversation

@iforgetmyname

@iforgetmyname iforgetmyname commented Sep 1, 2026

Copy link
Copy Markdown
Collaborator

Description

Adds the standard if __name__ == "__main__": sys.exit(pytest.main([__file__])) block to test/registered/kernels/ops/layernorm/test_hc_combine.py, allowing the test to be run directly via python test_hc_combine.py (useful for quick manual runs on GPU hosts). This matches the convention already used by 19 sibling kernel tests (e.g. test_mhc_kernels.py, test_fused_op.py).

fix #35118 breaking test suites

Changes

  • Add __main__ entrypoint invoking pytest to test_hc_combine.py

Notes

  • No logic changes; pure test-runner convenience.

CI States

Latest PR Test (Base): ⏳ Run #33509256039
Latest PR Test (Extra): ❌ Run #33509255905
Latest PR Test (AMD ROCm 7.2): ⏳ Run #33509256061

@iforgetmyname iforgetmyname changed the title [Test] Add __main__ entrypoint to hc_combine test for standalone execution [CI] Add entrypoint to hc_combine test for standalone execution Sep 1, 2026
@iforgetmyname

Copy link
Copy Markdown
Collaborator Author

/tag-and-rerun-ci

@github-actions github-actions Bot added the run-ci label Sep 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants