Reproduce “Chameleon: a Heterogeneous and Disaggregated Accelerator System for Retrieval-Augmented Language Models” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Wenqi Jiang, Marco Zeller, Roger Waleffe, Torsten Hoefler, Gustavo Alonso
Chameleon introduces a heterogeneous and disaggregated accelerator system for Retrieval-Augmented Language Models (RALMs), combining GPUs for language model inference and FPGA-based near-memory accelerators for vector search. The system delivers up to 3.18x higher end-to-end throughput for RALM inference and achieves 5.8-26.2x better energy efficiency for vector search compared to CPU-only approaches.
Key insights
- Optimal RALM performance requires heterogeneous acceleration, leveraging GPUs for tensor operations in LLM inference and specialized FPGAs for memory-intensive vector search.
- Disaggregating accelerators enables flexible resource allocation and scaling, crucial for adapting to the widely varying and shifting bottlenecks across diverse RALM configurations.
- An Approximate Hierarchical Priority Queue (AHPQ) within the FPGA design significantly reduces hardware resource consumption for K-selection while maintaining high recall accuracy in vector search.
- Scanning the IVF index on GPUs provides substantial speedups compared to CPU-based index scanning, effectively utilizing GPU parallelism for this task.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.