NVIDIA Dynamo-Triton Gets End-to-End HSTU Generative Recommender Workflow

NVIDIA Dynamo-Triton, formerly Triton Inference Server, now supports an end-to-end inference workflow for Hierarchical Sequential Transduction Unit (HSTU) generative recommenders through the NVIDIA recsys-examples repository. According to NVIDIA, the eight-layer HSTU model reached up to 5.93x lower latency at batch size 8 with a 100% GPU KV-cache hit rate.
- Dynamo-Triton, formerly Triton Inference Server, now supports an end-to-end HSTU generative recommender inference workflow via NVIDIA recsys-examples.
- The workflow combines PyTorch AOTI compilation, FlexKV-backed KV caching, NV Embedding Cache and native C++ validation.
- On an RTX PRO 6000 Blackwell Workstation Edition GPU at batch size 8, speedups reached up to 4.47x (three-layer) and 5.93x (eight-layer) with a 100% GPU KV-cache hit rate.
- The speedups are measured against the same AOTI configuration without KV caching.
Recommendation as sequence modeling
Generative recommender (GR) systems reformulate personalization as sequence modeling over user behavior. A user's interactions, context, candidate items and actions become tokens in a high-cardinality event stream, and the model generates or scores the next relevant items from that sequence. NVIDIA says this contrasts with treating recommendation as a set of isolated retrieval, ranking and prediction stages.
The approach brings a serving challenge. According to NVIDIA, GR models need low-latency inference despite long histories, large embedding tables and sequence-heavy architectures. In the HSTU ranking example, the input is built from categorical tokens: contextual tokens for user-side information, item tokens for items, and optional action tokens for user interactions. HSTU blocks process the sequence, and a prediction head produces multitask ranking outputs.
What the workflow combines
The workflow brings together several components:
- HSTU models for ranking over user sequences.
- PyTorch Ahead-of-Time Inductor (AOTI) compilation, which exports the model with torch.export and compiles it into a package a native C++ runtime can load. NVIDIA says this reduces Python runtime overhead.
- FlexKV-backed KV caching, which stores reusable key-value data from prior computation so long user histories are not recomputed on every request.
- NV Embedding Cache, which keeps only popular embeddings in GPU memory while the entire table stays in CPU memory.
- Dynamo-Triton deployment, using the PyTorch backend with platform "torch_aoti".
The KVCacheManager uses GPU memory and host storage. The GPU cache is organized as a paged KV data table that supports lookup, allocation, append and eviction, with older users evicted under an LRU-style policy when space is tight. The exported inference path includes cache-aware custom operations for lookup, allocation, onboarding, appending and offloading.
The exported package holds the AOTI model archive plus metadata and embedding table files. Python scripts generate the package and replay tensors, native C++ executables replay the model to check correctness and performance, and Dynamo-Triton serves the same AOTI package. NVIDIA says this keeps development validation and production serving aligned.
Five stages and the benchmark
NVIDIA lists five stages: build the custom operators and runtime libraries, export the HSTU ranking model with PyTorch AOTI, start the FlexKV-backed KV-cache service, validate the artifacts with native C++ replay, and serve the exported KV-cache AOTI model with Dynamo-Triton.
On an NVIDIA RTX PRO 6000 Blackwell Workstation Edition GPU at dynamic batch size 8, Dynamo-Triton with PyTorch AOTI reached best-case speedups of up to 4.47x for the three-layer HSTU model and 5.93x for the eight-layer model. These figures assume a 100% GPU KV-cache hit rate and are relative to the same AOTI configuration without KV caching.
What it means for teams
For teams building sequential recommenders, the post describes a path from PyTorch development to production serving without rewriting the model for a separate runtime. The reported gains are best-case results under a full cache hit rate on one GPU type, so real workloads may differ. NVIDIA points readers to the recsys-examples HSTU inference guide to reproduce the export, validation and deployment steps, the Dynamo-Triton HSTU documentation for production serving, and the HSTU inference benchmarks for latency across model depths and batch sizes.
NVIDIA Developer: Deploying an HSTU Generative Recommender with NVIDIA Dynamo-Triton


