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

如何配置参数使服务处理请求并发数最大化 #494

Open
xiaoshizijiayou opened this issue Oct 21, 2024 · 0 comments
Open

如何配置参数使服务处理请求并发数最大化 #494

xiaoshizijiayou opened this issue Oct 21, 2024 · 0 comments

Comments

@xiaoshizijiayou
Copy link

目前使用默认参数验证,40个线程同时请求,最大响应为1.3s左右,平均为600ms左右;20个线程同时请求,最大响应为0.9s左右平均为400ms左右;是不是以下参数可以优化?
python3 -m ftllm.server -t 16 -p /root/Qwen2-0.5B-Instruct --port 8000 --model_name Qwen2-0.5B-Instruct --device cuda --cuda_embedding --lora /root/adatper/checkpoint-2000

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

1 participant