mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-18 05:15:01 +08:00
[Bugfix] Fix SLA tuner initialization (#27355)
Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
This commit is contained in:
parent
2566dca2a9
commit
6738e4a093
@ -66,6 +66,8 @@ def run_benchmark(
|
|||||||
):
|
):
|
||||||
benchmark_cmd = [
|
benchmark_cmd = [
|
||||||
*bench_overrides.apply_to_cmd(bench_cmd),
|
*bench_overrides.apply_to_cmd(bench_cmd),
|
||||||
|
"--percentile-metrics",
|
||||||
|
"ttft,tpot,itl,e2el",
|
||||||
"--save-result",
|
"--save-result",
|
||||||
"--result-dir",
|
"--result-dir",
|
||||||
str(output_path.parent),
|
str(output_path.parent),
|
||||||
|
|||||||
@ -401,7 +401,8 @@ class SweepServeSLAArgs(SweepServeArgs):
|
|||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def from_cli_args(cls, args: argparse.Namespace):
|
def from_cli_args(cls, args: argparse.Namespace):
|
||||||
base_args = super().from_cli_args(args)
|
# NOTE: Don't use super() as `from_cli_args` calls `cls()`
|
||||||
|
base_args = SweepServeArgs.from_cli_args(args)
|
||||||
|
|
||||||
if args.sla_params:
|
if args.sla_params:
|
||||||
sla_params = SLASweep.read_json(args.sla_params)
|
sla_params = SLASweep.read_json(args.sla_params)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user