Overview of NVIDIA RecSys Examples
mainNVIDIA RecSys Examples is a collection of optimized recommender models and components designed for large-scale ranking, retrieval, and generative recommendation tasks. The project is structured into three primary functional areas:
- Examples: High-level implementations for specific model architectures:
- HSTU (Hierarchical Sequential Transformer Unit): For large-scale ranking and retrieval training (using TorchRec, Megatron-Core, and DynamicEmb) and optimized inference (using Triton Inference Server, CUDA graphs, and C++ deployment).
- Semantic ID (SID-GR) Generative Recommender: For training and retrieval using hierarchical semantic-ID prediction and Megatron-Core decoder support.
- SID-GR Inference: Specialized serving for long-context, short-decode, and large-beam scenarios using ContextKV/BeamKV/BeamPath abstractions.
- Standalone GPU Libraries: Core optimized components:
- DynamicEmb: Model-parallel dynamic embedding tables with GPU/host storage and TorchRec integration.
- RecSys KVCache Manager: User-ID-based KV-cache reuse for generative recommender inference.
- Beam search decode attention: Specialized kernels for SID-GR KV-cache generation.
- Agentic Performance Optimization:
- Talos: An automated toolkit that uses coding agents (like Claude Code) to profile, rewrite, and verify PyTorch model hotspots for performance gains without human intervention.