---
id: pr-sglang-6641
repo: sgl-project/sglang
pr: 6641
title: '[CPU] [BF16] Call fused_experts_cpu, weight_packed_linear and bmm_cpu kernel in DeepSeek model'
author: chunyuan-w
date: '2025-06-25'
url: https://github.com/sgl-project/sglang/pull/6641
source_category: upstream-code
architectures:
- sm100
tags:
- gemm
- kernel-fusion
- moe
techniques:
- kernel-fusion
hardware_features: []
kernel_types:
- gemm
- moe
languages:
- python
- triton
captured_at: '2026-04-27'
status: merged
merge_sha: 7eb47b0f3d0cd69ff3e0dd140cb377e15d6b148a
inclusion_reason: kernel file changes
changed_paths:
- python/sglang/srt/layers/linear.py
- python/sglang/srt/layers/logits_processor.py
- python/sglang/srt/layers/moe/fused_moe_native.py
- python/sglang/srt/layers/moe/fused_moe_triton/layer.py
- python/sglang/srt/layers/vocab_parallel_embedding.py
- python/sglang/srt/models/deepseek_v2.py
- python/sglang/srt/utils.py
- sgl-kernel/csrc/cpu/gemm.cpp
- test/srt/cpu/test_gemm.py
head_ref_oid: 71c48a43e206d4fb22e9c5bf64461ad0fed00fd0
artifact_dir: evidence/pull-bundles/sglang/gh-6641
---
# [CPU] [BF16] Call fused_experts_cpu, weight_packed_linear and bmm_cpu kernel in DeepSeek model

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

## Changed Paths

- `python/sglang/srt/layers/linear.py`
- `python/sglang/srt/layers/logits_processor.py`
- `python/sglang/srt/layers/moe/fused_moe_native.py`
- `python/sglang/srt/layers/moe/fused_moe_triton/layer.py`
- `python/sglang/srt/layers/vocab_parallel_embedding.py`
- `python/sglang/srt/models/deepseek_v2.py`
- `python/sglang/srt/utils.py`
- `sgl-kernel/csrc/cpu/gemm.cpp`
- `test/srt/cpu/test_gemm.py`

## Evidence Bundle

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