[CPU INT8 SDPA] use manual transpose and pack#2380
Merged
Valentine233 merged 2 commits intopytorch:mainfrom Jul 10, 2025
Merged
[CPU INT8 SDPA] use manual transpose and pack#2380Valentine233 merged 2 commits intopytorch:mainfrom
Valentine233 merged 2 commits intopytorch:mainfrom
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/ao/2380
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 313e6e3 with merge base 00417b8 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
f94e2e0 to
28fedb2
Compare
pytorchmergebot
pushed a commit
to pytorch/pytorch
that referenced
this pull request
Jul 7, 2025
To be used by CPU INT8 SDPA in torchao. pytorch/ao#2380 Pull Request resolved: #156065 Approved by: https://github.com/mingfeima, https://github.com/ezyang
899bba9 to
313e6e3
Compare
leslie-fang-intel
approved these changes
Jul 8, 2025
Collaborator
Author
|
@drisspg @jerryzh168 @jansel Please help take a look to the PR. |
jansel
approved these changes
Jul 10, 2025
liangel-02
pushed a commit
that referenced
this pull request
Aug 25, 2025
* [cpu int8 sdpa] use manual tranpose and pack
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Use the manual transpose and pack instead of the onednn one, to get perf gain.
Depend on pytorch/pytorch#156065.