---
id: pr-sglang-6509
repo: sgl-project/sglang
pr: 6509
title: Support sliding window in triton backend
author: NorthmanPKU
date: '2025-05-30'
url: https://github.com/sgl-project/sglang/pull/6509
source_category: upstream-code
architectures:
- sm100
tags: []
techniques: []
hardware_features: []
kernel_types: []
languages: []
captured_at: '2026-05-16'
status: merged
merge_sha: 22630ca24266f4e2837bf0a02b6f899edb575601
inclusion_reason: defer
changed_paths:
- python/sglang/srt/layers/attention/triton_backend.py
- python/sglang/srt/layers/attention/triton_ops/extend_attention.py
- python/sglang/srt/model_executor/model_runner.py
- python/sglang/srt/models/gemma3_causal.py
- test/srt/run_suite.py
- test/srt/test_triton_sliding_window.py
artifact_dir: evidence/pull-bundles/sglang/gh-6509
head_ref_oid: dd3bb0b13bf6e83ba1d9fdb51721489ad8e93317
---
# Support sliding window in triton backend

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

## Changed Paths

- `python/sglang/srt/layers/attention/triton_backend.py`
- `python/sglang/srt/layers/attention/triton_ops/extend_attention.py`
- `python/sglang/srt/model_executor/model_runner.py`
- `python/sglang/srt/models/gemma3_causal.py`
- `test/srt/run_suite.py`
- `test/srt/test_triton_sliding_window.py`

## Evidence Bundle

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