Skip to content
AI-generated research idea🟡Fairly easy💡Moderate InnovationRelated work found

Online Bandwidth Telemetry for Contention-Adaptive CPU-GPU Expert Splitting

Dynamically measure host and transfer bandwidth skew during generation so hybrid CPU-GPU scheduling adapts to thermal throttling and background contention.

Time

several weeks

Compute level

Single GPU or less

Resources

Single consumer laptop or desktop GPU (e.g., RTX 4060 Laptop 8 GB or RTX 5090 32 GB) with 32-192 GiB host DRAM, public MoE checkpoints (Qwen3.6-35B-A3B, DeepSeek-V4-Flash), and the released FreeToken codebase.

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

CUDA Graph programming, GPU-CPU synchronization primitives, and systems performance profiling.

Scope

modify existing code

The Gap

During decode, FreeToken partitions each MoE layer's m expert cache misses between PCIe GPU cache fills and in-place CPU execution using the closed-form split q* = m * (B_P / B_H), where B_P is pinned PCIe transfer bandwidth and B_H is CPU expert-kernel bandwidth profiled once at deployment time on the target machine.

“The bandwidth parameters (BH and BP) are empirically profiled on the target hardware at deployment.”
From the paper, Section 3.2, page 7. Matched against the PDF text.

Limitation

Deployment-time bandwidth profiling treats host memory and PCIe throughput as static constants, whereas personal laptops and desktops experience frequent mid-session bandwidth fluctuations due to thermal throttling, power-state transitions, and concurrent CPU/DMA workloads, causing static q* ratios to leave either the PCIe link or CPU workers stalled.

Proposed Solution

Augment the CUDA-Graph-resident execution step with lightweight GPU/CPU timestamp counters inside the persistent task descriptors to measure the realized completion-time delta between the concurrent PCIe fill branch and CPU execution branch. Feed these per-step skew measurements into an exponential moving average estimator that updates the device-resident B_P / B_H ratio at scheduler safe points without breaking CUDA Graph capture.

Why This Matters

Expected to eliminate branch imbalance and sustain near-optimal decode throughput when edge machines undergo thermal throttling or concurrent background activity.

How to Get Started

How to test it: Test the hypothesis that closed-loop q* adaptation improves decode tok/s by at least 15% over static deployment-time q* under synthetic host-memory stress (e.g., concurrent stream/compilation tasks) and laptop thermal throttling on Qwen3.6-35B-A3B and DeepSeek-V4-Flash; stop if branch telemetry overhead or jitter degrades uncontended decode speed by more than 2%.

  1. Clone the released FreeToken repository (https://github.com/FlashML-org/FreeToken) and reproduce the Qwen3.6-35B-A3B OpenCode baseline on a consumer desktop or laptop GPU.
  2. Instrument the Graph-resident CPU execution descriptor and CUDA stream events to record per-layer GPU-fill vs. CPU-branch latency slack across decode steps.
  3. Implement an EMA-based online estimator of effective B_P / B_H updated in device memory at scheduler safe points.
  4. Benchmark uncontended vs. contended decode throughput (co-running memory-bandwidth stress and power-capped GPU/CPU states) against the static-profiled q* baseline.

Suggested by AI. Adapt it to your setup.

Has This Been Done?

Related work found

Works like Multi-GPU MoE Inference with Adaptive Expert Offloading and Apto explore adaptive CPU-GPU hybrid MoE inference, but they do not specifically detail CUDA-Graph-resident telemetry using lightweight timestamp counters for skew measurement and moving average estimators.

We searched OpenAlex and arXiv for “adaptive CPU GPU MoE offloading dynamic bandwidth contention” and “Online Bandwidth Telemetry for Contention-Adaptive CPU-GPU Expert Splitting” 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