Repository navigation
[Klaud Cold] chore(evals): disable agentic evals repo-wide behind AGENTIC_EVALS_DISABLED / 全仓库停用智能体评测(AGENTIC_EVALS_DISABLED 开关) - #2451
Conversation
…SABLED [skip-sweep] Agentic (SWE-bench) evals are turned off until the agentic eval path is fixed. TODO(@adibarra) to re-enable, owner back the week of 2026-08-03. One choke point covers both dispatch paths. run-sweep.yml's sweep-agentic-evals reads search-space-config.agentic_evals, which process_changelog.py fills from agentic-coding rows carrying run-eval: True, and e2e-tests.yml's test-sweep-agentic-evals filters the same flag, so suppressing the mark in generate_sweep_configs.py leaves both with an empty matrix and both skip. Note process_changelog.py always runs a second --evals-only pass per changelog entry, so agentic evals were dispatching on every agentic PR regardless of labels; the switch wins over --evals-only, --all-evals, and the evals-only / all-evals PR labels alike. Blast radius, measured on configs/nvidia-master.yaml: agentic eval rows for glm5.2-fp4-b300-sglang-agentic under --evals-only go 1 -> 0, fixed-seq-len eval rows for dsv4-fp4-b200-vllm stay at 4, and the default throughput matrix is byte-identical. Re-enabling is one line. The selection policy keeps its coverage behind the _agentic_evals_enabled() helper in test_generate_sweep_configs.py, and two new tests pin the switch so it cannot be bypassed by --evals-only / --all-evals. 中文:在 AGENTIC_EVALS_DISABLED 开关后全仓库停用智能体(SWE-bench)评测,直至该路径修复; 待 @adibarra 下周回来后将其翻回 False 即可重新启用。该开关是两条派发路径的唯一收敛点, 优先级高于 --evals-only、--all-evals 以及同名 PR 标签。智能体吞吐覆盖与定长序列评测均不受影响: 实测 glm5.2-fp4-b300-sglang-agentic 的智能体评测行由 1 降为 0,dsv4-fp4-b200-vllm 的定长评测行 仍为 4,默认吞吐矩阵完全一致。原有选择策略的测试覆盖保留在 _agentic_evals_enabled() 辅助函数中, 另新增两项测试锁定该开关。 Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
|
@adibarra — TODO for when you're back next week: fix the agentic eval path and re-enable this. This is a temporary repo-wide disable, not a removal. To turn agentic (SWE-bench) evals back on, flip The selection policy you're re-enabling still has test coverage: the two original tests now run behind the One thing you may not have known and that is worth fixing at the same time: Assigning you and requesting review so this does not get lost. |
There was a problem hiding this comment.
LGTM — a well-scoped, defensively-implemented kill switch for agentic evals with test coverage to match.
What was reviewed: the two AGENTIC_EVALS_DISABLED guards in mark_eval_entries() and mark_all_eval_entries(), confirming both dispatch paths (--evals-only/--all-evals and the default include_agentic path used by process_changelog.py's second pass) are covered; ran the updated test suite locally (104 passed); and checked the EVALS.md doc contradiction flagged by the bug hunter — the new Status section explicitly says the rest of the doc describes pre-flag behavior, so it's not a real contradiction.
Extended reasoning...
Overview
This PR adds a single module-level boolean flag, AGENTIC_EVALS_DISABLED = True, in utils/matrix_logic/generate_sweep_configs.py, guards it into the two places agentic-coding rows get marked run-eval (mark_eval_entries()'s include_agentic branch, and mark_all_eval_entries()'s unconditional single-node agentic marking), and documents the change in EVALS.md. Test file changes add a _agentic_evals_enabled() context manager so the pre-existing policy tests keep exercising the real selection logic, plus two new tests that pin the disabled state overriding --evals-only/--all-evals.
Security risks
None. This is a pure CI/config-generation change with no runtime, auth, or data-handling implications — it only affects which matrix rows get marked for an eval job in generated sweep configs.
Level of scrutiny
Low-to-moderate. The change is small, additive, and reversible (the PR body and code comments both point at the single line to flip back), it ships with new unit tests that specifically pin the guarded behavior, and I independently ran the full test file (104 passed) to confirm. I also traced the third dispatch path mentioned in the PR description — process_changelog.py's per-changelog-entry --evals-only pass — and confirmed it funnels through the same mark_eval_entries(include_agentic=True) call that the new flag now gates, so the fix is complete across all three paths the author identified.
Other factors
No workflow YAML changes, no config or perf-changelog entries, and the commit is tagged [skip-sweep], so blast radius is limited to CI matrix generation logic with existing test coverage. The bug-hunting system found no real issues; the one candidate (an apparent contradiction in EVALS.md between the new Status section and older selection-policy text) was correctly ruled out since the Status section explicitly frames the older text as describing behavior that returns once the flag is cleared.
…SABLED [skip-sweep] (#2451) Agentic (SWE-bench) evals are turned off until the agentic eval path is fixed. TODO(@adibarra) to re-enable, owner back the week of 2026-08-03. One choke point covers both dispatch paths. run-sweep.yml's sweep-agentic-evals reads search-space-config.agentic_evals, which process_changelog.py fills from agentic-coding rows carrying run-eval: True, and e2e-tests.yml's test-sweep-agentic-evals filters the same flag, so suppressing the mark in generate_sweep_configs.py leaves both with an empty matrix and both skip. Note process_changelog.py always runs a second --evals-only pass per changelog entry, so agentic evals were dispatching on every agentic PR regardless of labels; the switch wins over --evals-only, --all-evals, and the evals-only / all-evals PR labels alike. Blast radius, measured on configs/nvidia-master.yaml: agentic eval rows for glm5.2-fp4-b300-sglang-agentic under --evals-only go 1 -> 0, fixed-seq-len eval rows for dsv4-fp4-b200-vllm stay at 4, and the default throughput matrix is byte-identical. Re-enabling is one line. The selection policy keeps its coverage behind the _agentic_evals_enabled() helper in test_generate_sweep_configs.py, and two new tests pin the switch so it cannot be bypassed by --evals-only / --all-evals. 中文:在 AGENTIC_EVALS_DISABLED 开关后全仓库停用智能体(SWE-bench)评测,直至该路径修复; 待 @adibarra 下周回来后将其翻回 False 即可重新启用。该开关是两条派发路径的唯一收敛点, 优先级高于 --evals-only、--all-evals 以及同名 PR 标签。智能体吞吐覆盖与定长序列评测均不受影响: 实测 glm5.2-fp4-b300-sglang-agentic 的智能体评测行由 1 降为 0,dsv4-fp4-b200-vllm 的定长评测行 仍为 4,默认吞吐矩阵完全一致。原有选择策略的测试覆盖保留在 _agentic_evals_enabled() 辅助函数中, 另新增两项测试锁定该开关。 Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
- Image rocm/atom-dev:nightly_202609211553 (ATOM 0.1.7.dev517+g52a6a96fd) -> nightly_202610181506 (ATOM 0.1.8.dev77+gdf86c4829); the atomesh router container_image digest moves from f00a9dc5 (nightly_202609161445) to 1bb1909a, the same nightly as the workers. - Settings follow the GLM-5.2 recipe in ROCm/ATOM PR 2632 (open; recipe document only, measured on df86c4829). - Add TP4 C1 (TP4 now C1-C10) and restore the TP4+DCP4 arm at C16-C48 with the LMCache DRAM tier (0.5.6.dev139+gf22dec28), which #3463 dropped with the other search-space entries without an srt-recipe; TP8 C1-C4 unchanged. - dram-utilization 0.171 -> 0.74, so TOTAL_CPU_DRAM_GB is 1109 GB per TP4 server, covering the 4 x 256 GiB LMCache tier. - TP4 C1 and C2 run GLM-5.2 mono decode (ATOM_MONO_ENABLE=1) at 3 draft tokens (golden AL 2.99), max-num-seqs equal to the concurrency, graphs [1] and [1,2]; C2 was 5 draft tokens, max-num-seqs 4, graphs [1,2,4]. - Every other point sets ATOM_MONO_ENABLE=0, which the new ATOM defaults on; TP4 C4/C8 (5 drafts, AL 3.61), C10 (4, AL 3.33) and TP8 keep their settings. - DCP4 points: decode-context-parallel-size 4, ATOM_DCP_PREFILL_QREP=1, LMCache 256 GiB per rank via extra-kv-connectors lmcache_offload, 2x admission, 4 draft tokens (AL 3.33), 3 at C48 (AL 2.99). - Relevant ATOM changes: GLM-5.2 mono decode (#2479, #2483, #2535); DCP prefill QREP and QREP with MTP (#2437, #2290); DCP prefill fixes with MTP (#2430, #2496, #2506, #2348); MTP verify/draft-graph fixes (#2451, #2367, #2566, #2495); lmcache_offload fixes (#2305, #2339, #2547) and the LMCache pin (#2438). - Draft data types unchanged: the BF16 MTP layer 78 stays BF16 (excluded from ptpc_fp8 by model.layers.78.*), with the target's FP8 KV and FP4 indexer cache; mono decode covers only target layers 0-77. - 镜像 rocm/atom-dev:nightly_202609211553(ATOM 0.1.7.dev517+g52a6a96fd)-> nightly_202610181506(ATOM 0.1.8.dev77+gdf86c4829);atomesh router 的 container_image digest 从 f00a9dc5(nightly_202609161445)改为 1bb1909a,与 worker 使用同一 nightly。 - 设置与 ROCm/ATOM PR 2632 中的 GLM-5.2 recipe 一致(该 PR 尚未合并,只改 recipe 文档,测量基于 df86c4829)。 - 新增 TP4 C1(TP4 覆盖 C1-C10),并恢复带 LMCache DRAM 层(0.5.6.dev139+gf22dec28)的 TP4+DCP4 C16-C48 分支;该分支曾在 #3463 中随其他没有 srt-recipe 的搜索空间条目一起被删除。TP8 C1-C4 不变。 - dram-utilization 0.171 -> 0.74,每个 TP4 服务的 TOTAL_CPU_DRAM_GB 为 1109 GB,可容纳 4 x 256 GiB 的 LMCache 层。 - TP4 C1 和 C2 以 3 个 draft token(golden AL 2.99)运行 GLM-5.2 mono decode(ATOM_MONO_ENABLE=1),max-num-seqs 等于并发数,graph 为 [1] 和 [1,2];C2 原为 5 个 draft token、max-num-seqs 4、graph [1,2,4]。 - 其他点位都设置 ATOM_MONO_ENABLE=0(新 ATOM 默认开启);TP4 C4/C8(5 个 draft,AL 3.61)、C10(4 个,AL 3.33)和 TP8 设置不变。 - DCP4 点位:decode-context-parallel-size 4,ATOM_DCP_PREFILL_QREP=1,通过 extra-kv-connectors lmcache_offload 每个 rank 使用 256 GiB LMCache,准入为 2 倍并发,4 个 draft token(AL 3.33),C48 为 3 个(AL 2.99)。 - 相关 ATOM 改动:GLM-5.2 mono decode(#2479、#2483、#2535);DCP prefill QREP 及 QREP 与 MTP 同时使用(#2437、#2290);DCP prefill 与 MTP 的修复(#2430、#2496、#2506、#2348);MTP verify/draft graph 修复(#2451、#2367、#2566、#2495);lmcache_offload 修复(#2305、#2339、#2547)和 LMCache 版本固定(#2438)。 - Draft 数据类型不变:BF16 的 MTP 第 78 层保持 BF16(被 model.layers.78.* 排除在 ptpc_fp8 之外),与 target 共用 FP8 KV cache 和 FP4 indexer cache;mono decode 只覆盖 target 第 0-77 层。 Co-Authored-By: Claude Opus 5.5 <[email protected]>
…181506 / feat(agentx):基于 nightly_202610181506 重新调优 GLM-5.2 FP4 MI355X ATOM recipe (#4308) * feat(agentx): retune GLM5.2 FP4 MI355X ATOM recipe on _1018 docker Track the GLM-5.2 standalone recipe of ROCm/ATOM PR 2632 on rocm/atom-dev:nightly_202610181506. - TP4 C1/C2 run the GLM-5.2 mono decode at 3 draft tokens (AL 2.99); every other point sets ATOM_MONO_ENABLE=0, which ATOM defaults on. - C1 joins the TP4 arm; C4/C8 stay at MTP5 and C10 at MTP4. - Restore the TP4+DCP4 arm at C16-C48 with ATOM_DCP_PREFILL_QREP=1 and the LMCache DRAM tier at 256 GiB per rank via extra-kv-connectors (MTP4, MTP3 at C48). - dram-utilization 0.171 -> 0.74 so TOTAL_CPU_DRAM_GB (1109 GB) covers the 4 x 256 GiB = 1099.5 GB LMCache tier. 中文:按 ROCm/ATOM PR 2632 的 GLM-5.2 单机配方更新 MI355X ATOM AgentX 配置,镜像换为 rocm/atom-dev:nightly_202610181506。TP4 C1/C2 使用 GLM-5.2 mono decode,3 个 draft token(AL 2.99),其余点显式设置 ATOM_MONO_ENABLE=0(ATOM 默认开启);TP4 新增 C1,C4/C8 保持 MTP5, C10 保持 MTP4。恢复 TP4+DCP4 臂(C16-C48),开启 ATOM_DCP_PREFILL_QREP=1,并通过 extra-kv-connectors 接入每 rank 256 GiB 的 LMCache DRAM 层(MTP4,C48 为 MTP3)。dram-utilization 由 0.171 调为 0.74,使 TOTAL_CPU_DRAM_GB(1109 GB)覆盖 4 x 256 GiB = 1099.5 GB 的 LMCache 层。 Signed-off-by: zhuyuhua-v <[email protected]> * feat(agentx): cap GLM5.2 FP4 MI355X ATOM TP4 C1/C2 at max-num-seqs CONC Track ROCm/ATOM PR 2632: TP4 C1 and C2 start the server with max-num-seqs 1 and 2 (exactly CONC) and capture graphs only up to it. * docs(changelog): rewrite GLM-5.2 FP4 MI355X ATOM block from the diff - Image rocm/atom-dev:nightly_202609211553 (ATOM 0.1.7.dev517+g52a6a96fd) -> nightly_202610181506 (ATOM 0.1.8.dev77+gdf86c4829); the atomesh router container_image digest moves from f00a9dc5 (nightly_202609161445) to 1bb1909a, the same nightly as the workers. - Settings follow the GLM-5.2 recipe in ROCm/ATOM PR 2632 (open; recipe document only, measured on df86c4829). - Add TP4 C1 (TP4 now C1-C10) and restore the TP4+DCP4 arm at C16-C48 with the LMCache DRAM tier (0.5.6.dev139+gf22dec28), which #3463 dropped with the other search-space entries without an srt-recipe; TP8 C1-C4 unchanged. - dram-utilization 0.171 -> 0.74, so TOTAL_CPU_DRAM_GB is 1109 GB per TP4 server, covering the 4 x 256 GiB LMCache tier. - TP4 C1 and C2 run GLM-5.2 mono decode (ATOM_MONO_ENABLE=1) at 3 draft tokens (golden AL 2.99), max-num-seqs equal to the concurrency, graphs [1] and [1,2]; C2 was 5 draft tokens, max-num-seqs 4, graphs [1,2,4]. - Every other point sets ATOM_MONO_ENABLE=0, which the new ATOM defaults on; TP4 C4/C8 (5 drafts, AL 3.61), C10 (4, AL 3.33) and TP8 keep their settings. - DCP4 points: decode-context-parallel-size 4, ATOM_DCP_PREFILL_QREP=1, LMCache 256 GiB per rank via extra-kv-connectors lmcache_offload, 2x admission, 4 draft tokens (AL 3.33), 3 at C48 (AL 2.99). - Relevant ATOM changes: GLM-5.2 mono decode (#2479, #2483, #2535); DCP prefill QREP and QREP with MTP (#2437, #2290); DCP prefill fixes with MTP (#2430, #2496, #2506, #2348); MTP verify/draft-graph fixes (#2451, #2367, #2566, #2495); lmcache_offload fixes (#2305, #2339, #2547) and the LMCache pin (#2438). - Draft data types unchanged: the BF16 MTP layer 78 stays BF16 (excluded from ptpc_fp8 by model.layers.78.*), with the target's FP8 KV and FP4 indexer cache; mono decode covers only target layers 0-77. - 镜像 rocm/atom-dev:nightly_202609211553(ATOM 0.1.7.dev517+g52a6a96fd)-> nightly_202610181506(ATOM 0.1.8.dev77+gdf86c4829);atomesh router 的 container_image digest 从 f00a9dc5(nightly_202609161445)改为 1bb1909a,与 worker 使用同一 nightly。 - 设置与 ROCm/ATOM PR 2632 中的 GLM-5.2 recipe 一致(该 PR 尚未合并,只改 recipe 文档,测量基于 df86c4829)。 - 新增 TP4 C1(TP4 覆盖 C1-C10),并恢复带 LMCache DRAM 层(0.5.6.dev139+gf22dec28)的 TP4+DCP4 C16-C48 分支;该分支曾在 #3463 中随其他没有 srt-recipe 的搜索空间条目一起被删除。TP8 C1-C4 不变。 - dram-utilization 0.171 -> 0.74,每个 TP4 服务的 TOTAL_CPU_DRAM_GB 为 1109 GB,可容纳 4 x 256 GiB 的 LMCache 层。 - TP4 C1 和 C2 以 3 个 draft token(golden AL 2.99)运行 GLM-5.2 mono decode(ATOM_MONO_ENABLE=1),max-num-seqs 等于并发数,graph 为 [1] 和 [1,2];C2 原为 5 个 draft token、max-num-seqs 4、graph [1,2,4]。 - 其他点位都设置 ATOM_MONO_ENABLE=0(新 ATOM 默认开启);TP4 C4/C8(5 个 draft,AL 3.61)、C10(4 个,AL 3.33)和 TP8 设置不变。 - DCP4 点位:decode-context-parallel-size 4,ATOM_DCP_PREFILL_QREP=1,通过 extra-kv-connectors lmcache_offload 每个 rank 使用 256 GiB LMCache,准入为 2 倍并发,4 个 draft token(AL 3.33),C48 为 3 个(AL 2.99)。 - 相关 ATOM 改动:GLM-5.2 mono decode(#2479、#2483、#2535);DCP prefill QREP 及 QREP 与 MTP 同时使用(#2437、#2290);DCP prefill 与 MTP 的修复(#2430、#2496、#2506、#2348);MTP verify/draft graph 修复(#2451、#2367、#2566、#2495);lmcache_offload 修复(#2305、#2339、#2547)和 LMCache 版本固定(#2438)。 - Draft 数据类型不变:BF16 的 MTP 第 78 层保持 BF16(被 model.layers.78.* 排除在 ptpc_fp8 之外),与 target 共用 FP8 KV cache 和 FP4 indexer cache;mono decode 只覆盖 target 第 0-77 层。 Co-Authored-By: Claude Opus 5.5 <[email protected]> * eval(agentx): cover GLM-5.2 mono decode with a TP4 C2 GSM8K The default agentic selector evals only the highest concurrency, DCP4 C48, where ATOM_MONO_ENABLE is 0. TP4 C1/C2 are the points that turn the new mono-decode kernel on, so add an evals-only key whose highest point is C2. Co-authored-by: Cursor <[email protected]> --------- Signed-off-by: zhuyuhua-v <[email protected]> Co-authored-by: Cursor <[email protected]> Co-authored-by: seungrokj <[email protected]> Co-authored-by: seungrokj <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
Turns agentic (SWE-bench) evals off repo-wide behind a single flag, until the agentic eval path is fixed.
@adibarra — TODO
Re-enable is one line: flip
AGENTIC_EVALS_DISABLEDtoFalseinutils/matrix_logic/generate_sweep_configs.py(or delete it and the twoif AGENTIC_EVALS_DISABLEDguards). Nothing else has to change. TheTODO(@adibarra)marker is on the flag itself and inutils/evals/EVALS.md.The existing selection policy keeps its test coverage behind the new
_agentic_evals_enabled()helper intest_generate_sweep_configs.py, so the behaviour you're turning back on is already asserted — you should see those tests go green against the real code path the moment you flip it.Why one flag is enough
Both dispatch paths key off the same thing — an
agentic-codingrow carryingrun-eval: True:run-sweep.yml→sweep-agentic-evalsreadssearch-space-config.agentic_evals, whichprocess_changelog.pyfills by splitting eval rows onscenario-type == 'agentic-coding'.e2e-tests.yml→test-sweep-agentic-evalsfiltersget-jobsoutput on the same flag.So suppressing the mark in
generate_sweep_configs.pyleaves both jobs with an empty matrix, and both skip on their existing!= '[]'guards. No workflow YAML changes.Worth knowing:
process_changelog.pyruns a second--evals-onlypass for every changelog entry (utils/process_changelog.py, theeval_groupsloop), and--evals-onlysetsinclude_agentic=True. That is why agentic eval jobs were dispatching on every agentic PR regardless of labels — e.g. #2447 and #2448 each got one without asking. The flag wins over--evals-only,--all-evals, and theevals-only/all-evalsPR labels alike.Blast radius
Measured against
configs/nvidia-master.yaml, before vs after:glm5.2-fp4-b300-sglang-agentic --evals-onlydsv4-fp4-b200-vllm --evals-onlyAgentic throughput coverage is untouched, and
gsm8k/gpqa/ 8k1kswebenchare untouched. Only the agentic eval job goes away.Changes
utils/matrix_logic/generate_sweep_configs.pyAGENTIC_EVALS_DISABLED = True+ two guards: theinclude_agenticblock inmark_eval_entries()and the unconditional agentic marking inmark_all_eval_entries().utils/matrix_logic/test_generate_sweep_configs.py_agentic_evals_enabled()context manager so the two existing policy tests keep testing the policy; two new tests pin that the switch beats--evals-onlyand--all-evals.utils/evals/EVALS.mdNo config, no
perf-changelog.yamlentry, no GPU jobs —[skip-sweep]on the head commit.Validation
pytest utils/— 570 passed, 104 of them intest_generate_sweep_configs.py. Two failures inutils/evals/test_run_eval_dispatch.py(test_agentic_generation_invokes_mini_swe_agent,test_agent_sandbox_cpu_knob) reproduce identically on a cleanmainin this environment — a missing localmini-swe-agentfixture, not this change.