TensorRT-LLM 1.3.0, 20 November 2026: explicit CLI flags beat YAML, KV transfers time out at 60 s and telemetry is on. Audit a 1.2 deployment first.
A release with defaults that change behaviour
NVIDIA tagged TensorRT-LLM v1.3.0 on 20 November 2026. Most of the release notes describe additions and removals that fail loudly: the TensorRT backend is gone and PyTorch is the only backend, the legacy C++ Executor and runtime APIs are removed, TRTLLMSampler is removed in favour of TorchSampler, two-model speculative decoding is gone. If your deployment used any of those, it will not start, and you will find out at once.
This guide is about the other kind of change: the ones that let a 1.2 deployment start and run under 1.3 while doing something different. Six items in the 1.3.0 notes are of that kind, and a seventh is a deprecation that becomes a hard failure in mixed fleets. The companion example is a small audit that checks a deployment description for all of them before the upgrade.
Explicit CLI flags now beat the YAML
The 1.3.0 notes mark this as a breaking change: explicit trtllm-serve, trtllm-eval and trtllm-bench flags now take precedence over values in the YAML config. Previously the YAML passed with --config or --extra_llm_api_options overrode the command line. Flags you do not set still fall back to the YAML, then to model-specific and built-in defaults.
A note on dating: the copy of the release notes at the v1.3.0 tag also lists this change under the 1.2 section, but none of the release notes shipped with the 1.2.0 or 1.2.1 tags mention it. Treat it as new when you move from any 1.2 release.
The failure mode is quiet. A launch script written when the YAML won often carries stale flags that never mattered. In the example, the script passes --max_batch_size 64 while the YAML, which the team actually maintains, says 16. Under 1.2 the service ran with 16. Under 1.3 it runs with 64, with different memory use and latency, and nothing reports an error.
def effective(cli, yaml_cfg, version):
"""Effective top-level options. Up to 1.2.x YAML beat explicit CLI flags; from 1.3.0 explicit flags win."""
out = dict(cli)
for k, v in yaml_cfg.items():
if k not in cli or version < (1, 3):
out[k] = v
return outThe fix is to choose one source of truth. Remove every flag from launch scripts that duplicates a YAML key, or delete the YAML key and keep the flag, and then diff the effective configuration that the server logs at startup before and after the upgrade.
KV cache transfers now time out after 60 seconds
For disaggregated serving, where context (prefill) and generation run on different workers and the KV cache is transferred between them, 1.3.0 adds a default timeout. The notes say there was previously no timeout; now cache_transceiver_config.kv_transfer_timeout_ms defaults to 60000. The disaggregated serving documentation describes it as bounding how long a request may wait for its KV cache before it is cancelled and cleaned up.
A bound is good, and 60 seconds is generous for most interactive traffic. It is not generous for very long prompts on busy context workers, or for batch jobs that tolerate queueing. In the example's synthetic deployment the slowest KV wait already observed is 95 seconds; under 1.3 those requests would be cancelled. Set the value explicitly on every worker, from measured waits, so the behaviour is a decision rather than a default.
Mixed authentication keys fail KV transfers
The notes deprecate disaggregated serving without internal_request_auth_key and ask for the same key in the disaggregated server config and every worker config. The disaggregated example README adds the operational detail that matters during an upgrade: set the same key on all communicating context and generation workers, or leave it unset on all of them, because mixed configurations fail KV transfers. Deployments that already set the key for HTTP hand-off signing enable native authentication on upgrade as well, and older generation workers cannot decode the authenticated challenge.
So a rolling upgrade where some workers have the key and some do not is a broken cluster, not a degraded one. Upgrade communicating context and generation workers together, and set the key everywhere in the same change. The example's fixture records only whether a key is set on each worker, never the key itself.
Usage telemetry is on by default
The 1.3.0 notes state that usage telemetry is on by default. The opt-outs listed in the notes and the README are the environment variables TRTLLM_NO_USAGE_STATS=1, DO_NOT_TRACK=1 or TELEMETRY_DISABLED=true, the file ~/.config/trtllm/do_not_track, the --no-telemetry CLI flag on trtllm-serve, trtllm-bench and trtllm-eval, and TelemetryConfig(disabled=True) in the LLM API. The notes point to a telemetry guide in the repository for the details.
Whether to opt out is a policy decision for your organisation. What matters for an upgrade is that it is decided, written down, and enforced in the image or the deployment manifest, rather than discovered later in an egress log.
Client-visible changes
Three changes affect callers, not operators, and are easy to miss because the server starts fine:
| Change in 1.3.0 | What a 1.2 client sees after the upgrade | Action |
|---|---|---|
| Per-request chat templates are opt-in | per-request templates work only when the server runs with --allow_request_chat_template | enable it deliberately, or move the template to the server |
logprobs and prompt_logprobs capped at 100 | values above 100 raise a ValueError | cap the request parameters in the client |
/perf_metrics endpoint removed | the monitoring scrape fails | send the X-TRTLLM-return-metrics: 1 request header and read metrics from responses |
The audit, before and after
The companion example runs the audit on a synthetic launch description for a catalogue-search assistant at Belgavi's Book Store, then on the same deployment after the fixes.
| Finding | Severity | Before | After |
|---|---|---|---|
max_batch_size 16 under 1.2, 64 under 1.3 | high | found | flag removed |
kv_transfer_timeout_ms unset, 95 s waits seen | high | found | set to 180000 |
| Auth key on ctx-0 and ctx-1, not gen-0 | high | found | key on all three |
| Clients send chat templates | high | found | flag enabled deliberately |
| Clients request logprobs=200 | high | found | capped at 20 |
Monitoring scrapes /perf_metrics | medium | found | header-based metrics |
| No telemetry opt-out | medium | found | TRTLLM_NO_USAGE_STATS=1 |
Seven findings, five blocking, become zero. The audit deliberately covers only these items; the removed backends and samplers fail at startup and need no audit.
Failure modes
- Silent configuration drift. A stale flag wins over the maintained YAML and changes capacity without an error.
- Long requests cancelled. The new KV timeout cancels requests that used to wait.
- Partial fleet upgrade. Mixed auth-key settings stop KV transfers between old and new workers.
- Client errors after a clean deploy. Chat templates, logprobs and metrics scrapes break callers, not the server, so health checks stay green.
- Unplanned data egress. Telemetry runs until someone opts out.
Tradeoffs
Pinning every new default explicitly (timeout, telemetry, flags) makes configuration longer and means you will not pick up future improvements to defaults automatically. For a serving stack in production, explicit settings are the better trade: behaviour changes only when you change it. Removing duplicate flags from launch scripts costs a review of every script, which is also the only way to find the ones that disagree with the YAML.
Verification
Before the upgrade, run the audit (or an equivalent checklist) against every deployment description. During a canary, diff the effective configuration the server logs at startup against the 1.2 deployment, send one request with a chat template and one with logprobs above 100 to confirm the expected behaviour, and run a long-prompt request through the disaggregated path to observe the KV wait. After the upgrade, confirm the telemetry setting by checking the environment of the running process.
Running the companion code
cd examples/python/trtllm_1_3_config_audit
python example.py
python -m unittest -v test_example.pyThe audit uses only the standard library and reads JSON fixtures; it does not import or run TensorRT-LLM, and no GPU is needed.