---
id: pr-flashinfer-1633
repo: flashinfer-ai/flashinfer
pr: 1633
title: 'feat: add support of fp4_batched_quantize'
author: yicwang
date: '2025-09-06'
url: https://github.com/flashinfer-ai/flashinfer/pull/1633
source_category: upstream-code
architectures:
- sm100
tags:
- fp4
- quantization
techniques: []
hardware_features:
- fp4
kernel_types:
- quantization
languages:
- python
captured_at: '2026-04-27'
status: merged
merge_sha: 5ad2323bfd7dcc6fd8f798a958b9ad41dfc361f7
inclusion_reason: kernel file changes
changed_paths:
- csrc/nv_internal/tensorrt_llm/thop/fp4Quantize.cpp
- csrc/nv_internal/tensorrt_llm/thop/fp4Quantize.h
- flashinfer/__init__.py
- flashinfer/fp4_quantization.py
- tests/test_fp4_quantize.py
head_ref_oid: f6621fb8094310806dea96967e13f5697c6800c5
artifact_dir: evidence/pull-bundles/flashinfer/gh-1633
---
# feat: add support of fp4_batched_quantize

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

## Changed Paths

- `csrc/nv_internal/tensorrt_llm/thop/fp4Quantize.cpp`
- `csrc/nv_internal/tensorrt_llm/thop/fp4Quantize.h`
- `flashinfer/__init__.py`
- `flashinfer/fp4_quantization.py`
- `tests/test_fp4_quantize.py`

## Evidence Bundle

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