[Submodule] Add flash as third-party submodule [Prep for later PRs] (#145502)

# Context

Prototyped here: https://github.com/pytorch/pytorch/pull/144120, we are going to make flash-attention a 3rd party submodule. We will then use the c++ sources and include into our build of libtorch.so

This requires various changes to work including external and internal changes. Since these require internal changes we need to co-dev and in the co-dev environment I haven't found a way to sync submodule changes + internal only changes.

This is unused for now

Pull Request resolved: https://github.com/pytorch/pytorch/pull/145502
Approved by: https://github.com/Skylion007
This commit is contained in:
drisspg
2025-01-23 16:49:59 -08:00
committed by PyTorch MergeBot
parent d62e900d8c
commit 72da0a8a42
2 changed files with 4 additions and 0 deletions

3
.gitmodules vendored
View File

@ -134,3 +134,6 @@
[submodule "third_party/kleidiai"]
path = third_party/kleidiai
url = https://github.com/ARM-software/kleidiai.git
[submodule "third_party/flash-attention"]
path = third_party/flash-attention
url = https://github.com/Dao-AILab/flash-attention.git

1
third_party/flash-attention vendored Submodule