---
id: pr-sglang-5875
repo: sgl-project/sglang
pr: 5875
title: '[Fix] Fix a bug for flashmla to run R1 model'
author: pengcuo
date: '2025-04-29'
url: https://github.com/sgl-project/sglang/pull/5875
source_category: upstream-code
architectures:
- sm100
tags:
- attention
- mla
techniques: []
hardware_features: []
kernel_types:
- attention
- mla
languages:
- python
captured_at: '2026-04-27'
status: merged
merge_sha: 8e5a6d3441d53e9ce68f9d70d0d5c9732a2250b6
inclusion_reason: kernel file changes
changed_paths:
- python/sglang/srt/layers/attention/flashmla_backend.py
head_ref_oid: c2d74974ee1af9f7f4bd2e2fb567bc0ada3ce78b
artifact_dir: evidence/pull-bundles/sglang/gh-5875
---
# [Fix] Fix a bug for flashmla to run R1 model

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

## Changed Paths

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

## Evidence Bundle

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