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
03bf1f8a
Unverified
Commit
03bf1f8a
authored
May 27, 2024
by
Antoni Baum
Committed by
GitHub
May 27, 2024
Browse files
Don't use kwargs in autograd functions (#3)
parent
7f3b182c
Pipeline
#2017
failed with stages
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
vllm_flash_attn/flash_attn_interface.py
vllm_flash_attn/flash_attn_interface.py
+6
-6
No files found.
vllm_flash_attn/flash_attn_interface.py
View file @
03bf1f8a
...
@@ -709,7 +709,7 @@ def flash_attn_qkvpacked_func(
...
@@ -709,7 +709,7 @@ def flash_attn_qkvpacked_func(
alibi_slopes
,
alibi_slopes
,
deterministic
,
deterministic
,
return_attn_probs
,
return_attn_probs
,
out
=
out
,
out
,
)
)
...
@@ -786,7 +786,7 @@ def flash_attn_kvpacked_func(
...
@@ -786,7 +786,7 @@ def flash_attn_kvpacked_func(
alibi_slopes
,
alibi_slopes
,
deterministic
,
deterministic
,
return_attn_probs
,
return_attn_probs
,
out
=
out
,
out
,
)
)
...
@@ -863,7 +863,7 @@ def flash_attn_func(
...
@@ -863,7 +863,7 @@ def flash_attn_func(
alibi_slopes
,
alibi_slopes
,
deterministic
,
deterministic
,
return_attn_probs
,
return_attn_probs
,
out
=
out
,
out
,
)
)
...
@@ -928,7 +928,7 @@ def flash_attn_varlen_qkvpacked_func(
...
@@ -928,7 +928,7 @@ def flash_attn_varlen_qkvpacked_func(
alibi_slopes
,
alibi_slopes
,
deterministic
,
deterministic
,
return_attn_probs
,
return_attn_probs
,
out
=
out
,
out
,
)
)
...
@@ -1019,7 +1019,7 @@ def flash_attn_varlen_kvpacked_func(
...
@@ -1019,7 +1019,7 @@ def flash_attn_varlen_kvpacked_func(
alibi_slopes
,
alibi_slopes
,
deterministic
,
deterministic
,
return_attn_probs
,
return_attn_probs
,
out
=
out
,
out
,
)
)
...
@@ -1112,7 +1112,7 @@ def flash_attn_varlen_func(
...
@@ -1112,7 +1112,7 @@ def flash_attn_varlen_func(
deterministic
,
deterministic
,
return_attn_probs
,
return_attn_probs
,
block_table
,
block_table
,
out
=
out
,
out
,
)
)
...
...
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