arXiv:2611.00506v1 cs.DC

머무르는 가중치: 추측 디코딩의 직렬 헤드를 위한 온칩 메가커널

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

Xinwei Qiang, Ziyi Xu, Zaifeng Pan, Chang Chen, Yufei Ding

제출 2026-11-03

한국어 초록

병렬 추측 드래프터는 경량 직렬 헤드를 사용하여 병렬로 생성된 블록 내부의 토큰 의존성을 복원한다. 각 헤드 단계는 작은 상태만 갱신하지만, 그 상태를 동일한 어휘 크기의 행렬을 통해 사영한다. 단계별 실행은 이 크고 변하지 않는 사영 행렬을 반복적으로 전송하므로, 산술 비용이 낮음에도 헤드가 지연 시간의 의미 있는 원천이 된다. 우리는 직렬 드래프트 탐색 전체 동안 사영 샤드를 온칩에 유지하는 실행 설계인 Weights That Stay를 제시한다. 지속형 메가커널은 가중치 상주를 GPU 측 토큰 선택 및 상태 전진과 결합하여, 상주하는 가중치를 재사용하면서 단계 사이에는 간결한 상태만 교환한다. 이 설계는 전체 또는 부분 상주를 지원하며 H100과 B200에서 마르코프 헤드와 순환 헤드를 모두 수용한다. SGLang에 통합한 Weights That Stay는 Qwen3-4B와 Qwen3-8B에서 마르코프 드래프팅의 처리량을 최대 12.3%까지 향상시킨다. 헤드 수준에서 DSpark 탐색은 측정된 가장 빠른 SGLang 기준 경로보다 최대 11.6$\times$ 빠르다. 이러한 결과는 가중치 상주를 전체 드래프트 탐색에 맞추어 정렬하면 단계 간 재사용이 종단 간 서빙 이득으로 이어짐을 보여준다.

원문 초록

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.

제출 이력

확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.

  1. arXiv:2611.00506v1제출 시각 미확인

함께 살펴볼 논문

공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.

공통 태그로 연결된 공개 논문이 아직 없습니다.

토론

이 논문과 연결된 포럼 글이 아직 없습니다.