Add transfer queue admission knobs
This commit is contained in:
@@ -38,6 +38,8 @@ class BenchmarkConfig:
|
||||
kvcache_seed_only_multiturn_sessions: bool = False
|
||||
kvcache_prefill_backup_policy: str = "release-after-transfer"
|
||||
kvcache_seed_max_inflight_decode: int | None = 3
|
||||
kvcache_seed_max_decode_transfer_queue_reqs: int | None = None
|
||||
kvcache_direct_max_decode_transfer_queue_reqs: int | None = None
|
||||
kvcache_prefill_priority_eviction: bool = False
|
||||
kvcache_prefill_direct_priority: int = -100
|
||||
kvcache_prefill_normal_priority: int = 100
|
||||
@@ -174,6 +176,12 @@ def run_live_benchmark(config: BenchmarkConfig) -> BenchmarkArtifacts:
|
||||
kvcache_seed_max_inflight_decode=(
|
||||
config.kvcache_seed_max_inflight_decode
|
||||
),
|
||||
kvcache_seed_max_decode_transfer_queue_reqs=(
|
||||
config.kvcache_seed_max_decode_transfer_queue_reqs
|
||||
),
|
||||
kvcache_direct_max_decode_transfer_queue_reqs=(
|
||||
config.kvcache_direct_max_decode_transfer_queue_reqs
|
||||
),
|
||||
kvcache_prefill_priority_eviction=(
|
||||
config.kvcache_prefill_priority_eviction
|
||||
),
|
||||
@@ -220,6 +228,12 @@ def run_live_benchmark(config: BenchmarkConfig) -> BenchmarkArtifacts:
|
||||
"kvcache_seed_max_inflight_decode": (
|
||||
config.kvcache_seed_max_inflight_decode
|
||||
),
|
||||
"kvcache_seed_max_decode_transfer_queue_reqs": (
|
||||
config.kvcache_seed_max_decode_transfer_queue_reqs
|
||||
),
|
||||
"kvcache_direct_max_decode_transfer_queue_reqs": (
|
||||
config.kvcache_direct_max_decode_transfer_queue_reqs
|
||||
),
|
||||
"kvcache_prefill_priority_eviction": (
|
||||
config.kvcache_prefill_priority_eviction
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user