---
id: pr-flashinfer-2441
repo: flashinfer-ai/flashinfer
pr: 2441
title: 'fix: Fix NaN output in mxfp8_quantize for very small input values'
author: bkryu
date: '2026-01-30'
url: https://github.com/flashinfer-ai/flashinfer/pull/2441
source_category: upstream-code
architectures:
- sm100
tags:
- fp8
- quantization
techniques: []
hardware_features:
- fp8
kernel_types:
- quantization
languages:
- cuda-cpp
captured_at: '2026-04-27'
status: merged
merge_sha: 560a9debdb38ca4550c913f08d62eeb79c5826c5
inclusion_reason: kernel file changes
changed_paths:
- csrc/nv_internal/tensorrt_llm/kernels/quantization_utils.cuh
- tests/utils/test_fp8_quantize.py
head_ref_oid: 3d64c5e292af2cb7e4dbe756aa5d8d712ee62b51
artifact_dir: evidence/pull-bundles/flashinfer/gh-2441
---
# fix: Fix NaN output in mxfp8_quantize for very small input values

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

## Changed Paths

- `csrc/nv_internal/tensorrt_llm/kernels/quantization_utils.cuh`
- `tests/utils/test_fp8_quantize.py`

## Evidence Bundle

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