Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
robertgshaw2-redhat committed May 19, 2024
1 parent 2c8f45a commit 85ec849
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
1 change: 1 addition & 0 deletions tests/models/test_compressed.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import gc

import pytest

from tests.models.utils import check_logprobs_close

MAX_MODEL_LEN = 1024
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 @@ -13,11 +13,10 @@
import pytest
import torch

from tests.models.utils import check_logprobs_close
from vllm.model_executor.layers.quantization import QUANTIZATION_METHODS
from vllm.model_executor.layers.rotary_embedding import _ROPE_DICT

from tests.models.utils import check_logprobs_close

os.environ["TOKENIZERS_PARALLELISM"] = "true"

MAX_MODEL_LEN = 1024
Expand Down
3 changes: 1 addition & 2 deletions tests/models/test_marlin.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,8 @@
import pytest
import torch

from vllm.model_executor.layers.quantization import QUANTIZATION_METHODS

from tests.models.utils import check_logprobs_close
from vllm.model_executor.layers.quantization import QUANTIZATION_METHODS

capability = torch.cuda.get_device_capability()
capability = capability[0] * 10 + capability[1]
Expand Down
1 change: 1 addition & 0 deletions tests/models/test_models_logprobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
Run `pytest tests/models/test_models_logprobs.py --forked`.
"""
import pytest

from tests.models.utils import check_logprobs_close

MODEL_MAX_LEN = 1024
Expand Down
2 changes: 1 addition & 1 deletion tests/tensorizer_loader/test_tensorizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
import json
import os
import subprocess
from tests.utils import ServerRunner
from unittest.mock import MagicMock, patch

import openai
import pytest
import ray
import torch

from tests.utils import ServerRunner
from vllm import SamplingParams
# yapf: disable
from vllm.model_executor.model_loader.tensorizer import (TensorizerConfig,
Expand Down

0 comments on commit 85ec849

Please sign in to comment.