forked from vllm-project/vllm
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Chendi Xue <[email protected]>
- Loading branch information
Showing
1 changed file
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# VLLM_SKIP_WARMUP=true python3 -m \ | ||
# vllm.entrypoints.openai.mm_api_server \ | ||
# --model mistralai/Mistral-7B-Instruct-v0.3 meta-llama/Llama-3.1-8B-Instruct \ | ||
# --port 8080 --device hpu --dtype bfloat16 \ | ||
# --gpu-memory-utilization=0.3 --use-v2-block-manager --max-model-len 4096 2>&1 > multi_models.log & | ||
|
||
|
||
bs=128 | ||
in_len=1024 | ||
out_len=1024 | ||
|
||
|
||
python benchmarks/benchmark_serving.py \ | ||
--backend vllm \ | ||
--model mistralai/Mistral-7B-Instruct-v0.3 \ | ||
--dataset-name sonnet \ | ||
--dataset-path benchmarks/sonnet.txt \ | ||
--request-rate 512 \ | ||
--num-prompts ${bs} \ | ||
--port 8080 \ | ||
--sonnet-input-len ${in_len} \ | ||
--sonnet-output-len ${out_len} \ | ||
--sonnet-prefix-len 100 \ | ||
--save-result 2>&1 > mistral-sonnet.log & | ||
|
||
python benchmarks/benchmark_serving.py \ | ||
--backend vllm \ | ||
--model meta-llama/Llama-3.1-8B-Instruct \ | ||
--dataset-name sonnet \ | ||
--dataset-path benchmarks/sonnet.txt \ | ||
--request-rate 512 \ | ||
--num-prompts ${bs} \ | ||
--port 8080 \ | ||
--sonnet-input-len ${in_len} \ | ||
--sonnet-output-len ${out_len} \ | ||
--sonnet-prefix-len 100 \ | ||
--save-result 2>&1 > llama-sonnet.log & |