Repository navigation
Install AgentX from PyPI and remove the harness submodule - #3940
Conversation
|
Thanks for the contribution!
中文感谢你的贡献!
|
Signed-off-by: Cam Quilici <[email protected]>
|
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 包的改动有更高的代码质量要求。 |
|
Claude finished @cquil11's task in 37s —— View job PR review: install AgentX from PyPI and remove the harness submodule
LGTM - no blocking issues found I found no leftover references to the submodule path or the old |
There was a problem hiding this comment.
I reviewed this PR and didn't find any bugs. Because it swaps the AgentX client from an editable git submodule to a pinned PyPI install across the bootstrap script, docs, and tests, a human look would still be worthwhile.
What was reviewed: the venv.py bootstrap rewrite (uv install args, --no-config scope), the run.py/replay.py/traces.py renames from aiperf to agentx and dropped --scenario agentx flag, the matching test and docs updates, and submodule removal (.gitmodules, utils/aiperf). Checked --no-config disabling more than the targeted exclude-newer cutoff — ruled out as not harmful since the dropped index/source config isn't needed by this venv. Checked the standalone docs' install command dropping the explicit datasets>=4.7.0 pin — ruled out.
Extended reasoning...
The PR replaces a git-submodule-based AgentX client build with a pinned PyPI install (agentx-harness==1.0.7), touching venv bootstrap logic, CLI argv construction, docs, and unit tests across 17 files (~56/55 lines). It touches dependency/package installation (supply-chain-adjacent) but no auth, crypto, or permission code. Code and tests are internally consistent (renames and dropped flags match across run.py, replay.py, venv.py and the three test files), and the two candidate issues investigated this run (uv --no-config scope, dropped datasets pin in standalone docs) were both ruled out, with no outstanding third-party review objections in the timeline.
Signed-off-by: Cam Quilici <[email protected]>
InferenceX replaced its pinned SemiAnalysisAI/aiperf checkout with the agentx-harness release on PyPI (SemiAnalysisAI/InferenceX#3940; 1.0.7 in infx/bench/agentic/requirements.txt). The AtomMesh P/D CI still replayed with aiperf b7b16cf8 (0.12.0, 2026-08-03) and the Kimi-K3 cells with 754356e9, so its AgentX numbers came from a different client than the ones InferenceX publishes. - pd_server_atom.sh installs agentx-harness==$AGENTX_HARNESS_VERSION (default 1.0.7) into $AGENTX_VENV and runs `agentx profile` with the same flags. The scenario defaults to `agentx`; every setting it defaults is already passed explicitly, so it changes no replay setting relative to `inferencex-agentx-mvp`. - pd_submit.sh maps `agentx_harness_version` and `agentx_venv`, and pd_slurm_job.sh forwards AGENTX_* into the container. - models_atomesh.yaml drops the per-cell aiperf commits, so the Kimi-K3 cells run the same client as the rest. - AIPERF_DATASET_WEKA_LIVE_ASSISTANT_RESPONSES is removed: neither b7b16cf8 nor 1.0.7 reads it. Co-Authored-By: Claude Opus 5.5 <[email protected]>
InferenceX replaced its pinned SemiAnalysisAI/aiperf checkout with the agentx-harness release on PyPI (SemiAnalysisAI/InferenceX#3940; 1.0.7 in infx/bench/agentic/requirements.txt). The AtomMesh P/D CI still replayed with aiperf b7b16cf8 (0.12.0, 2026-08-03) and the Kimi-K3 cells with 754356e9, so its AgentX numbers came from a different client than the ones InferenceX publishes. - pd_server_atom.sh installs agentx-harness==$AGENTX_HARNESS_VERSION (default 1.0.7) into $AGENTX_VENV and runs `agentx profile` with the same flags. The scenario defaults to `agentx`; every setting it defaults is already passed explicitly, so it changes no replay setting relative to `inferencex-agentx-mvp`. - pd_submit.sh maps `agentx_harness_version` and `agentx_venv`, and pd_slurm_job.sh forwards AGENTX_* into the container. - models_atomesh.yaml drops the per-cell aiperf commits, so the Kimi-K3 cells run the same client as the rest. - AIPERF_DATASET_WEKA_LIVE_ASSISTANT_RESPONSES is removed: neither b7b16cf8 nor 1.0.7 reads it. Co-Authored-By: Claude Opus 5.5 <[email protected]> (cherry picked from commit 99ebd9e)
… have it (#616) SemiAnalysisAI/InferenceX#3940 (801ae81a) replaced the vendored inferencex-e2e/utils/aiperf submodule with a pinned agentx-harness PyPI release. agentx.sh still ran `git submodule update --init` on that path and required its pyproject.toml, so under `set -euo pipefail` every run against InferenceX main (or any commit after 801ae81a) exited before the benchmark started. Initialize and check the submodule only when the checked-out ref has the gitlink, and log the pinned agentx-harness version otherwise. Refs before #3940 keep fetching the submodule; AGENTX_INFERENCEX_REF and AGENTX_INFERENCEX_REPO_URL behave as before. Signed-off-by: Mikolaj Wieczorek <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
InferenceX replaced its pinned SemiAnalysisAI/aiperf checkout with the agentx-harness release on PyPI (SemiAnalysisAI/InferenceX#3940; 1.0.7 in infx/bench/agentic/requirements.txt). The AtomMesh P/D CI still replayed with aiperf b7b16cf8 (0.12.0, 2026-08-03) and the Kimi-K3 cells with 754356e9, so its AgentX numbers came from a different client than the ones InferenceX publishes. - pd_server_atom.sh installs agentx-harness==$AGENTX_HARNESS_VERSION (default 1.0.7) into $AGENTX_VENV and runs `agentx profile` with the same flags. The scenario defaults to `agentx`; every setting it defaults is already passed explicitly, so it changes no replay setting relative to `inferencex-agentx-mvp`. - pd_submit.sh maps `agentx_harness_version` and `agentx_venv`, and pd_slurm_job.sh forwards AGENTX_* into the container. - models_atomesh.yaml drops the per-cell aiperf commits, so the Kimi-K3 cells run the same client as the rest. - AIPERF_DATASET_WEKA_LIVE_ASSISTANT_RESPONSES is removed: neither b7b16cf8 nor 1.0.7 reads it. Co-Authored-By: Claude Opus 5.5 <[email protected]> (cherry picked from commit 99ebd9e)
InferenceX replaced its pinned SemiAnalysisAI/aiperf checkout with the agentx-harness release on PyPI (SemiAnalysisAI/InferenceX#3940; 1.0.7 in infx/bench/agentic/requirements.txt). The AtomMesh P/D CI still replayed with aiperf b7b16cf8 (0.12.0, 2026-08-03) and the Kimi-K3 cells with 754356e9, so its AgentX numbers came from a different client than the ones InferenceX publishes. - pd_server_atom.sh installs agentx-harness==$AGENTX_HARNESS_VERSION (default 1.0.7) into $AGENTX_VENV and runs `agentx profile` with the same flags. The scenario defaults to `agentx`; every setting it defaults is already passed explicitly, so it changes no replay setting relative to `inferencex-agentx-mvp`. - pd_submit.sh maps `agentx_harness_version` and `agentx_venv`, and pd_slurm_job.sh forwards AGENTX_* into the container. - models_atomesh.yaml drops the per-cell aiperf commits, so the Kimi-K3 cells run the same client as the rest. - AIPERF_DATASET_WEKA_LIVE_ASSISTANT_RESPONSES is removed: neither b7b16cf8 nor 1.0.7 reads it. Co-Authored-By: Claude Opus 5.5 <[email protected]> (cherry picked from commit 99ebd9e)
…ip it in the image (#2576) * ci(atomesh): benchmark AgentX cells with agentx-harness 1.0.7 InferenceX replaced its pinned SemiAnalysisAI/aiperf checkout with the agentx-harness release on PyPI (SemiAnalysisAI/InferenceX#3940; 1.0.7 in infx/bench/agentic/requirements.txt). The AtomMesh P/D CI still replayed with aiperf b7b16cf8 (0.12.0, 2026-08-03) and the Kimi-K3 cells with 754356e9, so its AgentX numbers came from a different client than the ones InferenceX publishes. - pd_server_atom.sh installs agentx-harness==$AGENTX_HARNESS_VERSION (default 1.0.7) into $AGENTX_VENV and runs `agentx profile` with the same flags. The scenario defaults to `agentx`; every setting it defaults is already passed explicitly, so it changes no replay setting relative to `inferencex-agentx-mvp`. - pd_submit.sh maps `agentx_harness_version` and `agentx_venv`, and pd_slurm_job.sh forwards AGENTX_* into the container. - models_atomesh.yaml drops the per-cell aiperf commits, so the Kimi-K3 cells run the same client as the rest. - AIPERF_DATASET_WEKA_LIVE_ASSISTANT_RESPONSES is removed: neither b7b16cf8 nor 1.0.7 reads it. Co-Authored-By: Claude Opus 5.5 <[email protected]> * ci(benchmark): ship agentx-harness 1.0.9 in the image and run every AgentX cell with it InferenceX moved its AgentX client to agentx-harness 1.0.9 (SemiAnalysisAI/InferenceX#4073): every agentic job there installs infx/bench/agentic/requirements.txt into its own venv, and its runs since export aiperf_version 1.0.9. 1.0.9 releases cancelled child turns at the sending cutoff instead of holding the phase open until the grace period. - docker/Dockerfile and docker/atom_release.dockerfile install agentx-harness==1.0.9 into /opt/agentx-venv instead of the aiperf fork at 754356e9 in /opt/venv, and link `agentx` and `aiperf` into /usr/local/bin. The release pins prometheus-client~=0.23.1, pyzmq~=26.4.0 and pandas~=2.3.3, which in /opt/venv would move the server's packages. The ROCm 10 pip check no longer restores prometheus_client after aiperf; the known conflict is atom >=0.25 against lmcache <=0.24.1. - pd_server_atom.sh defaults to 1.0.9 and reuses the image's agentx on an exact version match, installing from PyPI only when it differs. - aiperf_agentic.sh (single node) does the same instead of cloning the fork, runs `agentx profile`, and defaults to the `agentx` scenario, as models_agentic*.json now do. Its locks equal inferencex-agentx-mvp's, and every setting it defaults is passed explicitly. - The bundle reads the harness identity from the agentx-harness distribution: its version, and the commit the wheel records in aiperf/_build_info.py (fbcfc892 = agentx-v1.0.9), so harness_sha stays set for a PyPI install. - AIPERF_DATASET_WEKA_LIVE_ASSISTANT_RESPONSES is dropped from the single-node defaults and the captured keys: 1.0.9 does not read it. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
Install the pinned
agentx-harness==1.0.7PyPI release in each isolated AgentX runtime and invokeagentx profile, which selects the AgentX scenario automatically. Remove the editable submodule and update the installation instructions.Keep client installation independent of the parent project's uv settings so its 12-hour dependency cutoff cannot reject the newly published release. Replay inputs, environment settings, and artifact names remain unchanged. This packaging migration does not publish new performance curves.
Both GPU e2e runs used concurrency 4 and five-minute profiling windows, plus startup and warmup.
Verified both GPU runs captured command logs, raw profiles, aggregated results, dataset provenance, and server metrics. These short runs are diagnostic results.