[CI] Split (B200) Miscellaneous Kernels into mHC, FLA Ops and Misc named jobs (#58609)

Signed-off-by: Thang Nguyen <thangnguyenvn647@gmail.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Kevin H. Luu <khluu000@gmail.com>
This commit is contained in:
Thang Nguyen
2026-09-26 04:10:14 -07:00
committed by GitHub
co-authored by Claude Opus 5.5 Kevin H. Luu
parent a4eb3f25d6
commit 2f41e00235
11 changed files with 31 additions and 6 deletions
+29 -4
View File
@@ -144,6 +144,32 @@ steps:
- pytest -v -s kernels/test_fused_deepseek_v4_*.py
- pytest -v -s models/test_deepseek_v4_mega_moe.py
# Own job so mHC never shares a process with FlashInfer's import-time
# ptxas override.
- label: ":nvidia: (B200) mHC Kernels"
key: kernels-mhc-test-b200
timeout_in_minutes: 25
device: b200-k8s
source_file_dependencies:
- csrc/
- vllm/
- "!vllm/distributed/kv_transfer/"
- tests/kernels/
commands:
- pytest -v -s kernels/mhc
- label: ":nvidia: (B200) FLA Ops Kernels"
key: kernels-fla-ops-test-b200
timeout_in_minutes: 25
device: b200-k8s
source_file_dependencies:
- csrc/
- vllm/
- "!vllm/distributed/kv_transfer/"
- tests/kernels/
commands:
- pytest -v -s kernels/fla
# Catch-all for test files at the tests/kernels root. This job collects
# the whole root so new files are wired by default.
# Files with dedicated jobs elsewhere in this file are excluded via --ignore
@@ -151,7 +177,7 @@ steps:
# their own jobs / Kernels (B200)).
- label: ":nvidia: (B200) Miscellaneous Kernels"
key: kernels-root-misc-test-b200
timeout_in_minutes: 45
timeout_in_minutes: 30
device: b200-k8s
source_file_dependencies:
- csrc/
@@ -159,14 +185,14 @@ steps:
- "!vllm/distributed/kv_transfer/"
- tests/kernels/
commands:
# Isolate mHC from FlashInfer's import-time ptxas override.
- pytest -v -s kernels/test_mhc_kernels.py
- pytest -v -s kernels/
--ignore=kernels/attention
--ignore=kernels/core
--ignore=kernels/fla
--ignore=kernels/helion
--ignore=kernels/ir
--ignore=kernels/mamba
--ignore=kernels/mhc
--ignore=kernels/moe
--ignore=kernels/quantization
--ignore=kernels/test_concat_mla_q.py
@@ -176,7 +202,6 @@ steps:
--ignore=kernels/test_kda.py
--ignore=kernels/test_bf16x3_router_gemm_cutedsl.py
--ignore=kernels/test_ll_bf16_gemm.py
--ignore=kernels/test_mhc_kernels.py
--ignore=kernels/test_shuffle_rows.py
# BROKEN on main, pending kernel fixes (B200):
# test_shuffle_rows.py (1: test_shuffle_rows_edge_cases)
View File
View File
@@ -108,7 +108,7 @@ def test_deepseek_v4_import_and_jit_monitor_do_not_hijack_hip_symbols() -> None:
# Both claims are about process-global state, `sys.modules` and the symbol
# table, and a sibling test legitimately imports TileLang to exercise those
# kernels, so the checks only mean something in an interpreter of their own.
script = Path(__file__).parent / "scripts" / "check_no_tilelang_hijack.py"
script = Path(__file__).parents[1] / "scripts" / "check_no_tilelang_hijack.py"
result = subprocess.run(
[sys.executable, str(script)],
capture_output=True,
+1 -1
View File
@@ -81,7 +81,7 @@ def hc_head_fused_cpu(
hc_eps: float,
) -> torch.Tensor:
"""CPU-ported HC head reduction (see `test_hc_head_cpu` in
tests/kernels/test_mhc_kernels.py for the eager reference this is tested
tests/kernels/mhc/test_mhc_kernels.py for the eager reference this is tested
against).
The ported kernel's C++ signature takes `(hc_eps, norm_eps)` -- the