Skip to content

agentx: add conformance_750k and conformance_900k profiles - #292

Open
MIR-AMD wants to merge 4 commits into
ROCm:developfrom
MIR-AMD:agentx-conformance-750k
Open

MIR-AMD wants to merge 4 commits into
ROCm:developfrom
MIR-AMD:agentx-conformance-750k

Conversation

@MIR-AMD

@MIR-AMD MIR-AMD commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Adds two Case-B long-context conformance profiles on top of conformance_512k, and makes agentx_config.py --profile <file> --emit-json resolve preset:.

  • profiles/conformance_750k.yaml: ISL P50/P90/P99 450000 / 640000 / 750000, ISL clamp [1200, 780000], id_prefix: case750k. Serve with max-model-len >= 800000.
  • profiles/conformance_900k.yaml: ISL P50/P90/P99 540000 / 768000 / 900000, ISL clamp [1200, 936000], id_prefix: case900k. Serve with max-model-len >= 956000.

Both drop 512k's Input ISL P99 band override so the default bands apply; everything else is inherited. The serving minimum is ISL clamp + OSL clamp (20000): aiperf drops whole sessions whose peak ISL + max_tokens exceeds --max-context-length.

--emit-json previously printed the profile file as-is, so a profile using preset: did not work standalone. It now follows the preset: chain like suite resolution. tests/run_offline.sh checks that both paths give the same profile (35/35 pass).

Testing

Both profiles generate with gen_agentx_profile.py and verify 13/13 with verify_agentx_profile.py. 750k: 30% of requests > 512k. 900k: 58% > 512k, 9% > 750k.

Results: GLM-5.3-Flash-FP8, 1P/1D on MI300X (#274)

conformance_750k, max-model-len 800000:

Conc Duration (s) Requests Errors TTFT p50 / p90 (s) Tok/s/user p50
1 1800 43 0 23.9 / 57.9 103.9
2 1800 64 0 43.6 / 74.0 91.8
4 1800 101 0 56.6 / 95.3 93.1
8 1800 188 0 61.7 / 127.0 92.4
16 3600 485 0 101.6 / 173.7 94.3
32 3600 544 0 187.8 / 340.2 89.6

Concurrency 64 is not supported on 1P/1D: all three attempts failed during warmup.

conformance_900k (max-model-len 1048576): runs in progress.

conformance_512k (Case-B) with only the input lengths changed: isl_p
450k/640k/750k, ISL clamp 780k (ISL + OSL clamp = 800k), id_prefix case750k,
verify block restated without the 512k ISL P99 band override. Verifies 13/13
on default bands; 30% of requests exceed 512k. Needs max-model-len >= 800000:
aiperf drops whole sessions whose peak exceeds --max-context-length.
Copilot AI balanced review requested due to automatic review settings October 28, 2026 22:26

Copilot AI 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.

🟡 Changes recommended

The standalone exporter leaves preset unresolved, causing the documented conformance profile workflow to produce JSON that fails generation due to missing required fields.

1 open issue
What changed in this PR

Adds an AMD-defined AgentX profile for benchmarking context lengths beyond 512k, extending the existing conformance_512k profile.

Changes:

  • Sets input-length targets to 450k/640k/750k while inheriting the existing workload structure.
  • Defines clamps requiring an 800000-token serving window, a distinct session-ID prefix, and verification settings.
  • Adds the profile to the AgentX README directory listing.
File Description
scripts/​common/​agentx/​README.md Lists the new profile and its serving requirement.
scripts/​common/​agentx/​profiles/​conformance_750k.yaml Defines the inherited long-context profile and its overrides.

Review effort: Balanced

# Needs a server with max-model-len >= 800000: isl clamp + osl clamp = 800000, and aiperf
# drops whole sessions whose peak exceeds --max-context-length.
name: conformance_750k
preset: conformance_512k
Copilot AI balanced review requested due to automatic review settings October 28, 2026 22:34

Copilot AI 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.

🔵 Needs a closer look

The standalone --emit-json path does not resolve preset inheritance for conformance_750k.yaml, causing the documented generation workflow to fail with missing required fields.

1 open issue

Review effort: Balanced

Copilot AI balanced review requested due to automatic review settings November 16, 2026 14:54
@MIR-AMD MIR-AMD changed the title agentx: add conformance_750k profile agentx: add conformance_750k and conformance_900k profiles Nov 16, 2026

Copilot AI 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.

🟢 Approval recommended

No active review issues are recorded for the long-context profile and preset-resolution changes.

1 open issue

Review effort: Balanced

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants