---
id: pr-sglang-13022
repo: sgl-project/sglang
pr: 13022
title: '[Deepseek V3.2] Use torch.compile to speed up torch.cat in nsa'
author: hlu1
date: '2025-11-17'
url: https://github.com/sgl-project/sglang/pull/13022
source_category: upstream-code
architectures:
- sm100
tags:
- attention
techniques: []
hardware_features: []
kernel_types:
- attention
languages:
- python
captured_at: '2026-04-27'
status: merged
merge_sha: a8fcbf6fe3a2b0697d89ec56c33b342b53bc7d1f
inclusion_reason: kernel file changes
changed_paths:
- python/sglang/srt/layers/attention/nsa_backend.py
head_ref_oid: 2828359d0957d3c815e12bb7f273bf9cde8d3177
artifact_dir: evidence/pull-bundles/sglang/gh-13022
---
# [Deepseek V3.2] Use torch.compile to speed up torch.cat in nsa

- Repository: `sgl-project/sglang`
- PR: [13022](https://github.com/sgl-project/sglang/pull/13022)
- Decision: `kernel file changes`
- Reason: kernel file changes

## Changed Paths

- `python/sglang/srt/layers/attention/nsa_backend.py`

## Evidence Bundle

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