News ·
Deploying an HSTU Generative Recommender with NVIDIA Dynamo-Triton
NVIDIA's recsys-examples repository now includes an end-to-end workflow for deploying HSTU generative recommender models with Dynamo-Triton, PyTorch AOTI compilation, and FlexKV-backed KV caching, delivering up to 5.93x lower latency on an RTX PRO 6000 Blackwell GPU.

NVIDIA has added an end-to-end inference workflow for Hierarchical Sequential Transduction Unit (HSTU) generative recommender models to its recsys-examples repository, deployable through Dynamo-Triton (formerly Triton Inference Server). Generative recommenders treat personalization as sequence modeling over user behavior, with context, items, and actions represented as tokens, rather than as separate retrieval, ranking, and prediction stages.
The workflow combines PyTorch Ahead-of-Time Inductor (AOTI) compilation, which turns HSTU ranking models into native C++ artifacts, with FlexKV-backed KV caching that stores reusable attention state so long user histories are not recomputed on every request. The KVCacheManager uses a paged GPU cache with lookup, allocation, append, and LRU-style eviction, plus host-side storage as an additional tier. Inputs are built from categorical tokens, processed by HSTU blocks, and passed to a prediction head producing multitask ranking outputs.
Benchmark results on an NVIDIA RTX PRO 6000 Blackwell Workstation Edition GPU show up to 5.93x lower latency at dynamic batch size 8 for the eight-layer HSTU model, and up to 4.47x for the three-layer model, both with a 100% GPU KV-cache hit rate compared to the same AOTI setup without caching. The guide covers model export, validation in Python and native C++, and serving through Dynamo-Triton without rewriting the model for a separate runtime. For builders of recommendation systems, this offers a practical path to serve sequence-based recommenders where long, mostly stable user histories would otherwise make inference costly.

References
- NVIDIA · developer.nvidia.com
Read the full story at NVIDIA ↗Like, save or discuss on Buzz


