Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
llmpros committed Jul 6, 2024
1 parent e79ffa8 commit e978360
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 2 additions & 4 deletions tests/distributed/test_distributed_gptq_marlin.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,9 @@ def test_models(vllm_runner, example_prompts, model, dtype: str,
pytest.skip(
f"Need at least {tensor_parallel_size} GPUs to run the test.")


if not is_quant_method_supported("gptq_marlin"):
pytest.skip(
"gptq_marlin is not supported on this GPU type.")

pytest.skip("gptq_marlin is not supported on this GPU type.")

distributed_executor_backend = os.getenv("DISTRIBUTED_EXECUTOR_BACKEND")
run_test(vllm_runner,
example_prompts,
Expand Down
3 changes: 1 addition & 2 deletions tests/models/test_gptq_marlin.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,7 @@ def test_models(
num_logprobs: int,
) -> None:
if not is_quant_method_supported("gptq_marlin"):
pytest.skip(
"gptq_marlin is not supported on this GPU type.")
pytest.skip("gptq_marlin is not supported on this GPU type.")
run_test(
vllm_runner,
example_prompts,
Expand Down

0 comments on commit e978360

Please sign in to comment.