Overview of Expert Sniper on d-Matrix Corsair
mainExpert Sniper is a Mixture of Experts (MoE) inference system designed to map onto d-Matrix Corsair hardware. The system optimizes MoE inference by streaming only active experts from slow storage (LPDDR5) into fast memory (SRAM), significantly reducing the hardware footprint required for large models. For example, a 122B MoE model that would typically require 64 Corsair cards using dense inference can be run on just 2 cards using Expert Sniper.
Key optimization techniques include:
- LRU expert cache: Maintains frequently used experts in fast memory.
- Routing bias: Steers the router toward already-cached experts to achieve high hit rates (up to 97%).
- Dead expert elimination: Skips experts that never fire (up to 45.2% of experts in some models).
- Co-activation prefetch: Predicts next-layer experts before they are needed.
- Union-of-experts batching: Deduplicates expert verification in batched tokens (up to 58% dedup).