---
id: pr-vllm-32520
repo: vllm-project/vllm
pr: 32520
title: '[Perf][Kernel] Optimize FP4 quantization kernels (SM100F)'
author: LopezCastroRoberto
date: '2026-01-25'
url: https://github.com/vllm-project/vllm/pull/32520
source_category: upstream-code
architectures:
- sm100
tags:
- fp4
- kernel-fusion
- moe
- nvfp4
- quantization
techniques:
- kernel-fusion
hardware_features:
- fp4
- nvfp4
kernel_types:
- moe
- quantization
languages:
- cuda-cpp
captured_at: '2026-04-27'
status: merged
merge_sha: fcb9df99bd7d0e532bcf2891db2a85bd927605fe
inclusion_reason: kernel file changes
changed_paths:
- benchmarks/kernels/bench_nvfp4_quant.py
- csrc/ops.h
- csrc/quantization/fp4/activation_nvfp4_quant_fusion_kernels.cu
- csrc/quantization/fp4/nvfp4_experts_quant.cu
- csrc/quantization/fp4/nvfp4_quant_entry.cu
- csrc/quantization/fp4/nvfp4_quant_kernels.cu
- csrc/quantization/fp4/nvfp4_utils.cuh
- csrc/torch_bindings.cpp
- tests/kernels/quantization/test_flashinfer_nvfp4_scaled_mm.py
- tests/kernels/quantization/test_nvfp4_quant.py
- vllm/_custom_ops.py
- vllm/compilation/activation_quant_fusion.py
- vllm/compilation/collective_fusion.py
- vllm/compilation/fusion_attn.py
- vllm/model_executor/layers/fused_moe/utils.py
- vllm/model_executor/layers/quantization/compressed_tensors/schemes/compressed_tensors_w4a4_nvfp4.py
- vllm/model_executor/layers/quantization/modelopt.py
- vllm/model_executor/layers/quantization/utils/flashinfer_fp4_moe.py
head_ref_oid: 028ce6772826a2d227f5761990b52d4fd8425a34
artifact_dir: evidence/pull-bundles/vllm/gh-32520
---
# [Perf][Kernel] Optimize FP4 quantization kernels (SM100F)

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

## Changed Paths

- `benchmarks/kernels/bench_nvfp4_quant.py`
- `csrc/ops.h`
- `csrc/quantization/fp4/activation_nvfp4_quant_fusion_kernels.cu`
- `csrc/quantization/fp4/nvfp4_experts_quant.cu`
- `csrc/quantization/fp4/nvfp4_quant_entry.cu`
- `csrc/quantization/fp4/nvfp4_quant_kernels.cu`
- `csrc/quantization/fp4/nvfp4_utils.cuh`
- `csrc/torch_bindings.cpp`
- `tests/kernels/quantization/test_flashinfer_nvfp4_scaled_mm.py`
- `tests/kernels/quantization/test_nvfp4_quant.py`
- `vllm/_custom_ops.py`
- `vllm/compilation/activation_quant_fusion.py`
- `vllm/compilation/collective_fusion.py`
- `vllm/compilation/fusion_attn.py`
- `vllm/model_executor/layers/fused_moe/utils.py`
- `vllm/model_executor/layers/quantization/compressed_tensors/schemes/compressed_tensors_w4a4_nvfp4.py`
- `vllm/model_executor/layers/quantization/modelopt.py`
- `vllm/model_executor/layers/quantization/utils/flashinfer_fp4_moe.py`

## Evidence Bundle

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