[CI] diffusion: Run the FLUX.2 XPU norm-fusion test on the XPU suite only (#46040)

This commit is contained in:
Jimmy Shong
2026-10-23 19:54:03 +08:00
committed by GitHub
parent f967418a35
commit 4b1941e889
@@ -1,7 +1,8 @@
"""FLUX.2 XPU LayerNorm+modulate and gated residual norm fast paths.
The fusion cases need an Intel XPU; the Intel-Triton import regression runs
on any device, so the file is also registered on the CPU suite.
The fusion cases need an Intel XPU. The Intel-Triton import regression simulates
a host without Intel Triton, but importing flux_2 needs diffusers, which the CPU
suite does not install, so the file runs on the XPU suite only.
"""
import subprocess
@@ -21,10 +22,9 @@ from sglang.kernels.ops.diffusion import (
xpu_gated_resnorm,
xpu_layernorm_modulate,
)
from sglang.test.ci.ci_register import register_cpu_ci, register_xpu_ci
from sglang.test.ci.ci_register import register_xpu_ci
from sglang.test.test_utils import CustomTestCase
register_cpu_ci(est_time=30, suite="base-a-test-cpu")
register_xpu_ci(est_time=30, suite="stage-b-test-1-gpu-xpu")
_HIDDEN = 6144