Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
text-generation-inference
Commits
1cebccc7
Unverified
Commit
1cebccc7
authored
Aug 13, 2024
by
drbh
Committed by
GitHub
Aug 13, 2024
Browse files
fix: adds causal to attention params (#2408)
fix: adds causal to attention params to check when using flash attn v1
parent
59922f9b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
server/text_generation_server/layers/attention/cuda.py
server/text_generation_server/layers/attention/cuda.py
+1
-0
No files found.
server/text_generation_server/layers/attention/cuda.py
View file @
1cebccc7
...
@@ -293,6 +293,7 @@ else:
...
@@ -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
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment