Continue the prefill-only investigation for /user4813494d/openbmb. Do NOT discuss…
- User
Continue the prefill-only investigation for /user_4813494d/openbmb. Do NOT discuss speculative decoding, EAGLE, or decode. Focus only on main speed-test prefill workload shape, especially bench/data_full 524K prompts, toolkit/bench_serving behavior, tokenizer/truncation/max model len/server limits, chunk scheduler behavior, and what actually constitutes 'main test prefill'. Read local files only. Return concrete file refs, commands, and unresolved risks. Do not edit files.
- Assistant
I’ll inspect the local repo only, starting with the speed-test and benchmark paths plus tokenizer/server length handling. I won’t edit files.
- Assistant
The tree is dirty and
bench/data_full/is untracked, so I’ll treat the benchmark data and scripts as current local state without changing anything. The first broad search was noisy, so I’m narrowing to benchmark data, serving benchmark scripts, and SGLang request-length/scheduler code. - Assistant
bench/data_fullhas 12, 36, and 96 requests respectively; the first rows already show the storedprompt_tokensandcompletion_tokens. I’m now checking whether those token counts are trusted by the local harness or whether text is retokenized/truncated at send time. - Assistant
There’s an important local-data wrinkle:
speed_bench_c1.jsonlparses as line-delimited JSON, but the first parse pass hit malformed line-delimited records in the larger files. Sincetoolkit/bench_serving.shalso reads one physical line at a time withjson.loads(line), I’m checking whether this is an actual harness blocker or just a stats-script issue. - Assistant
The official-style wrapper converts each row to a two-turn
conversationsobject, thensglang.bench_servingretokenizes both the prompt andmodel_response. That means the storedprompt_tokensfields are descriptive only; the benchmark’s actual filter and request sizes come from local tokenizer behavior. - Assistant
The server has two length gates: an early tokenizer-side check against model context length, then a scheduler-side check against the smaller of model context and token-pool capacity minus safety margin. I’m going to verify the actual local tokenizer counts for
bench/data_fullif the model tokenizer is present. - Assistant