lm-sys / lm-sys/FastChat

chatglm3-6b run fastchat.serve.vllm_worker no output

Open
#2,782 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
39.5k
Forks
4.8k
PR merge metrics
No merged PRs in 30d

Description

python3 -m fastchat.serve.vllm_worker --model-names "chatglm3-6b" --model-path /data1/apps/huggingface/chatglm3-6b --trust-remote-code

遇到相同问题!使用vllm运行chatglm3-6b 使用openai api访问时,没有输出!
image

python3 -m fastchat.serve.model_worker --model-names "chatglm3-6b" --model-path /data1/apps/huggingface/chatglm3-6b --trust-remote-code
在model模式下运行chatglm3-6b 使用openai api访问时,输出正常!如下图
image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the shown fastchat.serve.vllm_worker command with ChatGLM3-6B and compare its OpenAI API behavior with the fastchat.serve.model_worker command, which reportedly returns output. Use the issue’s commands and screenshots as the baseline; done means the vLLM worker also produces output through the OpenAI API.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, backend, machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.