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
norm
vllm
Commits
cf8849f2
Unverified
Commit
cf8849f2
authored
Oct 31, 2023
by
Wenfei Yan
Committed by
GitHub
Oct 31, 2023
Browse files
Add `MptForCausalLM` key in model_loader (#1526)
parent
e575df33
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
vllm/model_executor/model_loader.py
vllm/model_executor/model_loader.py
+2
-0
No files found.
vllm/model_executor/model_loader.py
View file @
cf8849f2
...
...
@@ -27,6 +27,8 @@ _MODEL_REGISTRY = {
"LlamaForCausalLM"
:
LlamaForCausalLM
,
"LLaMAForCausalLM"
:
LlamaForCausalLM
,
# For decapoda-research/llama-*
"MistralForCausalLM"
:
MistralForCausalLM
,
# transformers's mpt class has lower case
"MptForCausalLM"
:
MPTForCausalLM
,
"MPTForCausalLM"
:
MPTForCausalLM
,
"OPTForCausalLM"
:
OPTForCausalLM
,
"QWenLMHeadModel"
:
QWenLMHeadModel
,
...
...
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