[Bugfix] Fix async log stats (#8417)

This commit is contained in:
Alexander Matveev
2024-09-12 23:48:59 -04:00
committed by GitHub
parent 8427550488
commit 6821020109
2 changed files with 17 additions and 4 deletions

View File

@@ -64,6 +64,7 @@ def test_chunked_prefill_recompute(
enable_chunked_prefill=enable_chunked_prefill,
max_num_seqs=max_num_seqs,
worker_use_ray=worker_use_ray,
disable_log_stats=False,
) as vllm_model:
vllm_outputs = vllm_model.generate_greedy(example_prompts, max_tokens)
assert (vllm_model.model.llm_engine.scheduler[0].artificial_preempt_cnt