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"),