Latest in AI
NVIDIA Dynamo 1.7: Check Your Router Queue Before Upgrading
See which Dynamo router queues switch to earliest-deadline-first, when controlled delay rejects requests, and how to test both on a canary.
If your Dynamo router has a policy YAML and a class leaves out queue_policy, a version upgrade can change who gets the next available worker. Dynamo 1.7.0, released November 24, changes that class default from first-come-first-served (FCFS) to earliest-deadline-first (EDF). A router using the built-in class without a policy file still defaults to FCFS.
Start by checking the configuration deployed to each frontend. The file in your repo may differ from what the current frontend actually reads.
Make the old ordering explicit
Look for --router-policy-config or DYN_ROUTER_POLICY_CONFIG. In that file, check each named class, including those under model-specific profiles. A matching model profile replaces the root profile rather than inheriting its classes.
For classes that used the old implicit FCFS default and should retain it, add queue_policy: fcfs to each one. Keep existing explicit selections. On EDF, priority and strict_priority no longer sort the waiting router queue. Soft priority can still affect an engine configured to use it, which makes a successful end-to-end priority test insufficient to show that the router’s ordering survived. Dynamo priority scheduling docs
During a mixed-version rollout, don’t put edf into a file still read by older frontends. Versions that don’t support controlled_delay also reject the key even when it is set to false. Keep the shared file compatible or give the 1.7 canary a separate file. Pinned router configuration reference
Decide whether the budget sorts or rejects
Inside an EDF class, slo_ttft_ms gives a request a due time based on when it reached the router. A deadline explicitly assigned by a request classifier takes precedence, even if it’s later. With equal class budgets and no classifier deadlines, the earlier arrival still gets the earlier due time. A useful test therefore needs unequal due times that actually reverse arrival order.
Rejection is a separate choice. With controlled_delay: true, a request still waiting when its due time passes can be rejected. With the flag omitted, the class budget sorts the EDF queue but does not itself trigger rejection. An explicit classifier deadline can still expire a waiting request with or without the flag. The budget constrains waiting for admission, not total time to the first token after dispatch. Pinned router configuration reference
Run a canary with a real backlog
NVIDIA’s 1.7 sample policy illustrates the split: its priority class enforces a 1,000 ms budget, and standard uses a 3,000 ms budget for ordering without enforcement. Adapt the example on an isolated test frontend rather than copying its sample traffic weights or queue limits into production.
- Use synthetic requests against a single class and enough load to produce router waiting. If every request goes straight through to a worker, changing the queue can’t explain the result.
- First compare dispatch order and admission success with the original policy. For an order-only EDF check, compare identical prompts with omitted versus distinct classifier deadlines, keeping enough headroom that the deadlines don’t expire before dispatch.
- Separately test rejection with a finite class budget and no classifier deadlines. Compare the same held requests with enforcement off and on. Track
dynamo_frontend_router_admission_rejected_totalforreason="due_time_passed", and report admission rate alongside client-side first-token latency. Pinned router metrics behavior
A p95 calculated only from successful responses can improve because the slowest requests were rejected. Compare successful responses, deadline rejections and retry volume against the same offered load before enabling the new policy on more replicas.
I'm Paras. I work at the intersection of AI, engineering and distribution.
I help AI infrastructure teams write migration guides that show developers what to verify before rollout.