[Rust][Benchmark] Port in vllm-bench (#48107)

Co-authored-by: Bugen Zhao <i@bugenzhao.com>
Signed-off-by: esmeetu <jasonailu87@gmail.com>
Signed-off-by: Bugen Zhao <i@bugenzhao.com>
This commit is contained in:
Roy Wang
2026-07-17 14:25:29 +08:00
committed by GitHub
co-authored by Bugen Zhao
parent 17fdd42100
commit 9354f22204
45 changed files with 16926 additions and 2 deletions
+53
View File
@@ -2585,6 +2585,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
dependencies = [
"autocfg",
"libm",
]
[[package]]
@@ -3305,6 +3306,16 @@ dependencies = [
"getrandom 0.3.4",
]
[[package]]
name = "rand_distr"
version = "0.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6a8615d50dcf34fa31f7ab52692afec947c4dd0ab803cc87cb3b0b4570ff7463"
dependencies = [
"num-traits",
"rand 0.9.2",
]
[[package]]
name = "rawpointer"
version = "0.2.1"
@@ -3435,6 +3446,7 @@ dependencies = [
"base64 0.22.1",
"bytes",
"encoding_rs",
"futures-channel",
"futures-core",
"futures-util",
"h2",
@@ -3549,6 +3561,15 @@ dependencies = [
"rustc-hash 2.1.1",
]
[[package]]
name = "rlimit"
version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f35ee2729c56bb610f6dba436bf78135f728b7373bdffae2ec815b2d3eb98cc3"
dependencies = [
"libc",
]
[[package]]
name = "rmp"
version = "0.8.15"
@@ -5439,6 +5460,38 @@ version = "0.9.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
[[package]]
name = "vllm-bench"
version = "0.1.0"
dependencies = [
"anyhow",
"base64 0.22.1",
"bytes",
"chrono",
"clap",
"dirs",
"futures",
"hf-hub",
"image",
"indicatif",
"mimalloc",
"rand 0.9.2",
"rand_distr",
"rayon",
"reqwest 0.12.28",
"rlimit",
"rustc-hash 1.1.0",
"serde",
"serde_json",
"thiserror 2.0.18",
"tiktoken-rs 0.9.1",
"tokenizers",
"tokio",
"tokio-stream",
"url",
"uuid",
]
[[package]]
name = "vllm-chat"
version = "0.1.0"