Skip to content

Commit

Permalink
Add MptForCausalLM key in model_loader (#1526)
Browse files Browse the repository at this point in the history
  • Loading branch information
wenfeiy-db authored Oct 31, 2023
1 parent e575df3 commit cf8849f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vllm/model_executor/model_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
"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,
Expand Down

0 comments on commit cf8849f

Please sign in to comment.