Overview of RecML: High-Performance Recommender Library
mainRecML is a high-performance, large-scale deep learning recommender system library. It is specifically optimized for Cloud TPUs (leveraging SparseCore acceleration) and Cloud GPUs, making it suitable for training and serving massive models with large embedding tables on datasets containing millions or billions of items/users.
Key capabilities include:
- Scalable Architecture: Support for massive datasets via efficient data loading (e.g.,
tf.data) and sharding/SPMD. - State-of-the-Art Models: Reference implementations for ranking, retrieval, and sequential recommendation tasks.
- Reusable Building Blocks: Access to common recommendation layers (e.g., DCN, BERT4Rec), specialized Embedding APIs (JAX Embedding API for SparseCore), standardized metrics (AUC, NDCG@K, etc.), and common loss functions.
- Unified Trainer: A high-level abstraction for training and evaluation that targets different hardware (TPU/GPU) and frameworks (primarily Keras and JAX).