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
Compute level
Resources
What the paper used
Prerequisites
Scope
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.”
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%.
- 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.
- 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.
- Implement an EMA-based online estimator of effective B_P / B_H updated in device memory at scheduler safe points.
- 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?
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.
- Multi-GPU MoE Inference with Adaptive Expert Offloading · 2026 · 0 citations
- TriMoE: Augmenting GPU with AMX-Enabled CPU and DIMM-NDP for High-Throughput MoE Inference via Offloading · 2026 · 3 citations
- Apto: Self-Adaptive CPU-GPU Hybrid MoE Inference on Shared PCs · 2026 · 0 citations
- MoE-Balance: Unleashing the Full Potential of CPU-GPU Heterogeneity for Efficient MoE Inference · 2026 · 0 citations
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 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
- Workload-Adaptive Dynamic Expert Caching for Hybrid GPU-CPU On-Device ExecutionClover-35B-A3B-Preview Technical Report🟡Fairly easy
- Direct GPU Graph Recording and Persistent Memory Pointers to Eliminate Decode Dispatch OverheadThe Other Half of the Memory Wall: Serving 35B MoEs from SSD with Trained Routing Prediction🟠Medium
- Hardware-Aware Kernels for Zero-Overhead InferenceBitNet b1.58 2B4T Technical Report⛔Very hard
- CUDA/Triton Implementation of Element-wise LUTsBitnet.cpp: Efficient Edge Inference for Ternary LLMs🔴Hard
- Graph-Compatible Dynamic Sparse Attention for End-to-End Prefix CaptureTideway: Phase-Aware Tiered Memory Management for MoE Inference on Consumer Devices🟡Fairly easy