Triton Inference Server v2.75.0: A Dynamic Batcher Use-After-Free, Silent gRPC Cancellations, and a Two-Release Hardening Audit
TL;DR: NVIDIA's Triton Inference Server tagged v2.75.0 on 2026-11-17, only 15 days after v2.74.0 (2026-11-02), the shortest gap since at least v2.68 (2026-04-28). The notes are short, but they are almost entirely about failure modes: a use-after-free in the dynamic batcher, a preserve_ordering completion-slot problem on response-cache hits, gRPC streams that could be cancelled silently under backpressure, and an unbounded decompressed HTTP response size in the client library. v2.74.0 before it added request-cancellation checks, enforced --http-max-input-size across nested generate parameters, validated SageMaker model URLs before path normalization, and tightened Python backend shared memory permissions. Read together, the two releases are a hardening sweep. This post lists what each item means for a serving fleet, which of your configs can hit the code paths involved, and a checklist for rolling it out. All facts come from the public release notes at the time of writing; code snippets are illustrative and marked as such.
What shipped in Triton v2.75.0?
The v2.75.0 notes (tag target r26.11, published 2026-11-17) list seven improvement items:
- PyTorch backend: added AOTI BF16 input/output support.
- Packaging:
THIRD-PARTY-NOTICES.txtis now included in the containers. - Dynamic batcher: fixed a use-after-free, and fixed a
preserve_orderingcompletion-slot issue on response-cache hits. - gRPC: prevented silent stream cancellations under backpressure.
- Client library: bounded the decompressed HTTP inference response size.
- Perf Analyzer: honored supplied output shapes, propagated the binary exit code, tagged the wheel as platform-specific, and limited profile-data export to the needed inputs and outputs.
- Python backend: now logs when the backend stub exits on a crash signal.
Four of these items are about correctness or resource limits on the request path, one is a feature, one is packaging, and the Perf Analyzer and Python stub items are about tooling and observability. The release assets include cu135 builds for cp312 on both x86_64 and aarch64 in the manylinux (early access) format, plus SDK archives and a clients tarball for Ubuntu 24.04.
The chart above is my own grouping of the published bullets, not an official classification. Where a bullet bundles two changes (for example the Python backend line in v2.74.0), I counted each change once.
Why does a use-after-free in the dynamic batcher matter?
The dynamic batcher is the component that gathers individual requests into a batch before they reach the backend. It owns buffers and per-request state across threads, so lifetime bugs there are the type of defect that shows up as a rare crash or, worse, as a wrong output attached to the wrong request. The release notes state only that a use-after-free was fixed; they do not publish a trigger condition, so do not assume you are safe because your traffic looks different from someone else's.
What you can do without the trigger details:
- Treat unexplained server restarts as in scope. If your orchestrator restarted a Triton pod with a signal exit and the cause was never found, v2.75.0 is a reasonable thing to rule out.
- Check which models use dynamic batching. A model config with a
dynamic_batchingblock goes through this code. Ensemble steps and BLS calls that feed such models do too. - Keep core dumps or at least the exit signal. The Python backend change in the same release, logging when the stub exits on a crash signal, is a hint that crash attribution was a pain point.
A quick way to inventory which models are exposed (illustrative, adjust paths):
# list model configs that enable dynamic batching grep -rl "dynamic_batching" /models --include=config.pbtxt # and which of them also preserve ordering grep -rl "preserve_ordering" /models --include=config.pbtxt What is the preserve_ordering and response-cache fix about?
preserve_ordering is a dynamic batcher option that forces responses to be returned in the same order the requests arrived. The response cache lets Triton answer an identical request without running the model. The v2.75.0 note says a completion-slot issue existed on response-cache hits when preserve_ordering was in play. Both features are opt-in per model, so the exposure is limited to configs that enable both. A minimal illustrative config:
# illustrative config.pbtxt fragment dynamic_batching { max_queue_delay_microseconds: 500 preserve_ordering: true } response_cache { enable: true } If your model config looks like this, your upgrade test should include a replay with a high cache-hit rate and mixed hit and miss traffic, since an ordering slot problem only appears when hits and misses interleave. Check that each client sees one response per request and that no request hangs waiting for a slot.
What does "silent gRPC stream cancellation under backpressure" look like in production?
Backpressure means the consumer of a stream is slower than the producer. With a decoupled model streaming tokens, the client may read slowly while the server keeps producing. The v2.75.0 note says Triton now prevents silent stream cancellations in that situation. The practical symptom of the old behavior would be a stream that ends early without an error the client can distinguish from a normal end.
If you stream, add a guard on the client side regardless of version: count the responses you expect, or require an explicit final-flag response, and treat a stream that ends without it as a failure. A sketch using the Python client (illustrative):
# illustrative: treat a stream that ends without a final marker as an error import tritonclient.grpc as grpcclient done = {"final": False, "err": None} def cb(result, error): if error is not None: done["err"] = error return resp = result.get_response() params = resp.parameters if "triton_final_response" in params and params["triton_final_response"].bool_param: done["final"] = True client = grpcclient.InferenceServerClient("localhost:8001") client.start_stream(callback=cb) # ... send request, wait ... client.stop_stream() assert done["final"] or done["err"], "stream ended without a final response" This pattern is cheap, version independent, and turns a silent truncation into a loud one.
Why bound the decompressed HTTP response size in the client?
Compression ratios can be extreme. A small compressed body can expand to a very large buffer, so a client that trusts the stream can run out of memory. The v2.75.0 note says the client library now bounds the decompressed HTTP inference response size. That matters most when the client talks to a server it does not fully control, for example a gateway in front of several model backends, or when a misbehaving model produces an unexpectedly large tensor. On the server side, the v2.74.0 counterpart is --http-max-input-size, which that release now enforces across nested parameters of generate requests. Setting both limits deliberately is better than relying on defaults:
# illustrative: set an explicit input cap rather than relying on the default tritonserver --model-repository=/models --http-max-input-size=33554432 Pick the number from your largest legitimate request plus headroom, and load test the boundary. A limit you have never hit is a limit you have never tested.
What did v2.74.0 change that you may have skipped?
Many teams skip a release when the next one lands two weeks later, so the v2.74.0 items are worth a second look. From its notes:
- Request cancellation is checked before a request is dispatched to the backend, and before batch assembly in the TensorRT backend. Under load with impatient clients, this avoids doing work for requests nobody is waiting for.
- HTTP request buffers are released after a request is rejected for exceeding the chunk limit.
-
--http-max-input-sizeis enforced across nested parameters of generate requests. - SageMaker model URLs are validated before path normalization.
- Python backend: restrictive permissions are applied to shared memory, and GPU tensor allocation falls back to host memory.
- S3 addressing style is configurable.
- vLLM backend: support for vLLM 0.30 and later, and prompts are rendered before generation and encoding.
- Build and packaging: the server is built and shipped on the
cuda-dl-basedevel image, theopenaiandpydanticpins were relaxed to match vLLM requirements, and ONNX Runtime, OpenVINO, Python and TensorRT-LLM backend builds now requireTRITON_BUILD_CONTAINER. - Breaking change: the Llava1.5 tutorial is deprecated in favor of a Qwen2.5-VL guide for the TensorRT-LLM PyTorch backend.
If you build custom backends, the TRITON_BUILD_CONTAINER requirement and the base image change are the two items that can break a CI pipeline before they ever touch production.
What do the two releases tell you about release cadence?
The first chart shows days between releases from v2.68 to v2.75. Most gaps sit between 24 and 35 days, which is roughly a monthly train. The 15-day gap before v2.75.0 is the outlier. Two readings are plausible, and the notes do not say which is right: either the fixes were judged worth shipping early, or the schedule aligned with a container release (the tag target r26.11 suggests a November container branch). What you can say from the data is that a patch-sized release arrived quickly and that it concentrates on correctness. For an operator, that is a reason to schedule a canary rather than wait for the next monthly release.
Which Known Issues in the v2.75.0 notes should you read before upgrading?
The Known Issues list is long and carries over from earlier releases, but a few entries intersect with the changes above:
- The Triton TensorRT-LLM Backend container image is not included in this release. If that is your serving path, plan around it before pulling anything.
- vLLM's v0 API and Ray are affected by vulnerabilities. The notes advise not exposing Ray executors and vLLM hosts to a network where untrusted connections might reach them, and restricting who can connect to the XPUB socket port (which is random).
- CuPy and the CUDA 13 Device API in multithreaded contexts. Avoid
tritonclientcuda_shared_memoryAPIs in multithreaded environments until fixed. - Segmentation fault at shutdown on NVSwitch systems related to DCGM and NSCQ. The suggested workaround is
tritonserver --allow-gpu-metrics false. - Python models in decoupled mode: make sure the
ResponseSendergoes out of scope or is cleaned up before unloading the model. - vLLM backend with tensor parallelism above 1: specify
"distributed_executor_backend":"ray"inmodel.json. - Auto-complete config can increase start time; supply the full config and use
--disable-auto-complete-configto avoid it.
Several of these are old entries. The point is not that they are new, but that an upgrade is the moment to re-read the ones that match your deployment.
How should you roll v2.75.0 out?
A pre-upgrade checklist built from the items above:
- Inventory configs. Run the grep above and list models with
dynamic_batching,preserve_ordering, andresponse_cache. - Replay traffic. Use Perf Analyzer or your own replay, with a mix of cache hits and misses, against a staging instance on v2.75.0. Perf Analyzer now propagates the binary exit code, so a failing run fails your CI step instead of passing quietly.
- Test streaming under a slow consumer. Throttle a client and confirm that streams end with a final response or an explicit error.
- Set explicit size limits. Choose
--http-max-input-sizeon purpose and test requests at and just above it. - Check the build pipeline. If you build backends, set
TRITON_BUILD_CONTAINERand confirm the new base image works. - Watch crash signals. With the Python stub now logging crash signals, alert on that log line.
- Canary, then roll. Send a small share of traffic to v2.75.0, watch restarts, p99 latency, and error codes for a full traffic cycle, and only then widen.
For Perf Analyzer runs, a simple harness line (illustrative) is enough to get a baseline before and after:
perf_analyzer -m my_model -u localhost:8000 \ --concurrency-range 8:64:8 --percentile=99 echo "exit code: $?" FAQ
Is Triton v2.75.0 a security release?
The notes do not label it that way. They list a use-after-free fix, bounded response sizes, and validation changes (the last in v2.74.0), which are the same classes of issue security teams care about, but there is no advisory text in the release notes. Check NVIDIA's advisory channels for a formal statement if your compliance process needs one.
Do I need to upgrade if I do not use dynamic batching?
Not for the batcher fixes. The gRPC backpressure and client response size items can still apply, depending on whether you stream and which client library you use.
What is preserve_ordering used for?
It makes the dynamic batcher return responses in request arrival order. It is used when downstream consumers depend on ordering, at some cost to throughput.
Which versions does the vLLM backend support in v2.74.0?
The notes say support for vLLM 0.30 and later was added. v2.75.0 does not change that line.
Why did the release come 15 days after the previous one?
The notes do not say. The tag target r26.11 points to a November container branch, and the content is mostly fixes, so an early correctness release is a reasonable reading, but it is an inference.
Where are the official notes?
On the project's GitHub releases page for the triton-inference-server/server repository, under tags v2.74.0 and v2.75.0.
Further reading
- KServe v0.22.0-rc0 in 265 Changes: DisaggregatedSet for Prefill/Decode, KernelCache, and the Route and Istio Opt-Ins to Audit Before Upgrading
- llama.cpp v1.1.0 in 415 Commits: Slot Scheduler Refactor, Prompt-Cache Restore Fixes, and What to Audit
Sources: Triton v2.75.0 release and Triton v2.74.0 release.