Skip to content

[Klaud Cold] Delete 53 unused legacy single-node AgentX scripts from benchmarks/single_node/agentic - #3460

Merged
functionstackx merged 1 commit into
mainfrom
klaud/delete-unused-single-node-agentic-scripts
Sep 26, 2026
Merged

functionstackx merged 1 commit into
mainfrom
klaud/delete-unused-single-node-agentic-scripts

Conversation

@functionstackx

Copy link
Copy Markdown
Collaborator

Summary

#3428 moved single-node AgentX onto native srt-slurm, so AgentX configs are declarative YAML recipes under benchmarks/single_node/srt-slurm-recipes/*/*/*/agentic.yaml. This deletes the 53 legacy scripts in benchmarks/single_node/agentic/ that no master config reaches any more (−9,528 lines).

Kept (still referenced)

The folder is not deleted outright. These nine scripts are still reached by master-config search-space entries that have no srt-recipe: yet, so deleting them would break those sweeps:

Script Config key(s) still using it
dsv41flash_fp4_mi355x_atom_mtp.sh dsv41flash-fp4-mi355x-atom-agentic-dspark
glm5.2_fp4_mi355x_atom_mtp.sh glm5.2-fp4-mi355x-atom-agentic-mtp
kimik3_fp4_mi355x_atom_mtp.sh kimik3-fp4-mi355x-atom-agentic-mtp
kimik3_fp4_mi355x_mtp.sh kimik3-fp4-mi355x-vllm-agentic-mtp
minimaxm3_fp4_mi355x_atom_mtp.sh minimaxm3-fp4-mi355x-atom-agentic-mtp
minimaxm3_fp4_mi355x_mtp.sh minimaxm3-fp4-mi355x-vllm-agentic-mtp
qwen3.5_fp4_b300_sglang_mtp.sh qwen3.5-fp4-b300-sglang-agentic-power-ab
qwen3.5_fp8_b300_sglang_mtp.sh qwen3.5-fp8-b300-sglang-agentic-power-ab
qwen3.8next_fp8_h100_mtp.sh qwen3.8next-fp8-h100-sglang-agentic-mtp

Also kept: install_h100_block32_configs.py, install_h200_block32_configs.py and kernel_configs/, which the multi-node dsv41flash-h{1,2}00-block32.sh srt-slurm configs load; and README.md, now marked as legacy and telling porters to delete each remaining script once its config moves to a recipe.

How "unused" was determined

For every single-node agentic-coding search-space entry without srt-recipe:, resolve the script the SKU launcher selects ({model-prefix}_{precision}_{sku}_{framework}[_mtp].sh, falling back to the untagged name), plus anything those scripts source from this folder. Everything else in the folder is deleted. The remaining references to deleted names are code comments, docs, and configs/deprecated/; none are executed.

Test plan

  • utils/test_srt_single_node.py + utils/matrix_logic: 382 passed, 14 failed — identical failure set on main (all mapfile: command not found from macOS bash 3.2 in the pool-launcher tests; unrelated).
  • No config or perf-changelog.yaml change, so no sweep is triggered.

🤖 Generated with Claude Code

…benchmarks/single_node/agentic

#3428 moved single-node AgentX onto native srt-slurm recipes. Delete every
script in benchmarks/single_node/agentic that no master config reaches any
more. Keep the nine scripts still reached by search-space entries without an
srt-recipe, plus the H100/H200 block32 installers and kernel_configs that the
multi-node DeepSeek-V4.1-Flash recipes use. The README now marks the folder
as legacy.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

Thanks for the contribution!

  • Review: If this PR changes files owned by someone other than a repository admin or @SemiAnalysisAI/core, ask one eligible CODEOWNER to complete the latest PR_REVIEW_CHECKLIST.md before contacting a core maintainer on Slack. Follow the template exactly, including As a PR reviewer and CODEOWNER, I have reviewed this and have, so sign-off verification triggers.
  • PR verification: Sweeps only run on labeled PRs. Add full-sweep-fail-fast (strongly recommended); use full-sweep-enabled only when matrix jobs should continue after a failure.
  • After merging: PR authors must ensure all GitHub Actions jobs pass. Transient failures often pass on rerun; see how to rerun failed jobs.
中文

感谢你的贡献!

  • **审阅:**如果 PR 修改的文件归属于仓库管理员及 @SemiAnalysisAI/core 之外的 CODEOWNER,请先联系一位有资格的 CODEOWNER 填写最新的 PR_REVIEW_CHECKLIST.md,再通过 Slack 联系核心维护者。必须严格遵循模板,并保留 As a PR reviewer and CODEOWNER, I have reviewed this and have,才能触发签核验证。
  • **PR 验证:**扫描仅在带有标签的 PR 上运行。强烈建议添加 full-sweep-fail-fast;仅当需要矩阵任务在失败后继续运行时才使用 full-sweep-enabled。
  • **合并后:**PR 作者必须确保所有 GitHub Actions 任务通过。临时性失败通常可以通过重新运行恢复;参见重新运行失败任务的说明。

