---
id: pr-vllm-16198
repo: vllm-project/vllm
pr: 16198
title: '[Bug] [ROCm] Fix Llama 4 Enablement Bug on ROCm: V0 ROCmFlashAttentionImpl and Triton Fused MoE bugs'
author: tjtanaa
date: '2025-04-09'
url: https://github.com/vllm-project/vllm/pull/16198
source_category: upstream-code
architectures:
- sm100
tags:
- attention
- kernel-fusion
- moe
techniques:
- kernel-fusion
hardware_features: []
kernel_types:
- attention
- moe
languages:
- triton
captured_at: '2026-04-27'
status: merged
merge_sha: 2976dc27e9dc2a799db8337cf9825b63a26eeac5
inclusion_reason: kernel file changes
changed_paths:
- vllm/attention/backends/rocm_flash_attn.py
- vllm/model_executor/layers/fused_moe/fused_moe.py
- vllm/utils.py
head_ref_oid: f8e76ec66f600ed192fcba2b18063e6b93318332
artifact_dir: evidence/pull-bundles/vllm/gh-16198
---
# [Bug] [ROCm] Fix Llama 4 Enablement Bug on ROCm: V0 ROCmFlashAttentionImpl and Triton Fused MoE bugs

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

## Changed Paths

- `vllm/attention/backends/rocm_flash_attn.py`
- `vllm/model_executor/layers/fused_moe/fused_moe.py`
- `vllm/utils.py`

## Evidence Bundle

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