---
id: pr-vllm-38148
repo: vllm-project/vllm
pr: 38148
title: Fix NaN from stale FP4 scale padding in create_fp4_scale_tensor
author: elvircrn
date: '2026-04-01'
url: https://github.com/vllm-project/vllm/pull/38148
source_category: upstream-code
architectures:
- sm100
tags:
- fp4
techniques: []
hardware_features:
- fp4
kernel_types: []
languages:
- python
captured_at: '2026-04-27'
status: merged
merge_sha: 0fab52f0aa0fa34d96f2aefe507283478caa66d4
inclusion_reason: semantic match with file changes
changed_paths:
- vllm/_custom_ops.py
head_ref_oid: bfbeb6a2adfcc999819a8ef7908f23646252c3ca
artifact_dir: evidence/pull-bundles/vllm/gh-38148
---
# Fix NaN from stale FP4 scale padding in create_fp4_scale_tensor

- Repository: `vllm-project/vllm`
- PR: [38148](https://github.com/vllm-project/vllm/pull/38148)
- Decision: `semantic match with file changes`
- Reason: semantic match with file changes

## Changed Paths

- `vllm/_custom_ops.py`

## Evidence Bundle

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