---
title: "Weights That Stay: On-Chip Megakernels for Serial Heads in Speculative Decoding"
source: "arXiv AI/CL/LG（论文）"
source_tier: "t2"
url: "https://arxiv.org/abs/2611.00506v1"
permalink: "https://feed.astralor.com/items/itm_29fec80e45796367c472eb1f"
published: "2026-10-31T00:52:13.000Z"
score: 55
channel: "tech"
tags: ["推理效率","Weights That Stay","On-Chip Megakernels","Serial Heads","Speculative Decoding Parallel","Each","Parallel","Step-wise"]
---

# Weights That Stay: On-Chip Megakernels for Serial Heads in Speculative Decoding

## 速览

Parallel speculative drafters use a lightweight serial head to recover token dependencies within a block generated in parallel. Each head step updates only a small state, yet projects that state through the same vocabul…

## 关键点

- Parallel speculative drafters use a lightweight serial head to recover token dependencies within a block generated in parallel.
- Each head step updates only a small state, yet projects that state through the same vocabulary-sized matrix.
- Step-wise execution repeatedly transfers this large, immutable projection, making the head a meaningful source of latency despite its low arithmetic cost.

## 全文

Parallel speculative drafters use a lightweight serial head to recover token dependencies within a block generated in parallel. Each head step updates only a small state, yet projects that state through the same vocabulary-sized matrix. Step-wise execution repeatedly transfers this large, immutable projection, making the head a meaningful source of latency despite its low arithmetic cost. We present Weights That Stay, an execution design that keeps projection shards on chip for the entire serial draft walk. A persistent megakernel couples weight residency with GPU-side token selection and state advancement, reusing resident weights while exchanging only compact state between steps. The design supports full or partial residency and accommodates both Markov and recurrent heads on H100 and B200. Integrated into SGLang, Weights That Stay improves throughput for Markov drafting on Qwen3-4B and Qwen3-8B, with gains of up to 12.3%. At the head level, the DSpark walk is up to 11.6$\times$ faster than the fastest measured SGLang reference path. These results show that aligning weight residency with the full draft walk translates cross-step reuse into end-to-end serving gains.

---

引用前请核对原文;本文由星际流动整理:https://feed.astralor.com/items/itm_29fec80e45796367c472eb1f
