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
05481617
Commit
05481617
authored
Nov 20, 2022
by
Tri Dao
Browse files
Bump version to 0.2.1
parent
0fa5c0d7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
flash_attn/losses/cross_entropy_parallel.py
flash_attn/losses/cross_entropy_parallel.py
+1
-1
setup.py
setup.py
+1
-1
No files found.
flash_attn/losses/cross_entropy_parallel.py
View file @
05481617
...
@@ -14,7 +14,7 @@ from apex.transformer.tensor_parallel.utils import VocabUtility
...
@@ -14,7 +14,7 @@ from apex.transformer.tensor_parallel.utils import VocabUtility
# `all_gather_into_tensor` and `reduce_scatter_tensor` are new placeholders for
# `all_gather_into_tensor` and `reduce_scatter_tensor` are new placeholders for
# `_all_gather_base` and `_reduce_scatter_base`. They require the most recent
# `_all_gather_base` and `_reduce_scatter_base`. They require the most recent
# version of PyTorch. The following 4 lines are for backward compa
ra
bility with
# version of PyTorch. The following 4 lines are for backward compa
ti
bility with
# older PyTorch.
# older PyTorch.
if
"all_gather_into_tensor"
not
in
dir
(
torch
.
distributed
):
if
"all_gather_into_tensor"
not
in
dir
(
torch
.
distributed
):
torch
.
distributed
.
all_gather_into_tensor
=
torch
.
distributed
.
_all_gather_base
torch
.
distributed
.
all_gather_into_tensor
=
torch
.
distributed
.
_all_gather_base
...
...
setup.py
View file @
05481617
...
@@ -152,7 +152,7 @@ ext_modules.append(
...
@@ -152,7 +152,7 @@ ext_modules.append(
setup
(
setup
(
name
=
"flash_attn"
,
name
=
"flash_attn"
,
version
=
"0.2.
0
"
,
version
=
"0.2.
1
"
,
packages
=
find_packages
(
packages
=
find_packages
(
exclude
=
(
"build"
,
"csrc"
,
"include"
,
"tests"
,
"dist"
,
"docs"
,
"benchmarks"
,
"flash_attn.egg-info"
,)
exclude
=
(
"build"
,
"csrc"
,
"include"
,
"tests"
,
"dist"
,
"docs"
,
"benchmarks"
,
"flash_attn.egg-info"
,)
),
),
...
...
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