fix: adds causal to attention params (#2408)

fix: adds causal to attention params to check when using flash attn v1
This commit is contained in:
drbh 2024-08-13 10:19:46 -04:00 committed by GitHub
parent 59922f9bc1
commit 1cebccc72b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -293,6 +293,7 @@ else:
max_s, max_s,
softmax_scale, softmax_scale,
window_size_left=-1, window_size_left=-1,
causal=None,
softcap=None, softcap=None,
): ):
if window_size_left != -1: if window_size_left != -1: