fix: avoid changing conditional

This commit is contained in:
drbh 2024-08-02 21:46:58 +00:00
parent afc0fb5adf
commit ad942a1d79

View File

@ -257,7 +257,7 @@ else:
window_size_left=-1, window_size_left=-1,
softcap=None, softcap=None,
): ):
if window_size_left is not None and window_size_left != -1: if window_size_left != -1:
raise NotImplementedError( raise NotImplementedError(
"window_size_left is only available with flash attn v2" "window_size_left is only available with flash attn v2"
) )