Unverified Commit b2e65cb4 authored by Seiji Eicher's avatar Seiji Eicher Committed by GitHub
Browse files

[benchmark] Make request IDs unique across clients by default (#27723)


Signed-off-by: default avatarSeiji Eicher <seiji@anyscale.com>
parent 2bf0bcc1
...@@ -26,6 +26,7 @@ import os ...@@ -26,6 +26,7 @@ import os
import random import random
import shutil import shutil
import time import time
import uuid
import warnings import warnings
from collections.abc import AsyncGenerator, Iterable from collections.abc import AsyncGenerator, Iterable
from dataclasses import dataclass from dataclasses import dataclass
...@@ -1160,7 +1161,7 @@ def add_cli_args(parser: argparse.ArgumentParser): ...@@ -1160,7 +1161,7 @@ def add_cli_args(parser: argparse.ArgumentParser):
"--request-id-prefix", "--request-id-prefix",
type=str, type=str,
required=False, required=False,
default="benchmark-serving", default=f"bench-{uuid.uuid4().hex[:8]}-",
help="Specify the prefix of request id.", help="Specify the prefix of request id.",
) )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment