From 84f13374b350fba78872f8612c3a839256815a4a Mon Sep 17 00:00:00 2001 From: fxmarty-amd Date: Tue, 23 Jun 2026 23:38:06 +0200 Subject: [PATCH] [CI] Fix `test_auto_gptq` on ROCm CI (#46164) Signed-off-by: Felix Marty Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> --- tests/quantization/test_configs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/quantization/test_configs.py b/tests/quantization/test_configs.py index 85b67da433..674d57b84a 100644 --- a/tests/quantization/test_configs.py +++ b/tests/quantization/test_configs.py @@ -28,7 +28,7 @@ MODEL_ARG_EXPTYPES = [ ( "TheBloke/Llama-2-7B-Chat-GPTQ", "marlin", - "auto_gptq" if current_platform.is_cuda() else "ERROR", + "auto_gptq" if current_platform.is_cuda_alike() else "ERROR", ), ("TheBloke/Llama-2-7B-Chat-GPTQ", "gptq", "auto_gptq"), ("TheBloke/Llama-2-7B-Chat-GPTQ", "awq", "ERROR"), @@ -38,7 +38,7 @@ MODEL_ARG_EXPTYPES = [ ( "LnL-AI/TinyLlama-1.1B-Chat-v1.0-GPTQ-4bit", "marlin", - "auto_gptq" if current_platform.is_cuda() else "ERROR", + "auto_gptq" if current_platform.is_cuda_alike() else "ERROR", ), ("LnL-AI/TinyLlama-1.1B-Chat-v1.0-GPTQ-4bit", "gptq", "auto_gptq"), ("LnL-AI/TinyLlama-1.1B-Chat-v1.0-GPTQ-4bit", "awq", "ERROR"),