---
id: pr-vllm-23424
repo: vllm-project/vllm
pr: 23424
title: '[Bugfix] Fixing division by zero in triton_attn if query_heads/kv_heads > 16 '
author: bringlein
date: '2025-09-03'
url: https://github.com/vllm-project/vllm/pull/23424
source_category: upstream-code
architectures:
- sm100
tags:
- attention
techniques: []
hardware_features: []
kernel_types:
- attention
languages:
- triton
captured_at: '2026-04-27'
status: merged
merge_sha: 6d80ae83e1455cb0e47196cea557398fde0f03d1
inclusion_reason: kernel file changes
changed_paths:
- vllm/attention/ops/triton_unified_attention.py
head_ref_oid: d0a431853e292b8ee73b2232953a04fc30f12080
artifact_dir: evidence/pull-bundles/vllm/gh-23424
---
# [Bugfix] Fixing division by zero in triton_attn if query_heads/kv_heads > 16 

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

## Changed Paths

- `vllm/attention/ops/triton_unified_attention.py`

## Evidence Bundle

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