Skip to content

[Usage]: vllm infer with 2 * Nvidia-L20, output repeat !!!! #10713

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

Closed
1 task done
RoyaltyLJW opened this issue Nov 27, 2024 · 4 comments
Closed
1 task done

[Usage]: vllm infer with 2 * Nvidia-L20, output repeat !!!! #10713

RoyaltyLJW opened this issue Nov 27, 2024 · 4 comments
Labels
stale Over 90 days of inactivity usage How to use vllm

Comments

@RoyaltyLJW
Copy link

Your current environment

vllm==0.6.1

How would you like to use vllm

Steps to reproduce
This happens to Qwen2.5-32B-Instruct-AWQ
The problem can be reproduced with the following steps:

start vllm service

exec python3 -m vllm.entrypoints.openai.api_server\
   --served-model-name ${model_name}\
   --model ./${model_name}\
   --port 8890 \
   --quantization awq \
   --tensor-parallel-size 2 \
   --enable_auto_tool_choice \
   --tool-call-parser hermes 1>vllm.log 2>&1 &

infer

system_prompt = "你是一个安全专家,你的任务是根据用户的输入,以markdown格式返回结果。"
query = "什么是SSRF漏洞"
messages = [{"role": "system", "content": system_prompt}]
messages.append({"role": "user", "content": query})
 completion = client.chat.completions.create(
      model=model_name,
      messages=messages,
      temperature=0.1,
      top_p=0.9,
      max_tokens=4096,
      tools=[],
      extra_body={
          "repetition_penalty": 1.05,
      },
  )
        
req_id = completion.id
total_token = completion.usage.total_tokens
completion_token = completion.usage.completion_tokens
prompt_tokens = completion.usage.prompt_tokens

output results
The results are expected to be ...
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

with 2 A30, I didn't succeed in reproducing. But with L20,nearly 30% can reproduce
is the problem related to GPU type or cuda driver?
Looking for help

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.
@RoyaltyLJW RoyaltyLJW added the usage How to use vllm label Nov 27, 2024
@jeejeelee
Copy link
Collaborator

Maybe similar issue with #10656, cc @mgoin

@fsh2102
Copy link

fsh2102 commented Dec 2, 2024

I had the same problem when using the Qwen2-72B-Instruct model, is there a solution now.help!!!

Copy link

github-actions bot commented Mar 3, 2025

This issue has been automatically marked as stale because it has not had any activity within 90 days. It will be automatically closed if no further activity occurs within 30 days. Leave a comment if you feel this issue should remain open. Thank you!

@github-actions github-actions bot added the stale Over 90 days of inactivity label Mar 3, 2025
Copy link

github-actions bot commented Apr 2, 2025

This issue has been automatically closed due to inactivity. Please feel free to reopen if you feel it is still relevant. Thank you!

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Apr 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Over 90 days of inactivity usage How to use vllm
Projects
None yet
Development

No branches or pull requests

3 participants