---
id: pr-pytorch-136536
repo: pytorch/pytorch
pr: 136536
title: SDPA regression fix to work around high-precision by default
author: jbschlosser
date: '2024-09-27'
url: https://github.com/pytorch/pytorch/pull/136536
source_category: upstream-code
architectures:
- sm100
tags: []
techniques: []
hardware_features: []
kernel_types: []
languages: []
captured_at: '2026-05-16'
status: merged
merge_sha: aa574ab7e3fc49e6f2e6fef99e0322b6c39c665a
inclusion_reason: defer
changed_paths:
- aten/src/ATen/Context.cpp
- aten/src/ATen/Context.h
- aten/src/ATen/native/transformers/attention.cpp
- docs/source/backends.rst
- docs/source/notes/numerical_accuracy.rst
- test/test_transformers.py
- torch/_C/__init__.pyi.in
- torch/_dynamo/trace_rules.py
- torch/backends/cuda/__init__.py
- torch/csrc/Module.cpp
artifact_dir: evidence/pull-bundles/pytorch/gh-136536
head_ref_oid: b998bff2897929bc3c8ebf471b2047954261d6ce
---
# SDPA regression fix to work around high-precision by default

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

## Changed Paths

- `aten/src/ATen/Context.cpp`
- `aten/src/ATen/Context.h`
- `aten/src/ATen/native/transformers/attention.cpp`
- `docs/source/backends.rst`
- `docs/source/notes/numerical_accuracy.rst`
- `test/test_transformers.py`
- `torch/_C/__init__.pyi.in`
- `torch/_dynamo/trace_rules.py`
- `torch/backends/cuda/__init__.py`
- `torch/csrc/Module.cpp`

## Evidence Bundle

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