This repository has been archived by the owner on Oct 11, 2024. It is now read-only.
forked from vllm-project/vllm
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Benchmarking update - phase 1 (#339)
This PR updates the benchmarking performed in remote-push and nightly runs according to the first set of deliverables from our recent meeting: * Only the `benchmark_serving.json` config is run * This is accomplished with a new list, `nm_benchmark_base_config_list.txt`, other lists are untouched * The `benchmark_serving.json` has various reductions: * Model list reduced to `facebook/opt-350m` and `meta-llama/Meta-Llama-3-8B-Instruct` * `nr-qps` list reduced to `300,1` * Metric tracking reduced to mean TPOT and mean TTFT (other metrics still recorded/logged per usual) There is also a small fix related to server startup (changing from `localhost` to `127.0.0.1` because `localhost` on the machines is mapped to the IPv6 `::1` which something in the server stack doesn’t seem to like). In a commit prior to opening the PR with all functional changes, the full `benchmark` job took <30 min: https://github.com/neuralmagic/nm-vllm/actions/runs/9669361155/job/26709082658
- Loading branch information
Showing
6 changed files
with
22 additions
and
93 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 @@ | ||
neuralmagic/benchmarks/configs/benchmark_serving.json |
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
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
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 |
---|---|---|
@@ -1,74 +1,19 @@ | ||
{ | ||
"configs": [ | ||
{ | ||
"description": "VLLM Serving - Dense", | ||
"models": [ | ||
"teknium/OpenHermes-2.5-Mistral-7B", | ||
"NousResearch/Llama-2-7b-chat-hf", | ||
"neuralmagic/OpenHermes-2.5-Mistral-7B-marlin", | ||
"TheBloke/OpenHermes-2.5-Mistral-7B-GPTQ" | ||
], | ||
"use_all_available_gpus" : "", | ||
"max_model_lens": [ | ||
4096 | ||
], | ||
"sparsity": [], | ||
"script_name": "benchmark_serving", | ||
"script_args": { | ||
"nr-qps-pair_": [ | ||
"150,0.5", | ||
"300,1", | ||
"750,2.5", | ||
"1500,5" | ||
], | ||
"dataset": [ | ||
"sharegpt" | ||
] | ||
} | ||
}, | ||
{ | ||
"description": "VLLM Serving - Sparse", | ||
"models": [ | ||
"neuralmagic/OpenHermes-2.5-Mistral-7B-pruned50" | ||
], | ||
"use_all_available_gpus" : "", | ||
"max_model_lens": [ | ||
4096 | ||
], | ||
"sparsity": ["sparse_w16a16"], | ||
"script_name": "benchmark_serving", | ||
"script_args": { | ||
"nr-qps-pair_": [ | ||
"300,1", | ||
"750,2.5", | ||
"1500,5" | ||
], | ||
"dataset": [ | ||
"sharegpt" | ||
] | ||
} | ||
}, | ||
{ | ||
"description": "VLLM Serving - 2:4 Sparse", | ||
"models": [ | ||
"neuralmagic/OpenHermes-2.5-Mistral-7B-pruned2.4" | ||
], | ||
"use_all_available_gpus" : "", | ||
"max_model_lens": [ | ||
4096 | ||
], | ||
"sparsity": ["semi_structured_sparse_w16a16"], | ||
"script_name": "benchmark_serving", | ||
"script_args": { | ||
"nr-qps-pair_": [ | ||
"150,0.5", | ||
"750,2.5", | ||
"1500,5" | ||
], | ||
"dataset": [ | ||
"sharegpt" | ||
] | ||
} | ||
} | ||
] | ||
"configs": [ | ||
{ | ||
"description": "VLLM Serving - Dense", | ||
"models": [ | ||
"facebook/opt-350m", | ||
"meta-llama/Meta-Llama-3-8B-Instruct" | ||
], | ||
"use_all_available_gpus": "", | ||
"max_model_lens": [4096], | ||
"sparsity": [], | ||
"script_name": "benchmark_serving", | ||
"script_args": { | ||
"nr-qps-pair_": ["300,1"], | ||
"dataset": ["sharegpt"] | ||
} | ||
} | ||
] | ||
} |
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
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