Unverified Commit 03bf1f8a authored by Antoni Baum's avatar Antoni Baum Committed by GitHub
Browse files

Don't use kwargs in autograd functions (#3)

parent 7f3b182c
Pipeline #2017 failed with stages
in 0 seconds
...@@ -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,
) )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment