[ROCm][CI] Language Models tests tiny-mixtral with aiter fix (#49551)
Signed-off-by: Dino Music <Dino.Music@amd.com>
This commit is contained in:
@@ -128,14 +128,6 @@ def test_models(
|
|||||||
|
|
||||||
if use_rocm_aiter and (model in AITER_MODEL_LIST):
|
if use_rocm_aiter and (model in AITER_MODEL_LIST):
|
||||||
monkeypatch.setenv("VLLM_ROCM_USE_AITER", "1")
|
monkeypatch.setenv("VLLM_ROCM_USE_AITER", "1")
|
||||||
if model == "TitanML/tiny-mixtral":
|
|
||||||
# Untrained model: near-uniform logits make argmax sensitive to
|
|
||||||
# AITER's bfloat16 rounding error. Route the plain rms_norm and the
|
|
||||||
# fused MoE (whose near-uniform router logits flip expert selection
|
|
||||||
# under ~1 ULP drift) through the native kernels for this model.
|
|
||||||
# See ROCm/aiter#3806 for the tracking issue and minimal repro.
|
|
||||||
monkeypatch.setenv("VLLM_ROCM_USE_AITER_RMSNORM", "0")
|
|
||||||
monkeypatch.setenv("VLLM_ROCM_USE_AITER_MOE", "0")
|
|
||||||
elif use_rocm_aiter and model not in AITER_MODEL_LIST:
|
elif use_rocm_aiter and model not in AITER_MODEL_LIST:
|
||||||
# Skip model that are not using AITER tests.
|
# Skip model that are not using AITER tests.
|
||||||
# When more AITER kernels are added, this list will not be
|
# When more AITER kernels are added, this list will not be
|
||||||
|
|||||||
Reference in New Issue
Block a user