@functionstackx
functionstackx merged commit d0630a2 into main Sep 26, 2026
6 checks passed
@functionstackx
functionstackx deleted the klaud/delete-unused-single-node-agentic-scripts branch September 26, 2026 06:09

@claude claude Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nothing blocking. The comments below are optional suggestions. There is no need to push a fix for them before merging.

Beyond the inline findings, I also checked whether any active master-config search-space entry still references one of the 52 deleted scripts or check_dsv4_dspark_checkpoint.py — none do (the only remaining reference to the checkpoint script is a historical perf-changelog.yaml entry), and the nine scripts the PR description says are still reached by unported search-space entries are indeed still present in the directory.

Extended reasoning...

Searched configs/*.yaml for the deleted script and checkpoint-script filenames (no active references found) and confirmed the nine "kept" scripts plus install_h100/h200_block32_configs.py remain in the directory, consistent with the PR description's claim that no active sweep is broken by the deletion.


**MVP / experimental.** Nothing in this directory is an official InferenceX
benchmark. Results are not published on https://inferencex.com and are not
intended to be cited.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 (optional) This commit deletes 52 retired agentic scripts and check_dsv4_dspark_checkpoint.py outright instead of moving them to a sibling deprecated/ directory, breaking AGENTS.md's archival convention that the repo already follows elsewhere. AGENTS.md:60 says retired benchmark scripts move into a sibling deprecated/ directory, not get deleted, once no active config uses them; benchmarks/multi_node/deprecated/ and benchmarks/single_node/fixed_seq_len/deprecated/ hold 129+ files under this same rule. Fix: create benchmarks/single_node/agentic/deprecated/ and git-mv the 52 scripts plus check_dsv4_dspark_checkpoint.py there instead of removing them, matching the established pattern and preserving launch-flag/perf history for future reference.

Why this was flagged

AGENTS.md:60 requires retired scripts to move into a sibling deprecated/ directory once no active config uses them, not be deleted; the repo already applies this at benchmarks/multi_node/deprecated/ and benchmarks/single_node/fixed_seq_len/deprecated/. This commit instead git-rm's all 52 scripts and check_dsv4_dspark_checkpoint.py under benchmarks/single_node/agentic/ with no deprecated/ subdirectory created, unlike every other retirement in this repo. A maintainer who later needs the historical launch flags, kernel tuning, or perf context for these configs — preserved for every other retired script in the repo — cannot recover it, only via old git history rather than the browsable deprecated/ location the convention establishes.

Verification: nit. Factual claim holds: AGENTS.md:60 states "Follow the existing benchmark-script archival convention, moving retired scripts into the sibling deprecated/ directory only when no active config still uses them." The sibling deprecated/ directories cited exist and are in active use (benchmarks/multi_node/deprecated/ e.g. dsv4_fp4_gb200_llmd-vllm-disagg.sh;… | nit. Real deviation from a…

> **Legacy.** Single-node AgentX configs now run as declarative srt-slurm
> recipes (`benchmarks/single_node/srt-slurm-recipes/<model>/<engine>/<sku>/agentic.yaml`,
> see #3428). The only bash scripts left here are the ones a master config still
> reaches through a search-space entry without an `srt-recipe:`; delete each one

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 nit (optional): the new README note says the kept files are install_h1{0,2}0_block32_configs.py, but that brace expansion actually yields install_h100_block32_configs.py and install_h120_block32_configs.py, not the real install_h200_block32_configs.py. Fix: write install_h{100,200}_block32_configs.py (or spell both names out) so it correctly refers to the two files that actually exist.

Why this was flagged

The README text at benchmarks/single_node/agentic/README.md:6 uses shell brace-expansion notation install_h1{0,2}0_block32_configs.py, which expands to install_h100_block32_configs.py and install_h120_block32_configs.py. The actual second file is install_h200_block32_configs.py, which the pattern never names. A reader following this doc pointer to find the H200 install script will not find one matching the literal notation and may miss it, unlike a correct brace pattern such as install_h{100,200}_block32_configs.py.

Verification: nit: README.md:7 writes install_h1{0,2}0_block32_configs.py. Under shell brace-expansion the {0,2} sits between install_h1 and 0, so it yields install_h100_block32_configs.py and install_h120_block32_configs.py. The real files (confirmed via ls) are install_h100_block32_configs.py and install_h200_block32_configs.py; install_h120... does not exist and the H200 name is never…

functionstackx added a commit that referenced this pull request Sep 26, 2026
Single-node AgentX runs as native srt-slurm recipes since #3428, and #3460
removed the unused scripts. Delete the rest of the legacy folder.

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant