Repository navigation
Conversation
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.
MIR-AMD
requested review from
Cemberk,
amathews-amd,
coketaste,
gargrahul,
itej89,
lcskrishna and
leconcio
as code owners
October 28, 2026 22:26
Contributor
There was a problem hiding this comment.
🟡 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Adds two Case-B long-context conformance profiles on top of
conformance_512k, and makesagentx_config.py --profile <file> --emit-jsonresolvepreset:.profiles/conformance_750k.yaml: ISL P50/P90/P99 450000 / 640000 / 750000, ISL clamp [1200, 780000],id_prefix: case750k. Serve withmax-model-len>= 800000.profiles/conformance_900k.yaml: ISL P50/P90/P99 540000 / 768000 / 900000, ISL clamp [1200, 936000],id_prefix: case900k. Serve withmax-model-len>= 956000.Both drop 512k's
Input ISL P99band 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_tokensexceeds--max-context-length.--emit-jsonpreviously printed the profile file as-is, so a profile usingpreset:did not work standalone. It now follows thepreset:chain like suite resolution.tests/run_offline.shchecks that both paths give the same profile (35/35 pass).Testing
Both profiles generate with
gen_agentx_profile.pyand verify 13/13 withverify_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-len800000:Concurrency 64 is not supported on 1P/1D: all three attempts failed during warmup.
conformance_900k (
max-model-len1048576): runs in progress.