Repository navigation
v0.7.1
What's Changed
π Features
- #563 Add
numeric/expression(@Bslabe123) - #722 feat: add cgroup-aware CPU count helper for default concurrency (@henrichter)
- #740 Wire runtime metrics into the run, add the first metric set, and render the progress bars from it (@Bslabe123)
- #768 feat(loadgen): bound a session-replay stage by duration (@pavanipenumalla)
- #779 feat(datagen): add ShareGPT output format to synthetic_agentic_to_replay_graph.py (@shaigrt)
- #786 Rename stage timeout to max_stage_duration; report and account for incomplete sessions (@shaigrt)
- #814 feat(tools): convert vllm bench and aiperf argv into configs (@rishabhsinha17)
- #819 feat(metrics): add bearer_token and verify_ssl to Prometheus client (@anandanmol1010)
- #820 feat(datagen): support wire-captured traces and lazy local trace loading (@lenadankin)
- #840 feat: support the embeddings API (@felpau05)
- #847 feat: support the rerank API (@dlanov)
- #850 feat(sglang): support the embeddings API (@felpau05)
- #854 Expose the runtime metrics endpoint in the Helm chart and deploy manifest (@Bslabe123)
- #857 feat(datagen): add support for replaying TraceLab agentic traces (@anandanmol1010)
- #873 feat(reportgen): emit request size and media metrics in BR partials (@k21993)
- #874 Add opt-in per-stream session IDs for Weka subagents (@sheldon-lang)
- #884 Make the runtime metrics endpoint opt-in (@Bslabe123)
- #889 feat(reportgen): populate results.session_performance in BR0.2 partials (@franitel)
- #898 Report request session IDs in lifecycle metrics (@sheldon-lang)
- #900 feat(trace-replay): replay recorded images as images (@alonh)
- #915 feat(trace-replay): read zstd-compressed trace files (.json.zst, .jsonl.zst) (@elronbandel)
- #919 Add PromQL-style measured terms to expressions (@Bslabe123)
- #946 Support multimodal output in reports and /metrics (@Bslabe123)
- #1021 Wait for model server readiness before the run starts (@0z5a)
- #1040 Report per-stage server metrics in the BR0.2 partial (@sohom-cs)
- #1049 feat(observability): keep /metrics up after the run ends (@404Avinash)
- #1050 feat(config): default conversation replay concurrency to num_conversations (@anandanmol1010)
- #1061 feat: support SGLang's native /generate API (@sohom-cs)
- #1062 Type sympy values and add expression helpers (@Bslabe123)
- #1077 feat(client): add server.wait_for for runs against a pool scaled to zero (@sohom-cs)
- #1085 Build token timeline from returned token ids (@Bslabe123)
- #1090 Report the stage drop rate in the BR0.2 partial (@sohom-cs)
- #1101 feat(analysis): add labels, rate axis and latency stat to --analyze (@felpau05)
- #1103 Read OTel and wire traces directly from S3-compatible object storage (@alonh)
- #1107 feat(reportgen,api): add per-request deadline SLO header and submitted attainment metrics (@jtechapps)
- #1109 feat(client): add an OpenAI Batch API input writer and client (@bhargavchintam)
- #1113 datagen: support chat API for random and synthetic (@dlanov)
- #1115 feat(loadgen): add load.type batch to run stages through the OpenAI Batch API (@bhargavchintam)
π Bug Fixes
- #542 Validate unary response bodies (@Bslabe123)
- #692 get_data: add return after each yield-from branch (@0x5t4l1n)
- #694 fix: count reasoning tokens in TTFT, TPOT and ITL; add time to first output token (@Bslabe123)
- #701 fix: keep one session object per id in conversation_replay (@alonh)
- #744 fix: record a 200 that carries an error payload or nothing as a failure (@Bslabe123)
- #781 fix: parse valid SSE line endings and data fields (@git-jxj)
- #783 fix(datagen): preserve fractional media insertion positions (@git-jxj)
- #784 fix(client): authenticate model discovery requests (@git-jxj)
- #785 fix(metrics): use the discovered model in selectors (@git-jxj)
- #788 fix(config): redact credentials from the logged and saved config (@Neilblaze)
- #793 fix(datagen): make streaming dataset generators survive a pickle round trip (@k21993)
- #796 fix(datagen): preserve shared-prefix multi-turn sessions (@git-jxj)
- #811 fix(datagen): bound dataset loading with a configurable deadline (@k21993)
- #815 fix(metrics): retry underscore-escaped Prometheus names (@git-jxj)
- #827 fix(reportgen): write session_id into the per-request lifecycle report (@zetxqx)
- #839 fix(reportgen): include stage and schedule in per-request reports (@k21993)
- #841 Fix/tiered tool call token expansion (@lenadankin)
- #842 fix(metrics): address prometheus auth review follow-ups (@anandanmol1010)
- #845 fix(metrics): report failed Prometheus queries as missing instead of 0.0 (@anandanmol1010)
- #846 fix(reportgen): flag ambiguous all-zero kv cache readings via validation.json warning (@anandanmol1010)
- #851 fix(client): drop embedding vectors from stored response bodies (@felpau05)
- #859 Report requests cancelled at stage teardown (@Bslabe123)
- #875 fix(trace-replay): support streaming Chat Completions responses (@lenadankin)
- #887 fix: drain every queued request so the process can exit after a stage is torn down (@dinhxuanvu)
- #888 fix: use client output_len and preserve Anthropic server_usage (@anandanmol1010)
- #891 fix: report whether a stage's dropped_requests is exact (@dinhxuanvu)
- #893 fix: send chat requests for text-only shared_prefix with api.type chat (@dinhxuanvu)
- #895 fix: stop a run on SIGTERM the way SIGINT does (@dinhxuanvu)
- #897 fix(deploy): read the HF token from token.hfToken in the Secret template (@dinhxuanvu)
- #901 fix(loadgen): avoid holding worker permits during dependency waits (@lenadankin)
- #905 Drop scheduled-ahead requests during stage teardown (@sheldon-lang)
- #907 fix(synthetic_agentic): wire theme system prompt, rotate tools, vary filler (@shaigrt)
- #914 fix: count tool output in client metrics (@k21993)
- #924 fix(datagen): schedule conversation replay turns by readiness (@anandanmol1010)
- #932 fix: send every planned request of a stage when num_workers = 0 (@AnKiT-GaRG2)
- #934 Bound ShareGPT memory use across repeated dataset passes (@adityamukesh)
- #1007 Fix exact-length prompt generation oscillating when tokens merge (@AnKiT-GaRG2)
- #1008 Fix duplicate .zst trace loading and make zstd import lazy (@AnKiT-GaRG2)
- #1009 circuit-breaker: report JMESPath evaluation errors once per expression (@AnKiT-GaRG2)
- #1010 fix: keep the response text verbatim in multi-turn history (@sohom-cs)
- #1026 Send tool schemas unchanged by default; add opt-in api.clean_tool_schemas (@shaigrt)
- #1031 fix: mark truncated session spans without errors (@sheldon-lang)
- #1037 Use request completion times for circuit-breaker windows (@samarthya-06)
- #1051 fix(datagen): cover full conversation_replay pool below concurrency (@anandanmol1010)
- #1054 Fail the readiness wait at once on 401 and 403 (@VISHNU0906)
- #1055 fix(reportgen): calculate achieved rate using send intervals (@iamanjali1003)
- #1057 fix(reportgen): report null cache hit percent when zero queries recorded (@404Avinash)
- #1058 fix(utils): allow inference_perf to import on Windows (@anandanmol1010)
- #1081 Keep teardown-cancelled requests out of the throughput window (@brent-srg)
- #1089 fix(config): avoid deprecated timeout read when unset on TraceSessionReplayLoadStage (@404Avinash)
- #1091 Log the first failed startup probe at info (@VISHNU0906)
- #1094 Keep only single-token ids in the shared-prefix word-start pool (@VISHNU0906)
- #1098 Size shared-prefix suffixes exactly on tokenizers without word starts (@VISHNU0906)
- #1106 Fail replayed chat turns whose 200 response is not a completion (@sohom-cs)
- #1114 fix(reportgen): align per-request output token provenance (@anandanmol1010)
π Documentation
- #760 docs: troubleshooting guide for interpreting anomalous results (@Bslabe123)
- #802 Recommend metrics-only per_request_fields for weka trace replay (@zetxqx)
- #812 Document server auto-detection as the default for model_name and tokenizer (@Xiaoyu-hub)
- #869 Add AGENTS.md with the done-condition for a change (@Bslabe123)
- #933 Write down the runtime metric promotion policy (@Bslabe123)
- #954 Document that SGLang aliases need a pinned tokenizer path (@Xiaoyu-hub)
- #1020 Expand AGENTS.md into a full contributor guide for coding agents (@shaigrt)
- #1071 docs: update achieved_rate wording to reflect send intervals (@iamanjali1003)
- #1119 docs(config): mark load.type batch as experimental (@bhargavchintam)
β‘οΈ Performance
- #806 perf(metrics): optimize multiprocess metric collection (@mauriciopoppe)
- #807 perf: fast-path standalone frames and bytearray buffer draining (@mauriciopoppe)
- #808 perf: fast-path chunk text extraction and bounded token caching (@mauriciopoppe)
- #1097 Re-tokenize the shared-prefix word-start candidates in one batched call (@VISHNU0906)
π§ͺ Testing & CI
- #677 test: cover multi-turn session turn serialization and transcript semantics (@Bslabe123)
- #704 test: in-process unit tests for the load generator execution core (@Bslabe123)
- #733 test: assert reported load metrics against known inputs (@Bslabe123)
- #734 test: pin reported latency metrics to injected values (@Bslabe123)
- #735 Assert delivered load matches config; split concurrency_level over pinned workers (@Bslabe123)
- #736 test: side-by-side offered-load parity against vllm bench (@Bslabe123)
- #737 test: catch SGLang and TGI metric-name drift (@Bslabe123)
- #738 test: bounded termination and outage recovery (@Bslabe123)
- #739 test: worker count matrix and collector equivalence (@Bslabe123)
- #761 test: cover the Prometheus query execution and collection flows (@Bslabe123)
- #804 Drop the release prefix from release name and notes (@achandrasekar)
- #877 fix: make check:cov pass if uncovered lines count doesn't increase (@Bslabe123)
- #881 ci: add a mutation ratchet for changed functions (@Bslabe123)
- #883 ci: check formatting in validate instead of rewriting files (@AnKiT-GaRG2)
- #908 [URGENT] skip known-bad vLLM releases in the e2e tests (@Bslabe123)
- #916 Run the Hub ShareGPT e2e cases one at a time (@Bslabe123)
- #926 test: cover circuit breaker behavior and reset trigger state (@dlanov)
- #936 Run the pre-push type check with the CI command (@adityamukesh)
- #939 test(e2e): state each CONDITIONALLY_EXPOSED vLLM metric's gate (@AnKiT-GaRG2)
- #944 Add one-token TTFT tests (@Bslabe123)
- #955 e2e: cover the documented model and tokenizer auto-detection (@Xiaoyu-hub)
- #1004 [URGENT] ci: scope the mutation ratchet to the tests a PR could weaken (@Bslabe123)
- #1023 Make the mutation ratchet advisory (@Bslabe123)
- #1027 Stop calling vllm bench poisson in the parity test (@Bslabe123)
- #1029 Give the mutation step its own timeout (@Bslabe123)
- #1035 Cap each mutant's memory in the mutation ratchet (@Bslabe123)
- #1043 Add type-escape ratchet (@Bslabe123)
- #1059 test(e2e): cover conversation_replay across three stage boundaries (@anandanmol1010)
- #1063 fix: accept license headers the check wrongly rejected (@k21993)
- #1066 End processes a mutant's tests fork (@Bslabe123)
- #1075 ci: enforce license headers on tracked Python files (@samarthya-06)
- #1078 Run every workflow step with pipefail (@Bslabe123)
- #1116 test(reportgen): pin per-request output token counts (@anandanmol1010)
π§Ή Refactoring & Maintenance
- #526 cleanup: Start load generator workers with forkserver instead of fork (@Bslabe123)
- #871 refactor: depend on llmd-benchmark-report for BR0.2 (@Bslabe123)
- #935 Address the review items left on #919 (@Bslabe123)
- #1068 circuit-breaker: store HitSample.ts as float seconds (@404Avinash)
π§ Dependencies
- #1013 Bump llm-d-inference-sim to v1.0.0 (@Bslabe123)
- #1014 Bump guidellm to 0.8.1 (@Bslabe123)
- #1015 Bump transformers to 5.22.1 (@Bslabe123)
- #1018 Bump the vLLM CPU release rows to v0.33.0 (@Bslabe123)
π₯ Governance
- #1024 Add rishabhsinha17 to inference-perf-reviewers (@Bslabe123)
π¦ Release
- #1127 Bump release artifacts to v0.7.1 (@Bslabe123)
Contributors
@0x5t4l1n, @0z5a, @404Avinash, @achandrasekar, @adityamukesh, @alonh, @anandanmol1010, @AnKiT-GaRG2, @bhargavchintam, @brent-srg, @Bslabe123, @dinhxuanvu, @dlanov, @elronbandel, @felpau05, @franitel, @git-jxj, @henrichter, @iamanjali1003, @jtechapps, @k21993, @lenadankin, @mauriciopoppe, @Neilblaze, @pavanipenumalla, @rishabhsinha17, @samarthya-06, @shaigrt, @sheldon-lang, @sohom-cs, @VISHNU0906, @Xiaoyu-hub, @zetxqx
Reviewers
@achandrasekar, @alonh, @animeshtrivedi, @Bslabe123, @jjk-g, @kaushikmitr, @lenadankin, @oritht, @rishabhsinha17, @ruocco, @SachinVarghese, @sheldon-lang, @yangligt2
New Contributors
- @0x5t4l1n made their first contribution in #692
- @Neilblaze made their first contribution in #788
- @k21993 made their first contribution in #793
- @mauriciopoppe made their first contribution in #808
- @Xiaoyu-hub made their first contribution in #812
- @anandanmol1010 made their first contribution in #819
- @felpau05 made their first contribution in #840
- @dlanov made their first contribution in #847
- @sheldon-lang made their first contribution in #874
- @AnKiT-GaRG2 made their first contribution in #883
- @dinhxuanvu made their first contribution in #887
- @franitel made their first contribution in #889
- @adityamukesh made their first contribution in #936
- @sohom-cs made their first contribution in #1010
- @0z5a made their first contribution in #1021
- @samarthya-06 made their first contribution in #1037
- @404Avinash made their first contribution in #1049
- @VISHNU0906 made their first contribution in #1054
- @iamanjali1003 made their first contribution in #1055
- @brent-srg made their first contribution in #1081
- @jtechapps made their first contribution in #1107
- @bhargavchintam made their first contribution in #1109
Full Changelog: v0.7.0...v0.7.1
Docker Image
quay.io/inference-perf/inference-perf:v0.7.1
Python Package
pip install inference-perf==v0.7.1
Helm Chart
helm install inference-perf oci://quay.io/inference-perf/charts/inference-perf