Skip to content

Commit

Permalink
Don't use kwargs in autograd functions (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yard1 authored May 27, 2024
1 parent 7f3b182 commit 03bf1f8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions vllm_flash_attn/flash_attn_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -709,7 +709,7 @@ def flash_attn_qkvpacked_func(
alibi_slopes,
deterministic,
return_attn_probs,
out=out,
out,
)


Expand Down Expand Up @@ -786,7 +786,7 @@ def flash_attn_kvpacked_func(
alibi_slopes,
deterministic,
return_attn_probs,
out=out,
out,
)


Expand Down Expand Up @@ -863,7 +863,7 @@ def flash_attn_func(
alibi_slopes,
deterministic,
return_attn_probs,
out=out,
out,
)


Expand Down Expand Up @@ -928,7 +928,7 @@ def flash_attn_varlen_qkvpacked_func(
alibi_slopes,
deterministic,
return_attn_probs,
out=out,
out,
)


Expand Down Expand Up @@ -1019,7 +1019,7 @@ def flash_attn_varlen_kvpacked_func(
alibi_slopes,
deterministic,
return_attn_probs,
out=out,
out,
)


Expand Down Expand Up @@ -1112,7 +1112,7 @@ def flash_attn_varlen_func(
deterministic,
return_attn_probs,
block_table,
out=out,
out,
)


Expand Down

0 comments on commit 03bf1f8

Please sign in to comment.