Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
flash-attention
Commits
2aea958f
Commit
2aea958f
authored
Apr 07, 2024
by
Tri Dao
Browse files
[CI] Compile with torch 2.3.0.dev20240207
parent
656daef4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
.github/workflows/publish.yml
.github/workflows/publish.yml
+2
-2
setup.py
setup.py
+6
-1
No files found.
.github/workflows/publish.yml
View file @
2aea958f
...
@@ -44,7 +44,7 @@ jobs:
...
@@ -44,7 +44,7 @@ jobs:
# manylinux docker image, but I haven't figured out how to install CUDA on manylinux.
# manylinux docker image, but I haven't figured out how to install CUDA on manylinux.
os
:
[
ubuntu-20.04
]
os
:
[
ubuntu-20.04
]
python-version
:
[
'
3.7'
,
'
3.8'
,
'
3.9'
,
'
3.10'
,
'
3.11'
]
python-version
:
[
'
3.7'
,
'
3.8'
,
'
3.9'
,
'
3.10'
,
'
3.11'
]
torch-version
:
[
'
1.12.1'
,
'
1.13.1'
,
'
2.0.1'
,
'
2.1.2'
,
'
2.2.0'
,
'
2.3.0.dev20240
105
'
]
torch-version
:
[
'
1.12.1'
,
'
1.13.1'
,
'
2.0.1'
,
'
2.1.2'
,
'
2.2.0'
,
'
2.3.0.dev20240
207
'
]
cuda-version
:
[
'
11.8.0'
,
'
12.2.2'
]
cuda-version
:
[
'
11.8.0'
,
'
12.2.2'
]
# We need separate wheels that either uses C++11 ABI (-D_GLIBCXX_USE_CXX11_ABI) or not.
# We need separate wheels that either uses C++11 ABI (-D_GLIBCXX_USE_CXX11_ABI) or not.
# Pytorch wheels currently don't use it, but nvcr images have Pytorch compiled with C++11 ABI.
# Pytorch wheels currently don't use it, but nvcr images have Pytorch compiled with C++11 ABI.
...
@@ -63,7 +63,7 @@ jobs:
...
@@ -63,7 +63,7 @@ jobs:
python-version
:
'
3.7'
python-version
:
'
3.7'
-
torch-version
:
'
2.2.0'
-
torch-version
:
'
2.2.0'
python-version
:
'
3.7'
python-version
:
'
3.7'
-
torch-version
:
'
2.3.0.dev20240
105
'
-
torch-version
:
'
2.3.0.dev20240
207
'
python-version
:
'
3.7'
python-version
:
'
3.7'
# Pytorch <= 2.0 only supports CUDA <= 11.8
# Pytorch <= 2.0 only supports CUDA <= 11.8
-
torch-version
:
'
1.12.1'
-
torch-version
:
'
1.12.1'
...
...
setup.py
View file @
2aea958f
...
@@ -200,6 +200,11 @@ if not SKIP_CUDA_BUILD:
...
@@ -200,6 +200,11 @@ if not SKIP_CUDA_BUILD:
# "--ptxas-options=-v",
# "--ptxas-options=-v",
# "--ptxas-options=-O2",
# "--ptxas-options=-O2",
# "-lineinfo",
# "-lineinfo",
# "-DFLASHATTENTION_DISABLE_BACKWARD",
# "-DFLASHATTENTION_DISABLE_DROPOUT",
# "-DFLASHATTENTION_DISABLE_ALIBI",
# "-DFLASHATTENTION_DISABLE_UNEVEN_K",
# "-DFLASHATTENTION_DISABLE_LOCAL",
]
]
+
generator_flag
+
generator_flag
+
cc_flag
+
cc_flag
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment