mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-03-31 04:57:03 +08:00
Add tqdm dynamic_ncols=True (#3242)
This commit is contained in:
parent
a33ce60c66
commit
4cb3b924cd
@ -191,7 +191,9 @@ class LLM:
|
||||
# Initialize tqdm.
|
||||
if use_tqdm:
|
||||
num_requests = self.llm_engine.get_num_unfinished_requests()
|
||||
pbar = tqdm(total=num_requests, desc="Processed prompts")
|
||||
pbar = tqdm(total=num_requests,
|
||||
desc="Processed prompts",
|
||||
dynamic_ncols=True)
|
||||
# Run the engine.
|
||||
outputs: List[RequestOutput] = []
|
||||
while self.llm_engine.has_unfinished_requests():
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user