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

Qwen1.5-7B-Chat vLLM 部署调用-速度测试 hf命令错误 #101

Open
ericalduo opened this issue May 6, 2024 · 1 comment
Open

Qwen1.5-7B-Chat vLLM 部署调用-速度测试 hf命令错误 #101

ericalduo opened this issue May 6, 2024 · 1 comment

Comments

@ericalduo
Copy link

ericalduo commented May 6, 2024

vLLM部署
测试原始方式(使用 hunggingface 的 transformers 库)的速度:

python benchmark_throughput.py \
	--model /root/autodl-tmp/qwen/Qwen1.5-7B-Chat \
	--backend hf \
	--input-len 64 \
	--output-len 128 \
	--num-prompts 25 \
	--seed 2024 \
	--dtype float16
    --hf_max_batch_size 25

最后两个参数应该为:

--dtype float16 \
--hf-max-batch-size 25
@KMnO4-zx
Copy link
Contributor

好的,收到!

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

2 participants