Repository navigation
Conversation
Remove the AgentX server-metric backends, server_metrics normalization, and server-log parsing from the e2e result processor. The AgentX aggregate now carries request metrics only and no longer emits server_metrics, kv_cache_pool_tokens, or server-metric warnings. Raw server_metrics_export.* files, server logs, and profile exports are still collected and uploaded unchanged; InferenceX-app derives cache hit rates, KV usage, token totals, and KV pool size from them.
|
Generally most InferenceX submissions don't need to add changes to the infx package. On the off chance they do, generally the diff is small. Please prompt your agent to clean your PR to keep your diff to only necessary & minimal changes too. We have an increased code quality bar for changes to the infx package. 中文大多数 InferenceX 提交通常不需要修改 infx 包。即使确实需要,改动通常也很小。请让你的 agent 清理 PR,使改动只包含必要且最小的内容。infx 包的改动有更高的代码质量要求。 |
There was a problem hiding this comment.
Beyond the inline findings list, I also checked that no remaining code in inferencex-e2e references the removed modules (server_metrics.py, backends/, the artifacts.py loaders, or the common.py helpers) — grep across infx/ shows all references are confined to the deleted files and their tests, so this is a clean removal with no dangling imports.
Extended reasoning...
The diff is a large mechanical deletion (~2285 lines removed) of AgentX server-metrics aggregation code, backend log parsers, and their tests from inferencex-e2e, with matching doc updates; it touches no auth/crypto/permission surface. The behavior change (aggregate no longer carries server_metrics/kv_cache_pool_tokens/warnings) is intentional per the PR description and is coordinated with a companion app-side PR that must land first, which is a cross-repo sequencing decision worth a human's explicit sign-off rather than pure code correctness.
|
This pull request has had no activity (commits, comments, reviews or other updates) for more than 30 days, so it is being closed automatically. Reopen it if it is still needed. |
Summary
inferencex-e2eno longer aggregates server metrics or parses server logs for AgentX results. Raw collection is unchanged: the AIPerf scrape exports (server_metrics_export.*) and server logs are still collected and uploaded. The aggregate no longer carriesserver_metrics,kv_cache_pool_tokens, or the parserwarnings.infx/results/agentic/server_metrics.py, the per-enginebackends/log parsers, the scrape/log loaders inartifacts.py, and dead helpers incommon.py, with their tests.build_resultandprocess_agentic_resultno longer load scrapes or logs.architecture.md,results-and-ingestion.md) describe the app as the owner of these metrics.The app now derives these metrics from the raw artifacts, correctly per framework and disaggregated role, and ignores producer values in old artifacts: SemiAnalysisAI/InferenceX-app#1320.
Land together: merge InferenceX-app#1320 first and recompute prod, then this PR. Results produced after this PR get their server metrics at app ingest.
Validation
All 2,897 stored AgentX rows recomputed by the app derivation on a Neon fork of prod; all 238 KV-pool values the prod audit flagged wrong are now corrected or NULL. Details in InferenceX-app#1320.