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

autodl上使用xinference加载qwen2-72b-instruct模型,运行不起来 #2012

Open
1 of 3 tasks
qq745639151 opened this issue Aug 4, 2024 · 1 comment
Open
1 of 3 tasks
Milestone

Comments

@qq745639151
Copy link

qq745639151 commented Aug 4, 2024

System Info / 系統信息

image
我创建的虚拟环境,Python版本用的是3.11.9

Running Xinference with Docker? / 是否使用 Docker 运行 Xinfernece?

  • docker / docker
  • pip install / 通过 pip install 安装
  • installation from source / 从源码安装

Version info / 版本信息

image

The command used to start Xinference / 用以启动 xinference 的命令

xinference-local --host 0.0.0.0 --port 9997

Reproduction / 复现过程

注册模型,参数如下:
{
"version": 1,
"context_length": 30720,
"model_name": "qwen2-72b-instruct",
"model_lang": [
"en",
"zh"
],
"model_ability": [
"generate",
"chat",
"vision"
],
"model_description": "This is a custom model description.",
"model_family": "qwen2-instruct",
"model_specs": [
{
"model_format": "pytorch",
"model_size_in_billions": 72,
"quantizations": [
"none"
],
"model_id": null,
"model_hub": "huggingface",
"model_uri": "/root/autodl-tmp/xinfhome/Qwen2-72B-Instruct",
"model_revision": null
}
],
"prompt_style": {
"style_name": "QWEN",
"system_prompt": "You are a helpful assistant.",
"roles": [
"user",
"assistant"
],
"intra_message_sep": "\n",
"inter_message_sep": "",
"stop": [
"<|endoftext|>",
"<|im_start|>",
"<|im_end|>"
],
"stop_token_ids": [
151643,
151644,
151645
]
},
"is_builtin": false
}

启动模型:
然后就一直等待,但是一直运行不起来,查看日志,日志也停在这里,如下图所示:
image

网页上如下图所示:
853af01a7e4cffe5c76481ad3a7c1cf

Expected behavior / 期待表现

希望能把模型运行起来

@XprobeBot XprobeBot added this to the v0.14.0 milestone Aug 4, 2024
@qinxuye
Copy link
Contributor

qinxuye commented Aug 7, 2024

vllm 降到 0.4.2 看下。

@XprobeBot XprobeBot modified the milestones: v0.14, v0.15 Sep 3, 2024
@XprobeBot XprobeBot modified the milestones: v0.15, v0.16 Oct 30, 2024
@XprobeBot XprobeBot modified the milestones: v0.16, v1.x Nov 25, 2024
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

3 participants