---
id: pr-vllm-16801
repo: vllm-project/vllm
pr: 16801
title: '[BugFix] Accuracy fix for llama4 int4 - improperly casted scales'
author: LucasWilkinson
date: '2025-04-18'
url: https://github.com/vllm-project/vllm/pull/16801
source_category: upstream-code
architectures:
- sm100
tags:
- kernel-fusion
- moe
techniques:
- kernel-fusion
hardware_features: []
kernel_types:
- moe
languages:
- cuda-cpp
captured_at: '2026-04-27'
status: merged
merge_sha: 7eb42556281d30436a3a988f2c9184ec63c59338
inclusion_reason: kernel file changes
changed_paths:
- csrc/moe/moe_wna16.cu
- vllm/model_executor/layers/fused_moe/layer.py
- vllm/model_executor/models/llama4.py
head_ref_oid: ca7f6662d1ea22d06d3fd101339e8a1eb2b3e998
artifact_dir: evidence/pull-bundles/vllm/gh-16801
---
# [BugFix] Accuracy fix for llama4 int4 - improperly casted scales

- Repository: `vllm-project/vllm`
- PR: [16801](https://github.com/vllm-project/vllm/pull/16801)
- Decision: `kernel file changes`
- Reason: kernel file changes

## Changed Paths

- `csrc/moe/moe_wna16.cu`
- `vllm/model_executor/layers/fused_moe/layer.py`
- `vllm/model_executor/models/llama4.py`

## Evidence Bundle

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