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
1d1b1efa
"src/vscode:/vscode.git/clone" did not exist on "d4c7ab7bf1a00b8f416b3d20b77babac86f7fb44"
Unverified
Commit
1d1b1efa
authored
Jul 18, 2024
by
OlivierDehaene
Committed by
GitHub
Jul 18, 2024
Browse files
fix(server): fix cohere (#2249)
parent
da82c63a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
server/text_generation_server/models/custom_modeling/flash_cohere_modeling.py
...on_server/models/custom_modeling/flash_cohere_modeling.py
+1
-1
No files found.
server/text_generation_server/models/custom_modeling/flash_cohere_modeling.py
View file @
1d1b1efa
...
...
@@ -259,8 +259,8 @@ class FlashCohereAttention(torch.nn.Module):
cu_seqlen_prefill
,
kv_cache
,
block_tables
,
input_lengths
,
slots
,
input_lengths
,
max_s
,
):
qkv
=
self
.
query_key_value
(
hidden_states
)
...
...
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