Show HN: Ramgod – Run MoE LLMs bigger than RAM on an 8GB Mac, 3-5x llama.cpp
Category: ai-ml
Tags: moe, llm-inference, apple-silicon, memory-management, llama-cpp, ssd-streaming
Score: 7.5/10 (Innovation: 8, Technical: 8, Documentation: 8, Utility: 6)
ramgod is a macOS/Apple Silicon tool that streams MoE experts from SSD into RAM to run models larger than available memory, achieving 3-5x speedups over llama.cpp via predictive prefetching, parallel chunked reads, and page locking. Its clever hooking of llama.cpp's router output and detailed engineering log make it a notable systems-level optimization for memory-constrained local inference.
Target audience: backend devs and ML engineers running local LLMs on memory-constrained Apple Silicon
Repository: https://github.com/Ri4dH/ramgod · C++ · NOASSERTION · 6 stars
View on Hacker News