Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
增加fastdeploy bench cli:
latency:离线推理延时
示例:
fastdeploy bench latency --model /ModelData/ERNIE-4.5-0.3B-Paddle
serve:服务化推理吞吐、延时
示例:
参数与benchmarks脚本一致
fastdeploy bench serve
--backend openai-chat
--label test
--model EB45T
--host 0.0.0.0
--port 42688
--dataset-name EBChat
--hyperparameter-path test.yaml
--percentile-metrics ttft,tpot,itl,e2el,s_ttft,s_itl,s_e2el,s_decode,input_len,s_input_len,output_len
--metric-percentiles 80,95,99,99.9,99.95,99.99
--dataset-path ./filtered_sharedgpt_2000_input_1136_output_200_fd.json
--num-prompts 10
--max-concurrency 10