Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Docs] LoRA 推理服务 #2686

Open
LIUKAI0815 opened this issue Oct 31, 2024 · 1 comment
Open

[Docs] LoRA 推理服务 #2686

LIUKAI0815 opened this issue Oct 31, 2024 · 1 comment
Assignees

Comments

@LIUKAI0815
Copy link

📚 The doc issue

请问 使用lmdeploy serve api_server THUDM/chatglm2-6b --adapters mylora=chenchi/lora-chatglm2-6b-guodegang
启动服务之后,调用的时候能不能即使用裸模型也使用lora训练后的?
比如openai方式调用的时候model_name=mylora就是调用adpters;上面的命令行加上--model-name=chatglm2的参数,openai方式调用的时候model_name=chatglm2就是调用的裸模型?

Suggest a potential alternative/fix

No response

@AllentDan
Copy link
Collaborator

对,具体能用哪些模型可以查询 /v1/models 查看。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants