---
id: pr-sglang-3785
repo: sgl-project/sglang
pr: 3785
title: Refactor flashinfer logic for deepseek v3 and fix accuracy bug
author: Fridge003
date: '2025-02-24'
url: https://github.com/sgl-project/sglang/pull/3785
source_category: upstream-code
architectures:
- sm100
tags: []
techniques: []
hardware_features: []
kernel_types: []
languages: []
captured_at: '2026-05-16'
status: merged
merge_sha: b110084654a1986f0148901190e2f280c605476f
inclusion_reason: defer
changed_paths:
- python/sglang/srt/configs/model_config.py
- python/sglang/srt/layers/attention/flashinfer_mla_backend.py
- python/sglang/srt/model_executor/model_runner.py
- python/sglang/srt/models/deepseek_v2.py
artifact_dir: evidence/pull-bundles/sglang/gh-3785
head_ref_oid: dd80320588c357460eef7b5f9d96a23782b7fab9
---
# Refactor flashinfer logic for deepseek v3 and fix accuracy bug

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

## Changed Paths

- `python/sglang/srt/configs/model_config.py`
- `python/sglang/srt/layers/attention/flashinfer_mla_backend.py`
- `python/sglang/srt/model_executor/model_runner.py`
- `python/sglang/srt/models/deepseek_v2.py`

## Evidence Bundle

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