---
id: pr-flash-attention-2180
repo: Dao-AILab/flash-attention
pr: 2180
title: '[Cute][Flex]Add pack-gqa divmod'
author: drisspg
date: '2026-01-15'
url: https://github.com/Dao-AILab/flash-attention/pull/2180
source_category: upstream-code
architectures:
- sm100
tags:
- arch_pipeline
- attention_kv
- compiler_runtime
- cute
techniques:
- pipeline-stages
hardware_features:
- blackwell
kernel_types:
- attention
- compiler
- runtime
languages:
- cute-dsl
captured_at: '2026-05-16'
status: merged
merge_sha: 68649fb78450840a03cb67921131ded20d8a8170
inclusion_reason: 'Treat compiler/runtime integration as part of the kernel: launch wrapper, cache/JIT behavior, generated code, and build flags need tests.'
changed_paths:
- flash_attn/cute/flash_fwd_sm100.py
- flash_attn/cute/mask.py
artifact_dir: evidence/pull-bundles/flash-attention/gh-2180
head_ref_oid: 1e97414f97eefeb82f3bad091648ac09ab232f13
---
# [Cute][Flex]Add pack-gqa divmod

- Repository: `Dao-AILab/flash-attention`
- PR: [2180](https://github.com/Dao-AILab/flash-attention/pull/2180)
- Decision: `Treat compiler/runtime integration as part of the kernel: launch wrapper, cache/JIT behavior, generated code, and build flags need tests.`
- Reason: Treat compiler/runtime integration as part of the kernel: launch wrapper, cache/JIT behavior, generated code, and build flags need tests.

## Changed Paths

- `flash_attn/cute/flash_fwd_sm100.py`
- `flash_attn/cute/mask.py`

## Evidence Bundle

`evidence/pull-bundles/flash-attention/gh-2180`
