---
id: pr-sglang-23965
repo: sgl-project/sglang
pr: 23965
title: Enable PDL for various kernels in DSV32/GLM5
author: b8zhong
date: '2026-05-09'
url: https://github.com/sgl-project/sglang/pull/23965
source_category: upstream-code
architectures:
- sm100
tags:
- PDL
- attention_kv
- flashinfer
- gemm_quant
- memory_primitives
- norm_elementwise
- scheduler_autotune
techniques:
- async-copy
- autotuning
- cache-policy
- fine-grained-quantization
- kernel-fusion
- tile-scheduling
hardware_features:
- fp8
- pdl
- tma
kernel_types:
- attention
- gemm
- memory
- mla
- norm
- scheduler
- softmax
languages:
- cuda-cpp
- triton
captured_at: '2026-05-16'
status: merged
merge_sha: 05d1ab51e87bc1a9e3f38065de1c646073ac23a1
inclusion_reason: Inspect scale layout, accumulator type, tile/schedule choice, epilogue fusion, and partial-tile guards before deriving a candidate.
changed_paths:
- python/sglang/srt/layers/attention/nsa/nsa_indexer.py
- python/sglang/srt/layers/attention/utils.py
- python/sglang/srt/mem_cache/utils.py
- sgl-kernel/csrc/elementwise/pos_enc.cuh
- sgl-kernel/csrc/gemm/dsv3_fused_a_gemm.cu
- sgl-kernel/csrc/gemm/dsv3_router_gemm_bf16_out.cu
- sgl-kernel/csrc/gemm/dsv3_router_gemm_float_out.cu
- sgl-kernel/csrc/gemm/per_token_group_quant_8bit_v2.cu
artifact_dir: evidence/pull-bundles/sglang/gh-23965
head_ref_oid: 8dcd48dae41f90f0858874d428267b6d8e214fc2
---
# Enable PDL for various kernels in DSV32/GLM5

- Repository: `sgl-project/sglang`
- PR: [23965](https://github.com/sgl-project/sglang/pull/23965)
- Decision: `Inspect scale layout, accumulator type, tile/schedule choice, epilogue fusion, and partial-tile guards before deriving a candidate.`
- Reason: Inspect scale layout, accumulator type, tile/schedule choice, epilogue fusion, and partial-tile guards before deriving a candidate.

## Changed Paths

- `python/sglang/srt/layers/attention/nsa/nsa_indexer.py`
- `python/sglang/srt/layers/attention/utils.py`
- `python/sglang/srt/mem_cache/utils.py`
- `sgl-kernel/csrc/elementwise/pos_enc.cuh`
- `sgl-kernel/csrc/gemm/dsv3_fused_a_gemm.cu`
- `sgl-kernel/csrc/gemm/dsv3_router_gemm_bf16_out.cu`
- `sgl-kernel/csrc/gemm/dsv3_router_gemm_float_out.cu`
- `sgl-kernel/csrc/gemm/per_token_group_quant_8bit_v2.cu`

## Evidence Bundle

`evidence/pull-bundles/sglang/gh-23965`
