---
id: pr-pytorch-144398
repo: pytorch/pytorch
pr: 144398
title: 'ROCm SDPA: Ensure attn_mask has the same dtype with q'
author: pytorchbot
date: '2025-01-10'
url: https://github.com/pytorch/pytorch/pull/144398
source_category: upstream-code
architectures:
- sm100
tags:
- gemm
techniques: []
hardware_features: []
kernel_types: []
languages:
- cuda-cpp
captured_at: '2026-04-27'
status: merged
merge_sha: a99cc48bcd5eb3e02087b57877c1dd6fe9411924
inclusion_reason: semantic match with file changes
changed_paths:
- aten/src/ATen/native/transformers/cuda/sdp_utils.cpp
head_ref_oid: e466b58af6ffd68bf54aa1d7332bca0c68689869
artifact_dir: evidence/pull-bundles/pytorch/gh-144398
---
# ROCm SDPA: Ensure attn_mask has the same dtype with q

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

## Changed Paths

- `aten/src/ATen/native/transformers/cuda/sdp_utils.cpp`

## Evidence Bundle

`evidence/pull-bundles/pytorch/gh-144398`
