mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-12 12:54:52 +00:00
fix: avoid changing conditional
This commit is contained in:
parent
afc0fb5adf
commit
ad942a1d79
@ -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"
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user