DEV Community

Cover image for TensorRT-LLM 1.4.0rc4 Deprecates the KV Cache Manager V1: What to Audit Before Disaggregated Serving Moves On
AI Tech News
AI Tech News

Posted on

TensorRT-LLM 1.4.0rc4 Deprecates the KV Cache Manager V1: What to Audit Before Disaggregated Serving Moves On

TL;DR

NVIDIA TensorRT-LLM published v1.4.0rc4 on 2026-11-18. It is a pre-release, not a stable build, and the stable line is v1.3.0 (final on 2026-11-20). The release notes contain three items that matter for anyone running disaggregated serving: the KV cache manager V1 and the C++ cache transceiver are deprecated, checkpoint I/O policy and format arguments became string enums (marked BREAKING), and at least 11 of the 42 fix bullets concern KV resources, transfers or disaggregated requests. This post separates what the notes say from my own reading, and gives a migration checklist you can run before the final 1.4.0 lands. Charts are drawn from counts I made by hand on the notes, or marked illustrative.

Bullets per section in the v1.4.0rc4 notes

What does the v1.4.0rc4 release actually contain?

Counting bullets under each heading of the notes: 5 known issues, 10 model support, 9 API, 33 feature, 42 fix, 4 documentation and 38 test and infra entries. That is a large candidate, which is normal for a project that cuts release candidates every one to two weeks. The count is only a size signal. It says nothing about risk, so read the API section first, because that is where behavior you depend on changes.

The API section lists these entries relevant to operators:

  • Checkpoint I/O policy and checkpoint formats now use string enums, flagged BREAKING (#20498, #20703).
  • KV cache manager V1 and the C++ cache transceiver are deprecated (#21525).
  • The Modeling V2 LLM argument defaults to auto (#21712).
  • MoeConfig.tactic lets you select a MoE implementation by ID (#21778).
  • Opt-in disaggregated transfer diagnostics and startup failure telemetry (#18913, #20853).
  • etcd credentials, TLS and signed records for disaggregated cluster storage (#21187, #21716).
  • Serving configuration schemas now require tagged-union discriminators (#21416).

Why is a deprecation of the KV cache manager a bigger deal than it sounds?

A KV cache manager is the component that decides which blocks of attention state live where, when they are evicted, and when they can be reused. Everything else in a serving stack leans on it: prefix reuse, chunked prefill, speculative decoding draft caches, and the hand-off of cache between prefill and decode workers. A deprecation means the project intends to stop maintaining one implementation in favor of another, and the fixes and features in this very release already point at the newer one: the feature list mentions KV cache V2 for generation-slot preemption, SINK_REQUIRED_ONLY attention reuse and SSD offloading work, and the test list says Kimi K3 MMMU accuracy now runs with KV cache manager V2.

The practical reading is that new capability is landing on V2 first. If your configuration pins the old manager explicitly, you are choosing to stand still while the fixes move on. Deprecated is not removed, so nothing breaks today, but a deprecated component usually loses regression coverage before it loses code.

How do I find out whether I depend on the deprecated paths?

Do not rely on memory. Grep your deployment repo and your launch scripts for the names the notes use, then confirm against the docs that match your pin:

# Run from the repo that holds your serving configs
grep -rniE "kv_cache_manager|cache_transceiver|cache_transceiver_config" \
  deploy/ configs/ scripts/ 2>/dev/null

# What does your installed build report as its version?
python -c "import tensorrt_llm; print(tensorrt_llm.__version__)"
Enter fullscreen mode Exit fullscreen mode

The exact argument names differ between releases, so treat the grep pattern as a starting point and check the argument reference for your pin. If the grep finds a transceiver setting, you are on the C++ transfer path that the notes deprecate, and the migration conversation applies to you.

Share of fix bullets touching KV or transfer

What do the fix bullets say about disaggregated serving?

I counted 11 of the 42 fix bullets that mention KV, transfer, NIXL or disaggregated paths. That is my keyword count, so a different reader would get a slightly different number, but the themes are consistent and worth reading as a list of failure modes you may have seen in production:

  • Reclaiming KV resources after failed transfers, and completing cancelled disaggregated requests (#21909, #21508, #21482).
  • Releasing profiling KV pools before NIXL deregistration, and unblocking timed-out Python transfers (#21784, #20943).
  • Releasing NIXL transfer status handles without holding the GIL (#21612).
  • Resolving mixed-precision KV-head counts in disaggregated transfers (#21597).
  • Separating generation cancellation from receive retirement, and reporting native KV transfer results (#21491, #21538).

Each of these is a leak or a stall that only shows up under load with cancellations or transfer timeouts. A KV block that is never returned after a failed transfer does not crash anything. It shrinks your effective capacity until the scheduler starts queueing, and the symptom looks like a traffic increase. If you run disaggregated serving, add a metric for free KV blocks after a synthetic burst of cancelled requests, and compare it between your current pin and a canary on this candidate.

What are the known issues I should check first?

The notes list five known issues, and each is specific to a hardware and model combination:

  1. DeepSeek-R1 FP4 disaggregated serving on B300 may produce incorrect output under CUDA graphs.
  2. GLM-5.2 NVFP4 on SM103 with TP8 may fail to initialize when Modeling V2 is required with FlashInfer 0.7.3.
  3. Kimi K3 NVFP4 KV may fail to initialize on B300 because of FP4 MLA quantization eligibility.
  4. Kimi K3 DSpark with MegaMoE CuTe DSL TEP and CUDA graphs may hang during GB300 warmup.
  5. Qwen3.8-Flash-Next FP8 with PLE offloading, attention DP and MTP may fail during initialization.

The first one deserves the most attention because it is a wrong-output risk, not a crash. A crash is loud and gets fixed. Incorrect output under CUDA graphs on one combination of precision, topology and hardware gets through unless you run an accuracy gate. If your model and hardware match any line above, hold this candidate out of production until a later build removes it from the list.

How do I roll out a cache manager change without a surprise?

Treat the migration like any change to a stateful component, with a gate at each step. The plan below is an illustrative schedule, not a recommendation of specific percentages.

Illustrative rollout plan

# Minimal acceptance gate: same prompts, old pin versus candidate.
import json, urllib.request

def run(base, prompts):
    outs = []
    for p in prompts:
        payload = {"model": "m", "prompt": p, "max_tokens": 64, "temperature": 0}
        req = urllib.request.Request(base + "/v1/completions",
            data=json.dumps(payload).encode(),
            headers={"Content-Type": "application/json"})
        outs.append(json.load(urllib.request.urlopen(req, timeout=120))["choices"][0]["text"])
    return outs

prompts = [l.strip() for l in open("gate_prompts.txt", encoding="utf-8") if l.strip()]
old = run("http://old-pin:8000", prompts)
new = run("http://candidate:8000", prompts)
same = sum(a == b for a, b in zip(old, new)) / len(prompts)
print("greedy exact-match rate:", round(same, 3))
assert same >= 0.98, "investigate before widening traffic"
Enter fullscreen mode Exit fullscreen mode

Greedy exact match is deliberately strict. Kernel changes can legitimately reorder floating point operations, so a small mismatch rate is expected, and the 0.98 threshold in the snippet is a placeholder you should calibrate on your own model. A sudden drop is the signal that matters, especially for FP4 paths.

What should I do this week?

  1. Pin production to the stable v1.3.0, and run v1.4.0rc4 only on a canary, since it is a release candidate.
  2. Grep your configs for the deprecated manager and transceiver settings and list every service that uses them.
  3. Check your launch arguments for checkpoint I/O policy and format values, since they are string enums now and a string that used to be accepted may be rejected.
  4. Add a free-KV-blocks check after a cancelled-request burst to your canary dashboard.
  5. Compare your hardware and model against the five known issues before you spend time debugging a startup failure.

FAQ

Is TensorRT-LLM v1.4.0rc4 safe for production?
It is tagged as a pre-release. The stable release at the time of writing is v1.3.0, so use the candidate for evaluation and canaries.

What does deprecating the KV cache manager V1 mean in practice?
The notes list it as deprecated, and the new features in the same release target V2. Nothing is removed in this candidate, but plan the move.

Which change in this release is marked BREAKING?
The notes mark the change of checkpoint I/O policy and checkpoint formats to string enums as BREAKING.

Does this release fix KV leaks in disaggregated serving?
Several fix bullets cover reclaiming KV resources after failed transfers and completing cancelled disaggregated requests. Verify on your own workload with a cancellation burst test.

Where do these facts come from?
The v1.4.0rc4 release notes on the project's GitHub releases page, read on 2026-11-22. The counts are my own tallies of the bullets.

Further reading

Sources: NVIDIA TensorRT-LLM v1.4.0rc4 and v1.3.0 release notes (github.com/NVIDIA/TensorRT-LLM/releases), checked 2026-11-22.

Top comments (0)