[UT] add skipif for rocm aiter sampler UT (#50530)

Signed-off-by: mayuyuace <qiming1.zhang@intel.com>
This commit is contained in:
Qiming Zhang
2026-07-31 16:32:49 +08:00
committed by GitHub
parent 34bb795ff3
commit 5d7647a109
@@ -65,6 +65,10 @@ def test_sampler_threads_fp64_gumbel_to_topk_topp_sampler():
assert sampler.topk_topp_sampler.use_fp64_gumbel
@pytest.mark.skipif(
not current_platform.is_rocm(),
reason="ROCm aiter sampler test only runs on ROCm",
)
def test_rocm_aiter_sampler_defers_import_when_generators_force_native(
monkeypatch: pytest.MonkeyPatch,
):