From 1cfdcd97e562cb9ac2aa8998382b62b32bf47bea Mon Sep 17 00:00:00 2001 From: Wenyao Gao Date: Mon, 26 Oct 2026 14:37:33 -0700 Subject: [PATCH 1/5] fix: require measured power for Qwen3.8 GB300 AgentX --- .github/workflows/run-sweep.yml | 4 ++++ inferencex-e2e/configs/nvidia-master.yaml | 1 + inferencex-e2e/infx/matrix/generate.py | 2 ++ inferencex-e2e/infx/matrix/validation.py | 3 +++ .../matrix/test_generate_sweep_configs.py | 18 ++++++++++++++++++ inferencex-e2e/perf-changelog.yaml | 7 +++++++ 6 files changed, 35 insertions(+) diff --git a/.github/workflows/run-sweep.yml b/.github/workflows/run-sweep.yml index 5df90087ef..b116367c4f 100644 --- a/.github/workflows/run-sweep.yml +++ b/.github/workflows/run-sweep.yml @@ -386,6 +386,7 @@ jobs: queue-token: ${{ matrix.config['queue-token'] }} dp-attn: ${{ matrix.config.dp-attn }} run-eval: false + require-power: ${{ matrix.config['require-power'] == true }} scenario-type: ${{ matrix.config['scenario-type'] || 'fixed-seq-len' }} duration: ${{ matrix.config.duration || '3600' }} agentx-fast: ${{ contains(github.event.pull_request.labels.*.name, 'agentx-fast') }} @@ -413,6 +414,7 @@ jobs: conc: ${{ matrix.config.conc[0] }} duration: ${{ matrix.config.duration }} run-eval: false + require-power: ${{ matrix.config['require-power'] == true }} scenario-type: agentic-coding agentx-fast: ${{ contains(github.event.pull_request.labels.*.name, 'agentx-fast') }} @@ -545,6 +547,7 @@ jobs: dp-attn: ${{ matrix.config.dp-attn }} duration: ${{ matrix.config.duration }} run-eval: false + require-power: ${{ matrix.config['require-power'] == true }} scenario-type: agentic-coding agentx-fast: ${{ contains(github.event.pull_request.labels.*.name, 'agentx-fast') }} @@ -579,6 +582,7 @@ jobs: conc: ${{ matrix.config.conc[0] }} duration: ${{ matrix.config.duration }} run-eval: false + require-power: ${{ matrix.config['require-power'] == true }} scenario-type: agentic-coding agentx-fast: ${{ contains(github.event.pull_request.labels.*.name, 'agentx-fast') }} diff --git a/inferencex-e2e/configs/nvidia-master.yaml b/inferencex-e2e/configs/nvidia-master.yaml index 9e524ab5f1..7c20bd0bf4 100644 --- a/inferencex-e2e/configs/nvidia-master.yaml +++ b/inferencex-e2e/configs/nvidia-master.yaml @@ -9837,6 +9837,7 @@ qwen3.8next-fp4-gb300-sglang-agentic-mtp: - dram-utilization: 1.0 search-space: - tp: 1 + require-power: true ep: 1 dp-attn: false spec-decoding: mtp diff --git a/inferencex-e2e/infx/matrix/generate.py b/inferencex-e2e/infx/matrix/generate.py index a47e8922fd..81492992b1 100644 --- a/inferencex-e2e/infx/matrix/generate.py +++ b/inferencex-e2e/infx/matrix/generate.py @@ -1157,6 +1157,8 @@ def _agentic_entries( entry.update(srt_recipe_fields(config, benchmark)) if benchmark.get(Fields.POWER.value): entry[Fields.POWER.value] = True + if benchmark.get(Fields.REQUIRE_POWER.value, benchmark.get("require_power", False)): + entry[Fields.REQUIRE_POWER.value] = True entry.update( { Fields.KV_OFFLOADING.value: kv_offloading, diff --git a/inferencex-e2e/infx/matrix/validation.py b/inferencex-e2e/infx/matrix/validation.py index 8d0f08d063..4ba228b1bd 100644 --- a/inferencex-e2e/infx/matrix/validation.py +++ b/inferencex-e2e/infx/matrix/validation.py @@ -302,6 +302,7 @@ class SingleNodeAgenticMatrixEntry(BaseModel): model_config = ConfigDict(extra="forbid", populate_by_name=True) image: str + require_power: bool = Field(default=False, alias=Fields.REQUIRE_POWER.value, strict=True) srt_recipe: str | None = Field(default=None, alias=Fields.SRT_RECIPE.value, min_length=1) model: str model_prefix: str = Field(alias=Fields.MODEL_PREFIX.value) @@ -352,6 +353,7 @@ class MultiNodeAgenticMatrixEntry(BaseModel): model_config = ConfigDict(extra="forbid", populate_by_name=True) image: str + require_power: bool = Field(default=False, alias=Fields.REQUIRE_POWER.value, strict=True) model: str model_prefix: str = Field(alias=Fields.MODEL_PREFIX.value) precision: str @@ -644,6 +646,7 @@ class MultiNodeSeqLenConfig(BaseModel): class AgenticCodingSearchSpaceEntry(BaseModel): model_config = ConfigDict(extra="forbid", populate_by_name=True) + require_power: bool = Field(default=False, alias=Fields.REQUIRE_POWER.value, strict=True) tp: int | None = Field(default=None, gt=0) srt_recipe: RecipeReference | None = Field(default=None, alias=Fields.SRT_RECIPE.value) eval_srt_recipe: RecipeReference | None = Field( diff --git a/inferencex-e2e/infx/tests/matrix/test_generate_sweep_configs.py b/inferencex-e2e/infx/tests/matrix/test_generate_sweep_configs.py index 03c7a16995..5ebe4c5149 100644 --- a/inferencex-e2e/infx/tests/matrix/test_generate_sweep_configs.py +++ b/inferencex-e2e/infx/tests/matrix/test_generate_sweep_configs.py @@ -2644,6 +2644,24 @@ def agentic_config(request, sample_single_node_config): class TestAgenticGeneration: + @pytest.mark.parametrize("power_key", ["require-power", "require_power"]) + def test_required_power_reaches_benchmarks_but_not_evals( + self, power_key, agentic_config, sample_runner_config, generate_agentic_sweep, + ): + from infx.matrix.generate import select_matrix_evals + from infx.matrix.validation import AgenticCodingSearchSpaceEntry + + config, benchmark = agentic_config + benchmark["conc-list"] = [1, 4, 8] + before = generate_agentic_sweep(config, sample_runner_config) + benchmark[power_key] = True + AgenticCodingSearchSpaceEntry.model_validate(benchmark) + after = generate_agentic_sweep(config, sample_runner_config) + assert after == [{**row, "require-power": True} for row in before] + evals = select_matrix_evals(copy.deepcopy(after), mode="all") + assert evals + assert all("require-power" not in row for row in evals) + def test_point_order_and_input_preservation( self, agentic_config, sample_runner_config, generate_agentic_sweep, ): diff --git a/inferencex-e2e/perf-changelog.yaml b/inferencex-e2e/perf-changelog.yaml index 8471f866d2..9336397090 100644 --- a/inferencex-e2e/perf-changelog.yaml +++ b/inferencex-e2e/perf-changelog.yaml @@ -11266,3 +11266,10 @@ - "Add TP4 DRAM KV offload points at conc 40, 48 and 56." pr-link: https://github.com/SemiAnalysisAI/InferenceX/pull/4491 scenario-type: [agentic-coding] + +- config-keys: + - qwen3.8next-fp4-gb300-sglang-agentic-mtp + description: + - "Require valid measured GPU power for the Qwen3.8 GB300 AgentX sweep." + pr-link: https://github.com/SemiAnalysisAI/InferenceX/pull/XXX + scenario-type: [agentic-coding] From fa0772a840b55797ccfda440159f87269b36cb0f Mon Sep 17 00:00:00 2001 From: Wenyao Gao Date: Mon, 26 Oct 2026 14:41:44 -0700 Subject: [PATCH 2/5] fix: require measured power for GLM-5.2 GB200 AgentX --- inferencex-e2e/configs/nvidia-master.yaml | 14 ++++++++++++++ inferencex-e2e/perf-changelog.yaml | 7 +++++++ 2 files changed, 21 insertions(+) diff --git a/inferencex-e2e/configs/nvidia-master.yaml b/inferencex-e2e/configs/nvidia-master.yaml index 7c20bd0bf4..ed8e655f95 100644 --- a/inferencex-e2e/configs/nvidia-master.yaml +++ b/inferencex-e2e/configs/nvidia-master.yaml @@ -7565,6 +7565,8 @@ glm5.2-fp4-gb200-dynamo-sglang-agentic-disagg: - dram-utilization: 0.80 search-space: - spec-decoding: mtp + power: true + require-power: true conc-list: [36] kv-offloading: dram kv-offload-backend: { name: hicache } @@ -7582,6 +7584,8 @@ glm5.2-fp4-gb200-dynamo-sglang-agentic-disagg: ep: 1 dp-attn: false - spec-decoding: mtp + power: true + require-power: true conc-list: [48] kv-offloading: dram kv-offload-backend: { name: hicache } @@ -7599,6 +7603,8 @@ glm5.2-fp4-gb200-dynamo-sglang-agentic-disagg: ep: 1 dp-attn: false - spec-decoding: mtp + power: true + require-power: true conc-list: [64] kv-offloading: dram kv-offload-backend: { name: hicache } @@ -7616,6 +7622,8 @@ glm5.2-fp4-gb200-dynamo-sglang-agentic-disagg: ep: 8 dp-attn: true - spec-decoding: mtp + power: true + require-power: true conc-list: [96] kv-offloading: dram kv-offload-backend: { name: hicache } @@ -7633,6 +7641,8 @@ glm5.2-fp4-gb200-dynamo-sglang-agentic-disagg: ep: 8 dp-attn: true - spec-decoding: mtp + power: true + require-power: true conc-list: [96] kv-offloading: dram kv-offload-backend: { name: hicache } @@ -7650,6 +7660,8 @@ glm5.2-fp4-gb200-dynamo-sglang-agentic-disagg: ep: 8 dp-attn: true - spec-decoding: mtp + power: true + require-power: true conc-list: [224] kv-offloading: dram kv-offload-backend: { name: hicache } @@ -7667,6 +7679,8 @@ glm5.2-fp4-gb200-dynamo-sglang-agentic-disagg: ep: 16 dp-attn: true - spec-decoding: mtp + power: true + require-power: true conc-list: [336] kv-offloading: dram kv-offload-backend: { name: hicache } diff --git a/inferencex-e2e/perf-changelog.yaml b/inferencex-e2e/perf-changelog.yaml index a64dc91bbb..e7264ca00e 100644 --- a/inferencex-e2e/perf-changelog.yaml +++ b/inferencex-e2e/perf-changelog.yaml @@ -11288,3 +11288,10 @@ - "Require valid measured GPU power for the Qwen3.8 GB300 AgentX sweep." pr-link: https://github.com/SemiAnalysisAI/InferenceX/pull/4552 scenario-type: [agentic-coding] + +- config-keys: + - glm5.2-fp4-gb200-dynamo-sglang-agentic-disagg + description: + - "Collect GPU-board power and require valid AgentX power for the seven existing GB200 Dynamo-SGLang disaggregated variants." + pr-link: https://github.com/SemiAnalysisAI/InferenceX/pull/XXX + scenario-type: [agentic-coding] From e02cb9f5df4a8b3b1352411aafcf0e31807b494b Mon Sep 17 00:00:00 2001 From: Wenyao Gao Date: Mon, 26 Oct 2026 14:43:40 -0700 Subject: [PATCH 3/5] chore: link GLM GB200 power changelog to PR --- inferencex-e2e/perf-changelog.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inferencex-e2e/perf-changelog.yaml b/inferencex-e2e/perf-changelog.yaml index e7264ca00e..99d0ef5990 100644 --- a/inferencex-e2e/perf-changelog.yaml +++ b/inferencex-e2e/perf-changelog.yaml @@ -11293,5 +11293,5 @@ - glm5.2-fp4-gb200-dynamo-sglang-agentic-disagg description: - "Collect GPU-board power and require valid AgentX power for the seven existing GB200 Dynamo-SGLang disaggregated variants." - pr-link: https://github.com/SemiAnalysisAI/InferenceX/pull/XXX + pr-link: https://github.com/SemiAnalysisAI/InferenceX/pull/4553 scenario-type: [agentic-coding] From fc8f93ec0f9f1a95e47a508deca942ff615a0f90 Mon Sep 17 00:00:00 2001 From: Wenyao Gao Date: Mon, 26 Oct 2026 20:44:17 -0700 Subject: [PATCH 4/5] test: stabilize external sweep fixture case ids --- .../infx/tests/workflows/test_find_reusable_sweep_run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inferencex-e2e/infx/tests/workflows/test_find_reusable_sweep_run.py b/inferencex-e2e/infx/tests/workflows/test_find_reusable_sweep_run.py index b96e21a257..59d7c65dcb 100644 --- a/inferencex-e2e/infx/tests/workflows/test_find_reusable_sweep_run.py +++ b/inferencex-e2e/infx/tests/workflows/test_find_reusable_sweep_run.py @@ -558,7 +558,7 @@ def test_main_reports_recorded_external_head_and_ignores_current_labels( (identity_zip(head_sha="f" * 40), "disagrees with its title"), (identity_zip(agentx_fast="false"), "malformed source-identity"), (b"not a zip", "unreadable source-identity"), -]) +], ids=["evals-only", "pr-number", "head-sha", "malformed", "unreadable"]) def test_main_rejects_by_recorded_external_identity(monkeypatch, tmp_path, archive, reason) -> None: with pytest.raises(RuntimeError, match=reason): run_external_reuse(monkeypatch, tmp_path, EXTERNAL_RUN, identity=archive) From 93fcae3860c8be72cadf0a1061214aec7bcede33 Mon Sep 17 00:00:00 2001 From: Wenyao Gao Date: Wed, 4 Nov 2026 02:07:37 -0800 Subject: [PATCH 5/5] fix: rerun GLM-5.2 GB200 aggregated variants with the disagg power sweep --- inferencex-e2e/perf-changelog.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/inferencex-e2e/perf-changelog.yaml b/inferencex-e2e/perf-changelog.yaml index 5be7a335e7..33fb0296ef 100644 --- a/inferencex-e2e/perf-changelog.yaml +++ b/inferencex-e2e/perf-changelog.yaml @@ -11991,8 +11991,10 @@ pr-link: https://github.com/SemiAnalysisAI/InferenceX/pull/4724 - config-keys: + - glm5.2-fp4-gb200-dynamo-sglang-agentic-agg - glm5.2-fp4-gb200-dynamo-sglang-agentic-disagg description: - "Collect GPU-board power and require valid AgentX power for the seven existing GB200 Dynamo-SGLang disaggregated variants." + - "Rerun the two unchanged aggregated variants in the same sweep so the GB200 Dynamo-SGLang AgentX curve keeps all nine points." pr-link: https://github.com/SemiAnalysisAI/InferenceX/pull/4553 scenario-type: [agentic-coding]