---
id: pr-sglang-11805
repo: sgl-project/sglang
pr: 11805
title: Change bf16 to fp8 for some gemms in attention for DeepSeek ckpt v2
author: fzyzcjy
date: '2025-10-19'
url: https://github.com/sgl-project/sglang/pull/11805
source_category: upstream-code
architectures:
- sm100
tags:
- attention
- fp8
- gemm
- quantization
techniques: []
hardware_features:
- fp8
kernel_types:
- attention
- gemm
- quantization
languages:
- python
captured_at: '2026-04-27'
status: merged
merge_sha: 12eb02e98255dd3d038096ede7291e5ac21772e2
inclusion_reason: kernel file changes
changed_paths:
- python/sglang/srt/layers/quantization/fp8_utils.py
- python/sglang/srt/models/deepseek_v2.py
head_ref_oid: b7a831524432842b440c3fa36174d8b18c5f7c58
artifact_dir: evidence/pull-bundles/sglang/gh-11805
---
# Change bf16 to fp8 for some gemms in attention for DeepSeek ckpt v2

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

## Changed Paths

- `python/sglang/srt/layers/quantization/fp8_utils.py`
- `python/sglang/srt/models/deepseek_v2.py`

## Evidence Bundle

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