Skip to content
AI-generated research idea🔴Hard🔬Significant ResearchRelated work found

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

a couple of months

Compute level

Single GPU or less

Resources

Single consumer GPU (e.g., RTX 4090/5090 or RTX 4060 Laptop) with 32-64 GiB DRAM, fast PCIe 4.0/5.0 NVMe SSD, and public DeepSeek-V4-Flash or GLM-5.2-NVFP4 checkpoints.

What the paper used

Six single-GPU systems: RTX 5090 (32 GB, 180 GiB DDR5, 6 threads capped), RTX 4090 (24 GB, 240 GiB DDR4, 6 threads), RTX 3090 (24 GB, 180 GiB DDR4, 6 threads), RTX 5090 desktop (32 GB, Ryzen 9 9950X3D, 192 GiB DDR5), RTX 4060 laptop (8 GB, Core i9-13900H, 32 GiB LPDDR5), and RTX PRO 6000 (96 GB, Xeon Platinum 8559C, 512 GiB DDR5); evaluated on Qwen3.6-35B-A3B, DeepSeek-V4-Flash (284B), and GLM-5.2 (753B).

Prerequisites

Asynchronous storage I/O (io_uring / O_DIRECT), hierarchical caching, and CUDA/C++ systems engineering.

Scope

new model architecture

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.”
From the paper, Section 3.3, page 8. Matched against the PDF text.

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.

  1. 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.
  2. Modify the FTW loader in FreeToken to support a bounded host-DRAM expert slot pool backed by an NVMe-resident FTW bank file.
  3. Implement asynchronous layer-ahead NVMe-to-DRAM prefetching for prefill and background DRAM eviction/admission for decode misses.
  4. 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?

Related work found

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.

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 Execution

Shuo 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

Is this a good idea?

Share onXLinkedIn