Skip to content

Commit 6e2bfa4

Browse files
committed
remove
1 parent 2d56538 commit 6e2bfa4

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

tests/e2e/vLLM/test_vllm.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,14 @@
1313
from tests.e2e.e2e_utils import run_oneshot_for_e2e_testing
1414
from tests.examples.utils import requires_gpu_count
1515

16-
"""
1716
try:
1817
from vllm import LLM, SamplingParams
1918

2019
vllm_installed = True
2120
except ImportError:
2221
vllm_installed = False
2322
logger.warning("vllm is not installed. This test will be skipped")
24-
"""
23+
2524

2625
HF_MODEL_HUB_NAME = "nm-testing"
2726
TEST_DATA_FILE = os.environ.get("TEST_DATA_FILE", "")
@@ -43,7 +42,7 @@ def record_config_file(record_testsuite_property: Callable[[str, object], None])
4342
# Will run each test case in its own process through run_tests.sh
4443
# emulating vLLM CI testing
4544
@requires_gpu_count(1)
46-
# @pytest.mark.skipif(not vllm_installed, reason="vLLM is not installed, skipping test")
45+
@pytest.mark.skipif(not vllm_installed, reason="vLLM is not installed, skipping test")
4746
class TestvLLM:
4847
"""
4948
The following test quantizes a model using a preset scheme or recipe,
@@ -139,7 +138,6 @@ def test_vllm(self):
139138
folder_path=self.save_dir,
140139
)
141140

142-
"""
143141
logger.info("================= RUNNING vLLM =========================")
144142

145143
sampling_params = SamplingParams(temperature=0.80, top_p=0.95)
@@ -162,7 +160,6 @@ def test_vllm(self):
162160
logger.info(generated_text)
163161

164162
self.tear_down()
165-
"""
166163

167164
def tear_down(self):
168165
if self.save_dir is not None:

0 commit comments

Comments
 (0)