---
id: pr-sglang-20062
repo: sgl-project/sglang
pr: 20062
title: '[V32/GLM5] Control the threshold of applying dense attention with an environ'
author: Fridge003
date: '2026-03-09'
url: https://github.com/sgl-project/sglang/pull/20062
source_category: upstream-code
architectures:
- sm100
tags: []
techniques: []
hardware_features: []
kernel_types: []
languages: []
captured_at: '2026-05-16'
status: merged
merge_sha: be63f982b7b7f0451a3ccbb13f6fe2ecf6c39796
inclusion_reason: defer
changed_paths:
- docs/references/environment_variables.md
- python/sglang/srt/environ.py
- python/sglang/srt/layers/attention/nsa_backend.py
- python/sglang/srt/server_args.py
- test/registered/quant/test_deepseek_v32_fp4_4gpu.py
- test/registered/quant/test_deepseek_v32_fp4_mtp_4gpu.py
artifact_dir: evidence/pull-bundles/sglang/gh-20062
head_ref_oid: 1160474faf462a7ca9973bdc5de8a70c8ba69aef
---
# [V32/GLM5] Control the threshold of applying dense attention with an environ

- Repository: `sgl-project/sglang`
- PR: [20062](https://github.com/sgl-project/sglang/pull/20062)
- Decision: `defer`
- Reason: defer

## Changed Paths

- `docs/references/environment_variables.md`
- `python/sglang/srt/environ.py`
- `python/sglang/srt/layers/attention/nsa_backend.py`
- `python/sglang/srt/server_args.py`
- `test/registered/quant/test_deepseek_v32_fp4_4gpu.py`
- `test/registered/quant/test_deepseek_v32_fp4_mtp_4gpu.py`

## Evidence Bundle

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