---
id: pr-flashinfer-2025
repo: flashinfer-ai/flashinfer
pr: 2025
title: 'perf: Speed up fp4 quantization for small batch with swizzling for cutlass MoE'
author: bkryu
date: '2025-11-05'
url: https://github.com/flashinfer-ai/flashinfer/pull/2025
source_category: upstream-code
architectures:
- sm100
tags:
- fp4
- moe
- quantization
- swizzling
techniques:
- swizzling
hardware_features:
- fp4
kernel_types:
- moe
- quantization
languages:
- cuda-cpp
captured_at: '2026-04-27'
status: merged
merge_sha: 2580610b46ba5fa45532256ca77730acba2f5a03
inclusion_reason: kernel file changes
changed_paths:
- csrc/nv_internal/cpp/kernels/quantization.cu
- csrc/nv_internal/tensorrt_llm/kernels/quantization.cuh
head_ref_oid: 95da76cd7a3b9ea8f83f6d6c186934a84792ff1a
artifact_dir: evidence/pull-bundles/flashinfer/gh-2025
---
# perf: Speed up fp4 quantization for small batch with swizzling for cutlass MoE

- Repository: `flashinfer-ai/flashinfer`
- PR: [2025](https://github.com/flashinfer-ai/flashinfer/pull/2025)
- Decision: `kernel file changes`
- Reason: kernel file changes

## Changed Paths

- `csrc/nv_internal/cpp/kernels/quantization.cu`
- `csrc/nv_internal/tensorrt_llm/kernels/quantization.cuh`

## Evidence Bundle

`evidence/pull-bundles/flashinfer/gh-2025`
