Skip to content

Commit 7a92239

Browse files
committed
Add Fadi's PR to accelerate SDPAs.
1 parent 519eff6 commit 7a92239

3 files changed

Lines changed: 7 additions & 1 deletion

File tree

ML-Frameworks/pytorch-aarch64/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ where `YY` is the year, and `MM` the month of the increment.
1414
## [unreleased]
1515

1616
### Added
17+
- Adds PyTorch [PR #177009](https://github.com/pytorch/pytorch/pull/177009), to accelerate SDPA on Arm CPUs.
1718

1819
### Changed
1920
- Updates hashes for:
@@ -22,6 +23,7 @@ where `YY` is the year, and `MM` the month of the increment.
2223
- `ONEDNN_HASH` to `a45a5ba044d1830b88d7fb529efaa52133328d45`, from main, Mar 23rd.
2324
- `TORCH_AO_HASH` to `fbce9178697ca22d604314b316feb765360e0dec`, from main, Mar 23rd.
2425
- `KLEIDIAI_HASH` to `72a6a50c1dba714ff27a908e8dd54be3628794b0`, v1.23.0 from main, Mar 20th.
26+
- Updates `OPENBLAS_VERSION` from v0.3.30 to faa06bd75900ae8251579d5178152e644273703b from main, Mar 21st.
2527
- Updates `torchvision` from 0.25.0.dev20260130 to 0.26.0.dev20260322.
2628

2729
### Removed

ML-Frameworks/pytorch-aarch64/get-source.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ git-shallow-clone https://github.com/pytorch/pytorch.git $PYTORCH_HASH
3838
apply-github-patch pytorch/pytorch b1782bbe0eda5957870e2f6e95b8f167e04843cb
3939
apply-github-patch pytorch/pytorch 337925aed2babb3ef7808f78536bbbc9df346a4f
4040

41+
# https://github.com/pytorch/pytorch/pull/177009 - Accelerate SDPA on Arm CPUs: Unroll exp_sum and max_mul kernels
42+
apply-github-patch pytorch/pytorch f6a6cc94e92636902acbbe443d00cec4a8efa12d
43+
apply-github-patch pytorch/pytorch 253a1ea6db210c01178dd365922eb49fe4892fe7
44+
4145
# Remove deps that we don't need for manylinux AArch64 CPU builds before fetching.
4246
# Only used when jni.h is present (see .ci/pytorch/build.sh:116), which is not the case for manylinux
4347
git rm android/libs/fbjni

ML-Frameworks/pytorch-aarch64/versions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ KLEIDIAI_HASH=72a6a50c1dba714ff27a908e8dd54be3628794b0 # v1.23.0 from main, Mar
1717

1818
# build-wheel.sh deps
1919
ACL_VERSION="v52.8.0" # Jan 23rd
20-
OPENBLAS_VERSION="v0.3.30" # Jan 15th
20+
OPENBLAS_VERSION=faa06bd75900ae8251579d5178152e644273703b # Mar 21st
2121

2222
# Dockerfile deps
2323
TORCHVISION_NIGHTLY="0.26.0.dev20260322"

0 commit comments

Comments
 (0)