You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`--router-gms-decode-transfer` / `--no-router-gms-decode-transfer`|`DYN_ROUTER_GMS_DECODE_TRANSFER`|`false`| Experimental GMS decode-to-decode transfer orchestration for GMS-capable aggregated decode workers |
46
47
|`--router-prefill-load-model`|`DYN_ROUTER_PREFILL_LOAD_MODEL`|`none`| Prompt-side load model: `none` for static load, `aic` for oldest-prefill decay using an AIC prediction |
47
48
|`--router-event-threads`|`DYN_ROUTER_EVENT_THREADS`|`4`| KV indexer worker threads. >1 enables the concurrent radix tree, including with `--no-router-kv-events`|
48
49
|`--router-queue-threshold`|`DYN_ROUTER_QUEUE_THRESHOLD`|`16.0`| Queue threshold fraction of prefill capacity. Priority hints only affect requests waiting in this queue |
|`--migration-limit`|`DYN_MIGRATION_LIMIT`|`0`| Max request migrations per worker disconnect. 0 = disabled |
77
+
| — |`DYN_MIGRATION_RETRY_CONCURRENCY`|`0`| Optional process-wide cap for concurrent migrated retry streams. 0 = unlimited |
76
78
|`--active-decode-blocks-threshold`|`DYN_ACTIVE_DECODE_BLOCKS_THRESHOLD`|`1.0`| KV cache utilization fraction (0.0–1.0) for busy detection. Pass `None` to disable |
77
79
|`--active-prefill-tokens-threshold`|`DYN_ACTIVE_PREFILL_TOKENS_THRESHOLD`|`10000000`| Absolute token count for prefill busy detection. Pass `None` to disable |
78
80
|`--active-prefill-tokens-threshold-frac`|`DYN_ACTIVE_PREFILL_TOKENS_THRESHOLD_FRAC`|`64.0`| Fraction of `max_num_batched_tokens` for prefill busy detection. OR logic with absolute threshold. Pass `None` to disable |
Copy file name to clipboardExpand all lines: docs/components/router/router-configuration.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,7 @@ This page collects the main router flags for frontend-embedded and standalone de
14
14
-`--load-aware`: Preset for load-aware KV routing without cache-reuse signals. On the frontend, it implies `--router-mode kv`. It sets `overlap_score_credit=0`, disables KV events, durable KV events, and KV reuse assumptions, enables active-block and prefill-token load tracking, disables remote/shared cache indexers, and preserves `--router-prefill-load-scale`.
15
15
-`--router-temperature`: Controls worker selection randomness through softmax sampling of normalized router cost logits. A value of 0 (default) ensures deterministic selection of the lowest-cost worker, while higher values introduce more randomness.
16
16
-`--router-track-prefill-tokens`: Enables prompt-side load accounting in the worker cost model. This should stay enabled if you want queue thresholds, `active_prefill_tokens`, and AIC prefill load decay to reflect prompt work.
17
+
-`--router-gms-decode-transfer`: **Experimental, disabled by default.** Enables GMS decode-to-decode KV transfer orchestration for GMS-capable aggregated decode workers. Vanilla Dynamo routing is unchanged unless this flag is explicitly enabled.
17
18
-`--router-prefill-load-model`: Selects the router's prompt-side load model. `none` keeps the existing static prompt load accounting. `aic` predicts one expected prefill duration per admitted request and lazily decays only the oldest active prefill request on each worker.
18
19
-`--router-queue-threshold`: Queue threshold fraction for prefill token capacity (default: 16.0). The router holds incoming requests in a priority queue while all eligible workers exceed `threshold * max_num_batched_tokens`, releasing them when capacity frees up. This defers dispatch rather than rejecting work, so routing decisions use the freshest load metrics at the moment a request is actually sent to a worker. `nvext.agent_hints.priority` only affects ordering while requests are pending in this queue. Must be greater than or equal to 0; use `0.0` for maximum queueing sensitivity. Set to `None` to disable queueing. See the SGLang note under [Tuning Guidelines](#tuning-guidelines) for caveats around how `max_num_batched_tokens` is populated on that backend, and see [Priority Scheduling](../../agents/priority-scheduling.md) for how router priority differs from backend engine priority.
19
20
-`--router-queue-policy`: Scheduling policy for the router queue (default: `fcfs`).
|`--router-track-prefill-tokens` / `--no-router-track-prefill-tokens`|`--router-track-prefill-tokens`| Include prompt-side load in active worker load accounting |
44
+
|`--router-gms-decode-transfer` / `--no-router-gms-decode-transfer`|`--no-router-gms-decode-transfer`| Experimental GMS decode-to-decode transfer orchestration for GMS-capable aggregated decode workers |
44
45
|`--router-prefill-load-model <none\|aic>`|`none`| Prompt-side load model; see [Routing Concepts](router-concepts.md#active-load-modeling) and [Configuration and Tuning](router-configuration.md#aic-prefill-load-model)|
45
46
|`--router-queue-threshold <float>`|`16.0`| Queue threshold fraction; priority hints only reorder requests while this queue is non-empty |
46
47
|`--router-queue-policy <str>`|`fcfs`| Scheduling policy for the queue: `fcfs` (tail TTFT), `wspt` (avg TTFT), or `lcfs` (comparison-only reverse ordering) |
0 commit comments