-
Notifications
You must be signed in to change notification settings - Fork 637
regression训练的模型如何部署 #3786
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
Comments
请拉一下main分支,已经修复这个问题了 |
from swift.llm import InferClient, InferRequest models = engine.models |
我没有理解,是有什么报错吗 |
engine.infer报错requests.exceptions.HTTPError: The model does not support Chat Completions API |
报错截图看看 |
在VLLM里面看了下,部署和调用方式如下: import requests def post_http_request(prompt: dict, api_url: str) -> requests.Response: def infer_instance(content): |
参考如下示例部署失败,报错requests.exceptions.HTTPError: The model does not support Chat Completions API
https://github.com/modelscope/ms-swift/blob/07bd7b463f1588362388c389dc6bdb4570bea04e/examples/train/seq_cls/regression/deploy.sh
The text was updated successfully, but these errors were encountered: