In STeP: Speculative Tensor Parallelism for Concurrent Heterogeneous Inference of LLMs

Viren Luke Radhakrishnan, Dhruva Kashyap, Pranav K Nayak, Chiranjib Bhattacharyya, Prakash RaghavendraNeurIPS 2026

TL;DR

Running massive Large Language Models (LLMs) on a single workstation usually means constantly shuttling weights between your CPU and GPU, leaving one processor twiddling its thumbs while the other works. STeP (Speculative Tensor Parallelism) fixes this by slicing each layer's weight matrices by importance: the GPU holds the most critical slice to rapidly "draft" upcoming words, and then both the GPU and CPU compute their respective slices simultaneously to verify them. You get exact, lossless full-model quality at speeds up to 2.2× faster than existing offloading tricks—with zero extra model training required.

What Problem Does This Paper Address?

Once open-weight LLMs hit around 24 billion parameters, they spill over the memory (VRAM) of most consumer GPUs and single-GPU cloud instances. Unlike quantization—which shrinks models at the cost of permanently degrading reasoning quality—speculative decoding accelerates generation losslessly. In this setup, a small, fast "draft" model guesses a few tokens ahead, and the massive "verifier" model checks them all in parallel.

However, applying this to a split CPU–GPU setup hits what the authors call the heterogeneity gap, caused by three structural inefficiencies in current methods:

  1. Sequential execution: Devices take turns—either streaming weights over PCIe from CPU storage to the GPU, or alternating layers—meaning at any given millisecond, either your GPU or your multi-core CPU is sitting idle.
  2. Wasted VRAM on separate drafts: Keeping a separate draft model on the GPU eats up precious memory that sits completely unused during the verification phase.
  3. Rigid memory footprints: Existing self-speculative substitutes have fixed sizes and cannot dynamically scale up to fill whatever VRAM budget you actually have.

Methods

STeP bridges this gap by combining structured pruning concepts with tensor parallelism (splitting individual matrix operations across devices), unfolding in two stages:

  • Offline Saliency Reordering: Rather than training a draft model, STeP uses an existing structured pruning heuristic (ModHiFi) to score and sort the intermediate channels of each Feed-Forward Network (FFN) layer from most to least predictive. Nothing is deleted; the columns and rows are simply reordered once offline so the "heavy lifters" sit at the front.
  • Runtime Concurrent Execution: At deployment, you pick a split point $k$ to pack ~90% of your available GPU VRAM. All attention layers and the top-$k$ FFN channels live on the GPU; the remaining "tail" FFN channels live on the CPU.
Figure 2: Overview of STEP for a single FFN layer. The top-k saliency-ordered channels (active ratio r) reside on the GPU and serve as both the draft and the GPU portion of the verifier; the remaining channels reside on the CPU. Their element-wise sum (⊕) recovers the exact verifier output.

Each generation step then dances in two phases:

  1. Draft Phase: The GPU runs solo using only its top-$k$ prefix to quickly propose a tree of candidate tokens.
  2. Verify Phase: Both devices fire in step. For each FFN layer, the GPU computes the prefix while the CPU concurrently computes the remaining channels. Because FFN projections decompose additively, summing the GPU and CPU outputs recovers the exact mathematical output of the original model. Standard rejection sampling then guarantees lossless generation.

Datasets

Because STeP is entirely training-free (requiring only forward-pass calibration data for ModHiFi's channel ordering), no training datasets are used, and no new benchmarks are introduced. Evaluation is conducted across five standard benchmarks from the Spec-Bench suite—MT-Bench (chat), HumanEval (coding), GSM8K (math reasoning), Alpaca (instruction following), and CNN/DailyMail (summarization)—averaging throughput over 20 samples per benchmark at 128 generated tokens each.

Key Insights and Ideas

  • Pruning without throwing anything away: Structured pruning usually Permanently lobotomizes a network to make it fit in memory. STeP's cleverness is realizing that pruning orderings give you a "free" draft model inside the verifier: the top-$k$ channels approximate the full layer well enough to guess tokens, while keeping the "pruned" tail on the CPU restores 100% of the model's intelligence during verification.
  • Theoretical link between layer error and token acceptance: The authors prove mathematically (Theorem 3.2) that the speculative rejection rate is upper-bounded by the square root of a layer's local $\ell_2$ reconstruction error. This explains why pruning heuristics like ModHiFi—which explicitly minimize local reconstruction error—naturally yield high-acceptance draft models.
  • The whole beats the sum of its parts: Across every tested hardware tier, STeP beats both pure CPU–GPU tensor parallelism (no speculation) and pure heterogeneous speculation (GPU draft + CPU-only verify). Every byte of VRAM pulls double duty, never sitting idle.

Key Results

Tested across dense models from 1B to 123B parameters (Llama-3.1/3.2, Qwen2.5, Qwen3-VL, Devstral, Gemma-4) on both consumer desktop (Ryzen 9950X + 32 GB GPU) and server (EPYC 9755 + MI355X capped from 32 to 192 GB VRAM) setups:

  • Outperforming peers: On 24B–123B models, STeP outperforms leading heterogeneous speculative baselines (SpecExec and SubSpec) by up to 1.6× under greedy decoding ($t=0$) and up to 2.2× at sampling temperature $t=0.6$.
  • Massive speedups over CPU/offloading: At realistic VRAM budgets, STeP achieves 4.40× to 7.42× decode speedups over CPU-only baselines, handily beating llama.cpp-style layer-splitting (2.04×–3.83×) and FlexGen-style weight-streaming (0.58×–1.46×).
  • Graceful degradation: Draft token acceptance tracks the GPU channel ratio $r$ smoothly—saturating near 2.90/3 accepted tokens per step on Llama-3.1-70B ($r=0.85$), and still holding 1.63/4 even when squeezed down to $r=0.35$.

Limitations and Future Work

  • Per-layer communication overhead: Because GPU and CPU sum their partial FFN results at every transformer layer, intermediate activations must cross the CPU–GPU interconnect repeatedly, adding latency proportional to model depth and hidden dimension.
  • Low-VRAM cliff: When the GPU can hold less than 30% of the FFN channels ($r < 0.30$), draft quality degrades enough that speculation loses steam (though plain tensor parallelism still helps).
  • Calibration sensitivity: Channel saliency orderings depend on calibration data; a domain mismatch at inference time can lower acceptance rates (speed), though output quality remains exact.
  • Dense, single-GPU focus: STeP currently targets dense transformers on single-GPU setups; adapting it to Mixture-of-Experts (MoE) architectures and multi-GPU heterogeneous clusters remains future work.

Summary updated

Abstract

Running dense, open-weight large language models on commercially accessible workstations or single-GPU cloud setups is increasingly desirable due to cost and privacy constraints, particularly on tasks like coding and reasoning. Starting at around 24B parameters, however, they exceed the available GPU VRAM on these setups, forcing reliance on offloading methods that limit throughput, while leaving substantial CPU compute underutilized. Heterogeneous CPU–GPU speculative decoding is the dominant lossless-acceleration framework in this regime, but existing methods are limited by what we refer to as the **heterogeneity gap**: their CPU and GPU do not co-execute, their draft is a separate set of weights rather than a subnetwork of the verifier, and their VRAM footprint cannot scale to fill the available budget. We observe that channel-saliency methods induce an ordering on the transformer's FFN channels so that the top-$k$ prefix closely approximates the full output, with graceful degradation as $k$ decreases. Building on this observation, we introduce **Speculative Tensor Parallelism (STeP)**, a training-free, self-speculative method that extracts a subnetwork of the verifier as a GPU-resident draft, places the remainder on the CPU, and verifies via concurrent CPU and GPU computation, provably preserving the verifier's sampling distribution. Across dense models from 24B to 123B, GPU memory budgets from 32 to 192 GB, and five benchmarks, STeP outperforms SpecExec and SubSpec by up to $1.6\times$ under greedy decoding and $2.2\times$ at sampling temperature $0.6$, surpasses either tensor parallelism or speculative decoding alone, maximally utilizes the available VRAM, and closes the heterogeneity gap.
BibTeX
@inproceedings{radhakrishnan2026step,
  author = {Viren Luke Radhakrishnan and Dhruva Kashyap and Pranav K Nayak and Chiranjib Bhattacharyya and Prakash Raghavendra},
  title = {{In STeP: Speculative Tensor Parallelism for Concurrent Heterogeneous Inference of LLMs}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=5ujmDrit5K},
}
Figure