[misc] Add Benchmark Automation Script#73
Merged
zhuofan1123 merged 11 commits intomainfrom Dec 4, 2025
Merged
Conversation
Luis-xu
pushed a commit
to peaceforeverCN/FlexKV
that referenced
this pull request
Dec 26, 2025
* add KVCacheEngineClient APIs * basic implementation for KVCacheEngineClient * initial transfer manager * init transfer handle * init kv engine * refactor kvmanager * update kvmanager * some refactor * kv response * add benchmark * serialize graph * fix bugs * ready check * update * rename * rename benchmark * use numpy instead of tensor * small fix * remove transfer descriptor * rename to kvmanager * update api * add gpu-kvcache-verifier, draft * update * create a new tp-worker process and create gpu blocks for verification * rename * the test_kvmanager works now * fix virtual op initialize * fix verifier bug when tp > 1 and mla enabled * fix * remove task id && some fix * only create one h2d op * pass slotmapping for launch * quick fix --------- Co-authored-by: linhu-nv <linhu@nvidia.com> Co-authored-by: Fei Liang <hanyueh@nvidia.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Add FlexKV Benchmark Automation Script
This PR add an automated benchmark script (run_benchmark.sh) for running vLLM server with FlexKV and executing multi-turn conversation benchmarks. See scripts/README_zh.md.
Key Features
Usage
Output
Generated log files in the log directory:
vllm_server_YYYYMMDD_HHMMSS.logbenchmark_YYYYMMDD_HHMMSS.logvllm_profile_YYYYMMDD_HHMMSS.nsys-rep(if profiling enabled)