mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-05-30 19:37:06 +08:00
Map CwmForCausalLM to llama and LlamaForCausalLM (#25611)
Signed-off-by: Jacob Kahn <jacobkahn1@gmail.com> Co-authored-by: Roger Wang <hey@rogerw.io>
This commit is contained in:
parent
755ed7b05b
commit
bc092ea873
@ -196,6 +196,9 @@ _TEXT_GENERATION_EXAMPLE_MODELS = {
|
|||||||
trust_remote_code=True),
|
trust_remote_code=True),
|
||||||
"Cohere2ForCausalLM": _HfExamplesInfo("CohereForAI/c4ai-command-r7b-12-2024", # noqa: E501
|
"Cohere2ForCausalLM": _HfExamplesInfo("CohereForAI/c4ai-command-r7b-12-2024", # noqa: E501
|
||||||
trust_remote_code=True),
|
trust_remote_code=True),
|
||||||
|
"CwmForCausalLM": _HfExamplesInfo("facebook/cwm", # noqa: E501
|
||||||
|
trust_remote_code=True,
|
||||||
|
is_available_online=False),
|
||||||
"DbrxForCausalLM": _HfExamplesInfo("databricks/dbrx-instruct"),
|
"DbrxForCausalLM": _HfExamplesInfo("databricks/dbrx-instruct"),
|
||||||
"DeciLMForCausalLM": _HfExamplesInfo("nvidia/Llama-3_3-Nemotron-Super-49B-v1", # noqa: E501
|
"DeciLMForCausalLM": _HfExamplesInfo("nvidia/Llama-3_3-Nemotron-Super-49B-v1", # noqa: E501
|
||||||
trust_remote_code=True),
|
trust_remote_code=True),
|
||||||
|
|||||||
@ -64,6 +64,7 @@ _TEXT_GENERATION_MODELS = {
|
|||||||
"ChatGLMForConditionalGeneration": ("chatglm", "ChatGLMForCausalLM"),
|
"ChatGLMForConditionalGeneration": ("chatglm", "ChatGLMForCausalLM"),
|
||||||
"CohereForCausalLM": ("commandr", "CohereForCausalLM"),
|
"CohereForCausalLM": ("commandr", "CohereForCausalLM"),
|
||||||
"Cohere2ForCausalLM": ("commandr", "CohereForCausalLM"),
|
"Cohere2ForCausalLM": ("commandr", "CohereForCausalLM"),
|
||||||
|
"CwmForCausalLM": ("llama", "LlamaForCausalLM"),
|
||||||
"DbrxForCausalLM": ("dbrx", "DbrxForCausalLM"),
|
"DbrxForCausalLM": ("dbrx", "DbrxForCausalLM"),
|
||||||
"DeciLMForCausalLM": ("nemotron_nas", "DeciLMForCausalLM"),
|
"DeciLMForCausalLM": ("nemotron_nas", "DeciLMForCausalLM"),
|
||||||
"DeepseekForCausalLM": ("deepseek", "DeepseekForCausalLM"),
|
"DeepseekForCausalLM": ("deepseek", "DeepseekForCausalLM"),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user