Skip to content
This repository was archived by the owner on Sep 4, 2025. It is now read-only.

Commit 3730a1c

Browse files
[Misc] Improve conftest (vllm-project#5681)
1 parent 949e49a commit 3730a1c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/conftest.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ def __exit__(self, exc_type, exc_value, traceback):
365365
cleanup()
366366

367367

368-
@pytest.fixture
368+
@pytest.fixture(scope="session")
369369
def hf_runner():
370370
return HfRunner
371371

@@ -385,6 +385,7 @@ def __init__(
385385
block_size: int = 16,
386386
enable_chunked_prefill: bool = False,
387387
swap_space: int = 4,
388+
enforce_eager: bool = False,
388389
**kwargs,
389390
) -> None:
390391
self.model = LLM(
@@ -393,6 +394,7 @@ def __init__(
393394
trust_remote_code=True,
394395
dtype=dtype,
395396
swap_space=swap_space,
397+
enforce_eager=enforce_eager,
396398
disable_log_stats=disable_log_stats,
397399
tensor_parallel_size=tensor_parallel_size,
398400
max_model_len=max_model_len,

0 commit comments

Comments
 (0)