Skip to content

使用vllm加载模型进行推理报错 #21

@Maxhyl

Description

@Maxhyl

环境:
cuda12.4
vllm 0.9.1
8*A100 80G

运行命令:
python -m vllm.entrypoints.openai.api_server
--model ./MiniMax-M1-80k
--tensor-parallel-size 8
--trust-remote-code
--quantization experts_int8
--max_model_len 1024
--dtype bfloat16
报错:
ValueError: Cannot find model module. 'MiniMaxM1ForCausalLM' is not a registered model in the Transformers library (only relevant if the model is meant to be in Transformers) and 'AutoModel' is not present in the model config's 'auto_map' (relevant if the model is custom).

请问这个问题怎么解决?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions