triton_setup.txt (2.7 KB)
Hello everyone,
I’m working with Triton Inference Server + TensorRT-LLM backend serving the Llama-3.1-8B model.
Based on my current setup (Attached), My goals for this deployment are:
-
Stateful serving – avoid sending long context with every request (true continuation across sequence_id).
-
KV cache reuse across requests – leverage cached K/V tensors for efficiency.
-
Priority-based KV caching – allow eviction of low-priority sequences if needed.
My question to the community
With this configuration:
-
Is it feasible today to achieve true stateful continuati
triton_setup.txt
on (i.e., send prefix once, then continue generation without resending it) with Triton + TensorRT-LLM? -
Or is KV cache reuse currently limited to prefix caching (must resend the same prefix for reuse)?
-
Is it feasible to use Priority based caching and Stateful behavior together?
-
Are there example configs / references for enabling end-to-end stateful serving with LLMs in Triton?