---
id: pr-pytorch-138587
repo: pytorch/pytorch
pr: 138587
title: '[SDPA-CUDNN] Make CuDNN Attention Opt in'
author: pytorchbot
date: '2024-10-22'
url: https://github.com/pytorch/pytorch/pull/138587
source_category: upstream-code
architectures:
- sm100
tags: []
techniques: []
hardware_features: []
kernel_types: []
languages: []
captured_at: '2026-05-16'
status: merged
merge_sha: 848e7ac42a3c121d03bcff6cb53c1afb9b76164e
inclusion_reason: defer
changed_paths:
- aten/src/ATen/native/transformers/cuda/sdp_utils.cpp
- test/test_transformers.py
artifact_dir: evidence/pull-bundles/pytorch/gh-138587
head_ref_oid: 61a03e47e157592154c07f0445db27835a7c1b74
---
# [SDPA-CUDNN] Make CuDNN Attention Opt in

- Repository: `pytorch/pytorch`
- PR: [138587](https://github.com/pytorch/pytorch/pull/138587)
- Decision: `defer`
- Reason: defer

## Changed Paths

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

## Evidence Bundle

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