[Bugfix] Fix SLA tuner initialization (#27355)

Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
This commit is contained in:
Cyrus Leung
2025-10-23 11:43:04 +08:00
committed by GitHub
parent 2566dca2a9
commit 6738e4a093
2 changed files with 4 additions and 1 deletions

View File

@@ -401,7 +401,8 @@ class SweepServeSLAArgs(SweepServeArgs):
@classmethod
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:
sla_params = SLASweep.read_json(args.sla_params)