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

[Bug]: gpt2 输出只有! #11316

Open
1 task done
G1017 opened this issue Dec 19, 2024 · 1 comment
Open
1 task done

[Bug]: gpt2 输出只有! #11316

G1017 opened this issue Dec 19, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@G1017
Copy link

G1017 commented Dec 19, 2024

Your current environment

The output of `python collect_env.py`
Your output of `python collect_env.py` here

Model Input Dumps

No response

🐛 Describe the bug

python3 -m vllm.entrypoints.openai.api_server --mo
del /models/openai/gpt2 --host 127.0.0.1 --port 12345

curl 127.0.0.1:12345/v1/completions
-H "Content-Type: application/json"
-d '{"model":"/share/fshare/common/models/openai/gpt2",
"prompt":"hello. ",
"temperature":0.7,
"max_tokens":128}'

output's text only "!",not correct answer.
image

Before submitting a new issue...

  • Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.
@G1017 G1017 added the bug Something isn't working label Dec 19, 2024
@DarkLight1337
Copy link
Member

Which version of vLLM are you using? Can you show the output of collect_env.py? Please also link the HF repo you downloaded the model from.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants