mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-09 23:34:27 +08:00
[benchmark] Make request IDs unique across clients by default (#27723)
Signed-off-by: Seiji Eicher <seiji@anyscale.com>
This commit is contained in:
parent
2bf0bcc1fc
commit
b2e65cb4a7
@ -26,6 +26,7 @@ import os
|
||||
import random
|
||||
import shutil
|
||||
import time
|
||||
import uuid
|
||||
import warnings
|
||||
from collections.abc import AsyncGenerator, Iterable
|
||||
from dataclasses import dataclass
|
||||
@ -1160,7 +1161,7 @@ def add_cli_args(parser: argparse.ArgumentParser):
|
||||
"--request-id-prefix",
|
||||
type=str,
|
||||
required=False,
|
||||
default="benchmark-serving",
|
||||
default=f"bench-{uuid.uuid4().hex[:8]}-",
|
||||
help="Specify the prefix of request id.",
|
||||
)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user