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
change
sglang
Commits
d2571dd5
"...text-generation-inference.git" did not exist on "b32e9ce9d5e5b73082e31bf5d75c458dba29d30c"
Unverified
Commit
d2571dd5
authored
Jan 20, 2025
by
Hui Liu
Committed by
GitHub
Jan 20, 2025
Browse files
Enable Cohere2 Models (#3018)
parent
b730aa6b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
python/sglang/srt/models/commandr.py
python/sglang/srt/models/commandr.py
+5
-1
No files found.
python/sglang/srt/models/commandr.py
View file @
d2571dd5
...
@@ -386,4 +386,8 @@ class CohereForCausalLM(nn.Module):
...
@@ -386,4 +386,8 @@ class CohereForCausalLM(nn.Module):
loaded_params
.
add
(
name
)
loaded_params
.
add
(
name
)
EntryClass
=
CohereForCausalLM
class
Cohere2ForCausalLM
(
CohereForCausalLM
):
pass
EntryClass
=
[
CohereForCausalLM
,
Cohere2ForCausalLM
]
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