FOMOE Enables 397B Qwen3.5 Model Inference on $2,100 Desktop Hardware

What FOMOE Solves
Large Mixture of Experts (MoE) models require hundreds of GBs of weight storage, typically in flash memory like NVMe. During inference, only a small fraction of weights are needed, but you can't predict which ones ahead of time. Random access patterns make flash latencies too high for practical inference on consumer hardware.
How FOMOE Works
The system makes most expert weight reads unnecessary through several techniques:
- Stores the most common experts in GPU memory (VRAM) with an up-to-date rolling expert cache
- Achieves 60% VRAM hit rate with warm start, reducing NVMe reads to 28% (12% served from DRAM)
- Uses dual GPU ping-pong architecture to overlap weight loading and compute
- Implements Cache-Aware Routing (CAR) - when two experts score similarly, the model picks the next-best scoring expert already in VRAM or DRAM cache within acceptable threshold
Performance Results
- 5-9 tokens/second inference speed for Qwen3.5's 397B parameter model
- NVMe reads reduced to 7% with CAR enabled
- Only 3.5% drop in perplexity measured on wikitext
- Hardware requirements: two $500 GPUs, 32GB RAM, one NVMe drive
- Uses Q4_K_M quantization
The implementation consists of approximately 15,000 lines of Claude-driven C/HIP code with heavy human guidance.
📖 Read the full source: r/LocalLLaMA
👀 See Also

OpenClaw: Revolutionizing Website Maintenance with Continuous Surveillance
OpenClaw, an innovative AI-driven agency, redefines website maintenance by operating tirelessly around the clock. Harnessing advanced automation, it ensures optimal website functionality and promptly addresses issues.

Developer shares hybrid AI coding workflow: Claude for planning, local models for execution
A developer built a pipeline using Claude 3.5 Sonnet for task planning and local Qwen2.5-Coder models via Ollama for code generation, achieving 85% token reduction compared to using Claude alone.

Termrender: 6x Token-Efficient ASCII UI Visualization for Claude
Termrender is an open-source Python tool that generates ASCII UI visualizations with 6x token efficiency compared to raw Claude output. It produces diagrams and panels using minimal tokens for faster generation and editing.

InsForge: Self-Hosted Postgres Backend with MCP Integration for AI Coding Agents
InsForge is an open-source, self-hosted backend alternative to Supabase that connects to Claude Code via MCP, allowing AI agents to see schema, policies, and service state. It includes PostgreSQL 16.4, PostgREST, Deno Runtime, auth, storage, and edge functions.