Repository navigation
Description
Thanks for PR #3: the PyTorch reference now honors ignore_eos, so a run's server and reference generate the same work. This issue is about the published numbers, which as far as we can tell were not measured the way either the old or the new harness measures.
Summary
The paper's Scenario C table reproduces only when outputs stop at EOS on both sides, while the released harness (before and after PR #3) forces every server to the drawn length. The B column looks measured with forced lengths. So the tables appear to mix output length regimes across scenarios, and runs on the current harness are compared against numbers produced under different conditions.
1. The vLLM default C row reproduces only with outputs stopping at EOS
The paper's vLLM default row reads 48.69x on C (6.43 req/s against the 0.132 req/s reference). On one H100 80GB SXM, upstream harness at 24cdf88, seed 248, vLLM launched exactly as precompute_all_baselines.py launches it (vllm.entrypoints.openai.api_server --max-model-len 32768 --tokenizer-mode auto, GPU memory utilization 0.7 instead of 0.9, which leaves far more KV cache than C needs):
| Server | Output length | Words per request | C speedup | burst / poisson / constant req/s |
|---|---|---|---|---|
| vLLM 0.11 default | forced (ignore_eos as sent) |
566 | 24.46x | 4.97 / 3.40 / 1.99 |
| vLLM 0.32 default | forced | 567 | 27.96x | 5.82 / 3.87 / 2.23 |
| vLLM 0.11 default | stops at EOS (ignore_eos cleared in the requests file) |
239 | 50.06x | 9.01 / 7.22 / 4.44 |
| paper, vLLM default row | 48.69x |
The paper's row matches vLLM stopping at EOS, at about the same output length as the PyTorch reference (about 250 words per request), and is about 2x what the harness produces with lengths forced. Our PyTorch reference on C (0.146 req/s) is slightly faster than the paper's, so hardware does not explain the gap.
2. The B column looks forced
Measured the same way (requests file with ignore_eos cleared), one tuned vLLM 0.32 server per scenario:
| Scenario | Lengths forced | Stops at EOS | Words per request, EOS |
|---|---|---|---|
| B | 18.72x | 8.89x | 329 |
| C | 53.81x | 104.79x | 239 |
| D | 5.84x | 7.47x | 303 |
B halves when outputs stop at EOS, because speculative decoding feeds on the repetitive text generated past EOS. The published B numbers (vLLM SMAC 15.23x) exceed what the HPO baseline's own best B config reaches on this card even with forced lengths (12.99x), so B looks measured with forced lengths while C looks measured with outputs stopping at EOS.
3. After PR #3 there are three regimes in circulation
| Numbers | Server under test | PyTorch reference |
|---|---|---|
| Paper tables, C (and likely D) | stops at EOS | stops at EOS |
| Leaderboard rows and any run before PR #3 | forced | stops at EOS |
| Runs on the harness after PR #3 | forced | forced |
The same server gets a different C speedup in each. For vLLM 0.11 default on C: 50.06x stopping at EOS, 24.46x on the harness before PR #3, and with the reference forced (we measured the reference slowing by 2.30x and 2.55x on two seeds when forced to full length) roughly 56x to 62x after PR #3. D moves the same way by about 1.65x and B by 1.09x to 1.18x; A does not depend on output length.
Requests
- State which output length regime each scenario's table used.
- Rescore the leaderboard rows and the paper's baselines under PR Prepare public release #3, or mark them as measured before it, so new submissions are not ranked against numbers measured another way.
- Record the harness commit with each leaderboard row.
Reproduction
Upstream harness at 24cdf88, unmodified except where stated. The EOS regime clears ignore_eos in the requests file (INFERENCE_BENCH_REQUESTS_FILE); nothing else changes. Words per request come from model_output in the generation logs:
import json
import statistics
import sys
rows = [json.loads(line) for line in open(sys.argv[1])]
words = [len((row.get("model_output") or "").split()) for row in rows]
print(len(words), round(statistics.mean(words)), statistics.median(words))The forced reference factor: the reference server unchanged except min_new_tokens=max_new_tokens passed to generate, first 32 requests of each C profile, C 0.175 to 0.076 req/s on seed 428 and 0.193 to 0.076 on seed 1337.
Activity