Three-Tier NVMe-DRAM-VRAM Expert Hierarchy for Memory-Constrained Consumer Hosts
Extend two-tier host-to-GPU expert offloading to NVMe storage so consumer machines with limited RAM can run hundred-billion-parameter sparse models locally.
Time
Compute level
Resources
What the paper used
Prerequisites
Scope
The Gap
FreeToken structures inference around a two-level expert-memory hierarchy in which GPU VRAM caches a subset of experts while the complete routed-expert pool resides pinned in CPU host DRAM as the source of truth (Section 3 and Section 4.2).
“because the CPU-resident expert pool remains the source of truth, GPU memory affects only performance, never correctness.”
Limitation
Requiring the full expert pool to fit in host DRAM bars typical 16-64 GiB consumer desktops and laptops from running frontier MoE models such as DeepSeek-V4-Flash (140 GB FP4), GLM-5.2 (433 GB NVFP4), or Kimi-K3 (594 GB), restricting those models to expensive 512 GiB workstations.
Proposed Solution
Extend the FreeToken Weight (FTW) bank layout into a three-tier NVMe-DRAM-VRAM hierarchy. Partition host DRAM into a dynamic expert cache managed with frequency-weighted LRU over direct-I/O NVMe expert banks, add layer-ahead asynchronous io_uring prefetching during prefill double buffering, and incorporate NVMe read bandwidth into the q* cost model so DRAM misses can trigger overlapped SSD-to-DRAM staging alongside CPU/GPU execution.
Why This Matters
Expected to unlock 100B-750B class MoE serving on mainstream 32-64 GiB consumer PCs equipped with PCIe 4.0/5.0 NVMe drives rather than requiring 512 GiB server/workstation RAM.
How to Get Started
How to test it: Test whether a three-tier NVMe-DRAM-VRAM engine can serve DeepSeek-V4-Flash (140 GB) within a 64 GiB RAM cap at interactive speeds (>8-10 tok/s decode and <60 s TTFT) on OpenCode SWE tasks compared against OS swap/mmap baselines; stop if NVMe random-read amplification caps decode below 2 tok/s.
- Profile random-expert read latency and queue-depth throughput on the target PCIe NVMe SSD using FTW expert-sized aligned chunks via O_DIRECT and io_uring.
- Modify the FTW loader in FreeToken to support a bounded host-DRAM expert slot pool backed by an NVMe-resident FTW bank file.
- Implement asynchronous layer-ahead NVMe-to-DRAM prefetching for prefill and background DRAM eviction/admission for decode misses.
- Evaluate DeepSeek-V4-Flash on a memory-capped (32-64 GiB cgroup) consumer machine across AIME and OpenCode workloads against mmap-based llama.cpp.
Suggested by AI. Adapt it to your setup.
Has This Been Done?
Papers such as Tideway and SSD-LLaMA examine tiered memory management and SSD offloading for MoE inference on consumer hardware. However, they leave open the specific combination of a three-tier NVMe-DRAM-VRAM hierarchy utilizing direct-I/O expert banks and io_uring prefetching tied into a q* cost model.
- Tideway: Phase-Aware Tiered Memory Management for MoE Inference on Consumer Devices · 2026 · 0 citations
- Who Should Own the Expert Cache? Kernel-Managed Tiering for Trillion-Parameter MoE Inference · 2026 · 1 citations
- SSD-LLaMA: SSD-Native Inference for Trillion-Parameter MoE at 1+ Token/s on a Consumer PC · 2026 · 2 citations
- DALI: A Workload-Aware Offloading Framework for Efficient MoE Inference on Local PCs · 2026
We searched OpenAlex and arXiv for “three tier NVMe DRAM GPU MoE offloading edge inference” and “Three-Tier NVMe-DRAM-VRAM Expert Hierarchy for Memory-Constrained Consumer Hosts” and an AI compared the idea with the top 10 results. A small search can miss relevant work.
Source Paper
FreeToken: Efficient Edge-Native MoE Serving with Bandwidth-Adaptive ExecutionShuo Yang, Xiaoze Fan, Melissa Pan +8 more · 2026
FreeToken is an edge-native Mixture-of-Experts (MoE) serving system that enables personal consumer hardware, from an 8 GB laptop GPU to a single workstation GPU, to interactively run 35B to 753B open-weight models on agentic workloads. It achieves 1.3-2.3x higher decode throughput and avoids multi-minute tail prefill stalls compared to llama.cpp, Ollama, KTransformers, and MoE-Infinity by orchestrating GPU VRAM, CPU compute, host memory, and PCIe bandwidth as a unified elastic platform.
Related Ideas
- Unified Co-Management of KV Cache Blocks and MoE Experts Under Memory PressureTideway: Phase-Aware Tiered Memory Management for MoE Inference on Consumer Devices🟠Medium
- Cross-Layer Lookahead Expert Prefetching Integrated with Tiered Decode PagingTideway: Phase-Aware Tiered Memory Management for MoE Inference on Consumer Devices🟠Medium
- Workflow-Aware Multi-Subagent Scheduling Over a Shared Tiered Expert PoolTideway: Phase-Aware Tiered Memory Management for MoE Inference on Consumer Devices🔴Hard
- Fused Latent-Cache Attention and Memory-Coalesced Binary Factorized CUDA KernelsLittleBit: Ultra Low-Bit Quantization via Latent Factorization🟠Medium
- Unified Adapter-Swappable Serving to Eliminate Multi-Engine OverheadWeVisForensics: Self-Evolving Agent for Omni AI-Generated Video Detection🟡Fairly easy