---
id: pr-sglang-15522
repo: sgl-project/sglang
pr: 15522
title: Optimize FP8 MLA KV cache writes with Triton kernel
author: harvenstar
date: '2025-12-25'
url: https://github.com/sgl-project/sglang/pull/15522
source_category: upstream-code
architectures:
- sm100
tags:
- attention
- fp8
- mla
techniques: []
hardware_features:
- fp8
kernel_types:
- attention
- mla
languages:
- python
- triton
captured_at: '2026-04-27'
status: merged
merge_sha: 9d878c1f3e1e5bd1ac7be9417e5b3cd6308cd23a
inclusion_reason: kernel file changes
changed_paths:
- python/sglang/srt/layers/attention/nsa/quant_k_cache.py
- python/sglang/srt/mem_cache/memory_pool.py
- python/sglang/srt/mem_cache/utils.py
head_ref_oid: e75caf36ea68b1857079432a7e7b20b96fba13a4
artifact_dir: evidence/pull-bundles/sglang/gh-15522
---
# Optimize FP8 MLA KV cache writes with Triton kernel

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

## Changed Paths

- `python/sglang/srt/layers/attention/nsa/quant_k_cache.py`
- `python/sglang/srt/mem_cache/memory_pool.py`
- `python/sglang/srt/mem_cache/utils.py`

## Evidence Bundle

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