Several of one GPU: <gpu>/<model>/<N>x-<engine>-<profile>.md with gpus, tp and pp (tp × pp = gpus) and a declared PCIe topology. Different GPUs: mixed/<setup>/, named after its cards, with the same layout as a GPU folder and a generated mixed/README.md. Runs must sit in their recipe's setup folder. Energy, and bandwidth for pipeline parallel or mixed, are left out where bench-standard measures one GPU only; docs/ bench-standard-gaps.md lists those gaps for the benchmarks repo. The wanted lists take the fewest of one GPU a model fits in. Demo: 2x Arc B580 with vLLM TP 2 and llama.cpp layer split for Qwen3.8-27B, -sm row as what lost, and Arc Pro B60 + Arc B580 mixed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
753bdadf7a
commit
976a8b40e5
59 files changed
+39381
-119
No files matched your search
+21
-7
@@ -43,6 +43,7 @@ SPEC_MID = statistics.median(c[2] for c in CATEGORIES.values())
|
||||
GPUS = {
|
||||
"Arc Pro B65": {"vram": "32", "power": "200", "link": "Gen4 x16", "bw": "532", "mhz": 2800},
|
||||
"Arc B580": {"vram": "12", "power": "190", "link": "Gen4 x8", "bw": "401", "mhz": 2850},
|
||||
"Arc Pro B60": {"vram": "24", "power": "200", "link": "Gen5 x8", "bw": "402", "mhz": 2400},
|
||||
}
|
||||
# (model, engine): served id, file, bytes, loaded GiB as vLLM logs it
|
||||
MODELS = {
|
||||
@@ -94,6 +95,15 @@ RUNS = [
|
||||
"decode": 64.0, "ttft": 205, "pp": 1500, "conc": [62, 118, 205, 296], "watts": 170},
|
||||
{"recipe": "arc-b580/qwen3.5-9b/llama.cpp-single-user", "date": "261024",
|
||||
"decode": 48.2, "ttft": 120, "pp": 2500, "conc": [47, 48, 48, 48], "watts": 140},
|
||||
{"recipe": "arc-b580/qwen3.8-27b/2x-vllm-single-user", "date": "261027",
|
||||
"decode": 52.0, "ttft": 260, "pp": 1650, "conc": [51, 51, 52, 52], "watts": 120},
|
||||
{"recipe": "arc-b580/qwen3.8-27b/2x-llama.cpp-single-user", "date": "261027",
|
||||
"decode": 15.9, "ttft": 330, "pp": 620, "conc": [15, 16, 16, 16], "watts": 95},
|
||||
{"recipe": "arc-b580/qwen3.8-27b/2x-llama.cpp-single-user", "date": "261027", "quick": True,
|
||||
"sub": [("-sm layer", "-sm row")], "declare": {"tp": 2, "pp": 1},
|
||||
"decode": 11.8, "ttft": 410, "pp": 480, "conc": [11, 12, 12, 12], "watts": 88},
|
||||
{"recipe": "mixed/1x-arc-b580_1x-arc-pro-b60/qwen3.8-27b/llama.cpp-single-user", "date": "261028",
|
||||
"decode": 16.4, "ttft": 300, "pp": 680, "conc": [16, 16, 16, 16], "watts": 110},
|
||||
{"recipe": "arc-pro-b65/qwen3.8-27b/vllm-single-user", "date": "261026", "submitter": "demo-2",
|
||||
"decode": 82.1, "ttft": 196, "pp": 1490, "conc": [81, 81, 82, 82], "watts": 175},
|
||||
]
|
||||
@@ -210,13 +220,17 @@ def make(run, bench, ids):
|
||||
declared = {k: front[k] for k in ("quant", "kv", "spec", "thinking")} | run.get("declare", {})
|
||||
quick = run.get("quick", False)
|
||||
submitter = run.get("submitter", "demo")
|
||||
gpu, engine = GPUS[front["gpu"]], ENGINES[front["engine"]]
|
||||
names = front["gpu"] if isinstance(front["gpu"], list) else [front["gpu"]] * int(front.get("gpus", 1))
|
||||
home, gpu_model, _ = cookbook.setup(front["gpu"], len(names))
|
||||
# bench.sh reads PCIe, power and bandwidth from the first GPU only
|
||||
gpu, engine = GPUS[names[0]], ENGINES[front["engine"]]
|
||||
served, mfile, mbytes, loaded = MODELS[(front["model"], front["engine"])]
|
||||
tp, pp = (str(run.get("declare", {}).get(k, front.get(k, 1))) for k in ("tp", "pp"))
|
||||
sha = next(l.split("\t")[3].strip() for l in (bench / "dev" / "models.tsv").open()
|
||||
if l.startswith(front["model"] + "\t") and f"\t{front['quant']}\t" in l)
|
||||
|
||||
slug = cookbook.slug
|
||||
name = f"{slug(served)}_{slug(front['engine'])}_1x-{slug(front['gpu'])}"
|
||||
name = f"{slug(served)}_{slug(front['engine'])}_{int(tp) * int(pp)}x-{slug(gpu_model)}"
|
||||
rid = f"{run['date']}_{slug(submitter)}_{name}" + ("_quick" if quick else "")
|
||||
base, i = rid, 1
|
||||
while rid in ids:
|
||||
@@ -230,7 +244,7 @@ def make(run, bench, ids):
|
||||
t0 = 1792000000 + int(run["date"]) % 1000 * 86400 + 36000 + (i - 1) * 7200
|
||||
endpoint = f"http://localhost:{engine['port']}/v1"
|
||||
|
||||
mandatory = {"submitter": submitter, "tp": "1", "pp": "1", **declared,
|
||||
mandatory = {"submitter": submitter, "tp": tp, "pp": pp, **declared,
|
||||
"power_limit": gpu["power"], "power_limit_source": "detected",
|
||||
"special_notes": "DEMO DATA: synthetic, made by tools/demo/make_demo.py, not measured",
|
||||
"betterbench": "0.6.1", "betterbench_build": "v0.6.1", "bench_standard": "0.5.0",
|
||||
@@ -239,7 +253,7 @@ def make(run, bench, ids):
|
||||
"power_limit", "power_limit_source", "special_notes",
|
||||
"betterbench", "betterbench_build", "bench_standard",
|
||||
"run_mode", "concurrency")}
|
||||
collected = {"gpu_vendor": "intel", "gpu_model": front["gpu"], "gpu_count": "1",
|
||||
collected = {"gpu_vendor": "intel", "gpu_model": gpu_model, "gpu_count": str(len(names)),
|
||||
"gpu_vram_gb": gpu["vram"], "gpu_driver": "1.17.39395", "gpu_power_limit_w": gpu["power"],
|
||||
"gpu_bdf": "0000:03:00.0", "pcie_link": gpu["link"], "pcie_max": gpu["link"], "rebar": "on",
|
||||
"cpu_model": "AMD Ryzen 7 7700", "ram_gb": "64", "os": "Ubuntu 26.04 LTS",
|
||||
@@ -248,13 +262,13 @@ def make(run, bench, ids):
|
||||
"engine_image": engine["image"], "model_file": mfile, "model_bytes": str(mbytes),
|
||||
"model_sha256": sha, "ctx": str(ctx), "gpu_mem_bw_gbs": gpu["bw"],
|
||||
"gpu_mem_bw_tool": "torch copy, random, 1024 MiB"}
|
||||
if loaded:
|
||||
collected["model_loaded_gib"] = loaded
|
||||
if loaded: # vLLM logs the weights per worker
|
||||
collected["model_loaded_gib"] = f"{float(loaded) / int(tp):.2f}"
|
||||
measured = {"greedy_check": "identical", "greedy_runs": "3",
|
||||
"greedy_hash": hashlib.sha256(f"{front['model']}{front['quant']}".encode()).hexdigest()[:12],
|
||||
"greedy_reasoning": "yes"}
|
||||
|
||||
d = ROOT / cookbook.slug(front["gpu"]) / "results" / rid
|
||||
d = ROOT / home / "results" / rid
|
||||
shutil.rmtree(d, ignore_errors=True)
|
||||
d.mkdir(parents=True)
|
||||
with tempfile.TemporaryDirectory() as tmp:
|
||||
|
||||
Reference in new issue
Block a user