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

vllm推理提速不明显,如何解决? #7

Open
zzyzeyuan opened this issue Apr 16, 2024 · 3 comments
Open

vllm推理提速不明显,如何解决? #7

zzyzeyuan opened this issue Apr 16, 2024 · 3 comments

Comments

@zzyzeyuan
Copy link

history=None
for i in range(len(raw_prompts)):
    # len(raw_prompts) = 100
    q = raw_prompts[i]
    response, history = vllm_model.chat(query=q, history=history)
    print(response)
    history = history[:10]

之前没有用vllm,100个prompts大约是52s,使用vllm之后仍然是52s左右,似乎没有提速?
请问有人能帮忙看一下吗?

@xiamuguizhi08
Copy link

history=None
for i in range(len(raw_prompts)):
    # len(raw_prompts) = 100
    q = raw_prompts[i]
    response, history = vllm_model.chat(query=q, history=history)
    print(response)
    history = history[:10]

之前没有用vllm,100个prompts大约是52s,使用vllm之后仍然是52s左右,似乎没有提速? 请问有人能帮忙看一下吗?

history=None
for i in range(len(raw_prompts)):
    # len(raw_prompts) = 100
    q = raw_prompts[i]
    response, history = vllm_model.chat(query=q, history=history)
    print(response)
    history = history[:10]

之前没有用vllm,100个prompts大约是52s,使用vllm之后仍然是52s左右,似乎没有提速? 请问有人能帮忙看一下吗?

你好,想问一下千问模型部署好了再用vllm加速吗

@qinyuenlp
Copy link

history=None
for i in range(len(raw_prompts)):
    # len(raw_prompts) = 100
    q = raw_prompts[i]
    response, history = vllm_model.chat(query=q, history=history)
    print(response)
    history = history[:10]

之前没有用vllm,100个prompts大约是52s,使用vllm之后仍然是52s左右,似乎没有提速? 请问有人能帮忙看一下吗?

history=None
for i in range(len(raw_prompts)):
    # len(raw_prompts) = 100
    q = raw_prompts[i]
    response, history = vllm_model.chat(query=q, history=history)
    print(response)
    history = history[:10]

之前没有用vllm,100个prompts大约是52s,使用vllm之后仍然是52s左右,似乎没有提速? 请问有人能帮忙看一下吗?

你好,想问一下千问模型部署好了再用vllm加速吗

一般都是直接用vllm框架部署qwen的

@xiamuguizhi08
Copy link

xiamuguizhi08 commented May 30, 2024 via email

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