---
id: pr-vllm-21787
repo: vllm-project/vllm
pr: 21787
title: '[Refactor] Remove Duplicate `per_block_cast_to_fp8`, Remove Dependencies of DeepGEMM'
author: yewentao256
date: '2025-08-01'
url: https://github.com/vllm-project/vllm/pull/21787
source_category: upstream-code
architectures:
- sm100
tags: []
techniques: []
hardware_features: []
kernel_types: []
languages: []
captured_at: '2026-05-16'
status: merged
merge_sha: 37006420134fdd771b474bda32516cde209e0f4c
inclusion_reason: defer
changed_paths:
- benchmarks/kernels/deepgemm/benchmark_fp8_block_dense_gemm.py
- tests/kernels/moe/modular_kernel_tools/utils.py
- tests/kernels/moe/test_cutlass_grouped_gemm.py
- tests/kernels/moe/test_deepgemm.py
- tests/kernels/moe/utils.py
- tests/kernels/quant_utils.py
- tests/kernels/quantization/test_block_fp8.py
- vllm/utils/deep_gemm.py
artifact_dir: evidence/pull-bundles/vllm/gh-21787
head_ref_oid: e0b3a9dc88428c1afc4b5ed6fd3868c974b99646
---
# [Refactor] Remove Duplicate `per_block_cast_to_fp8`, Remove Dependencies of DeepGEMM

- Repository: `vllm-project/vllm`
- PR: [21787](https://github.com/vllm-project/vllm/pull/21787)
- Decision: `defer`
- Reason: defer

## Changed Paths

- `benchmarks/kernels/deepgemm/benchmark_fp8_block_dense_gemm.py`
- `tests/kernels/moe/modular_kernel_tools/utils.py`
- `tests/kernels/moe/test_cutlass_grouped_gemm.py`
- `tests/kernels/moe/test_deepgemm.py`
- `tests/kernels/moe/utils.py`
- `tests/kernels/quant_utils.py`
- `tests/kernels/quantization/test_block_fp8.py`
- `vllm/utils/deep_gemm.py`

## Evidence Bundle

`evidence/pull-bundles/vllm/gh-21787`
