Skip to content

Commit 906e05d

Browse files
authored
[Misc] Remove the unused LoRA test code (#20494)
Signed-off-by: Jee Jee Li <pandaleefree@gmail.com>
1 parent ef9a299 commit 906e05d

File tree

2 files changed

+1
-18
lines changed

2 files changed

+1
-18
lines changed

tests/lora/conftest.py

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -249,23 +249,6 @@ def llama_2_7b_model_extra_embeddings(llama_2_7b_engine_extra_embeddings):
249249
model_runner.model)
250250

251251

252-
@pytest.fixture(params=[True, False])
253-
def run_with_both_engines_lora(request, monkeypatch):
254-
# Automatically runs tests twice, once with V1 and once without
255-
use_v1 = request.param
256-
# Tests decorated with `@skip_v1` are only run without v1
257-
skip_v1 = request.node.get_closest_marker("skip_v1")
258-
259-
if use_v1:
260-
if skip_v1:
261-
pytest.skip("Skipping test on vllm V1")
262-
monkeypatch.setenv('VLLM_USE_V1', '1')
263-
else:
264-
monkeypatch.setenv('VLLM_USE_V1', '0')
265-
266-
yield
267-
268-
269252
@pytest.fixture
270253
def reset_default_device():
271254
"""

vllm/multimodal/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,4 +489,4 @@ def fetch_video(
489489
"video": video_io_kwargs
490490
}
491491
media_connector = MediaConnector(media_io_kwargs=media_io_kwargs)
492-
return media_connector.fetch_video(video_url)
492+
return media_connector.fetch_video(video_url)

0 commit comments

Comments
 (0)