x
This commit is contained in:
@@ -75,6 +75,12 @@ def build_command() -> list[str]:
|
||||
cmd.extend(["--revision", revision])
|
||||
if api_key:
|
||||
cmd.extend(["--api-key", api_key])
|
||||
if updates.get("kv_cache_dtype"):
|
||||
cmd.extend(["--kv-cache-dtype", str(updates["kv_cache_dtype"])])
|
||||
if updates.get("enable_prefix_caching"):
|
||||
cmd.append("--enable-prefix-caching")
|
||||
if updates.get("max_num_batched_tokens", 0) > 0:
|
||||
cmd.extend(["--max-num-batched-tokens", str(updates["max_num_batched_tokens"])])
|
||||
return cmd
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user