---
id: pr-flashinfer-1774
repo: flashinfer-ai/flashinfer
pr: 1774
title: Masked batch nvfp4 quantization
author: wenscarl
date: '2025-10-01'
url: https://github.com/flashinfer-ai/flashinfer/pull/1774
source_category: upstream-code
architectures:
- sm100
tags:
- fp4
- nvfp4
- quantization
techniques: []
hardware_features:
- fp4
- nvfp4
kernel_types:
- quantization
languages:
- cuda-cpp
captured_at: '2026-04-27'
status: merged
merge_sha: d50cfbc7999d32f5a3a380cafd59b6dd7c352a0e
inclusion_reason: kernel file changes
changed_paths:
- csrc/nv_internal/cpp/kernels/quantization.cu
- csrc/nv_internal/tensorrt_llm/kernels/quantization.cuh
- csrc/nv_internal/tensorrt_llm/kernels/quantization.h
- csrc/nv_internal/tensorrt_llm/thop/fp4Quantize.cpp
- csrc/nv_internal/tensorrt_llm/thop/fp4Quantize.h
- docs/api/fp4_quantization.rst
- flashinfer/__init__.py
- flashinfer/activation.py
- flashinfer/fp4_quantization.py
- tests/utils/test_fp4_quantize.py
head_ref_oid: 37c8f8807547795790e2248e999ccfeebe90f596
artifact_dir: evidence/pull-bundles/flashinfer/gh-1774
---
# Masked batch nvfp4 quantization

- Repository: `flashinfer-ai/flashinfer`
- PR: [1774](https://github.com/flashinfer-ai/flashinfer/pull/1774)
- 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`
- `csrc/nv_internal/tensorrt_llm/kernels/quantization.h`
- `csrc/nv_internal/tensorrt_llm/thop/fp4Quantize.cpp`
- `csrc/nv_internal/tensorrt_llm/thop/fp4Quantize.h`
- `docs/api/fp4_quantization.rst`
- `flashinfer/__init__.py`
- `flashinfer/activation.py`
- `flashinfer/fp4_quantization.py`
- `tests/utils/test_fp4_quantize.py`

## Evidence Bundle

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