Skip to content

Commit 8e91187

Browse files
committed
rename warmup per-lane option
Signed-off-by: Cam Quilici <cjquilici@gmail.com>
1 parent 6a22d43 commit 8e91187

17 files changed

Lines changed: 79 additions & 89 deletions

docs/cli-options.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1128,7 +1128,7 @@ The maximum duration in seconds for the warmup phase. If not set, it will use th
11281128
Additional agentic replay warmup duration in seconds. After the normal snapshot warmup drains, AIPerf continues the live trajectories without recorded idle delays and with one-token outputs, then drains and resumes profiling from the resulting trajectory state using each live stream's residual next-turn delay.
11291129
<br/>_Constraints: > 0_
11301130

1131-
#### `--agentic-cache-warmup-requests-per-lane` `<int>`
1131+
#### `--warmup-requests-per-lane` `<int>`
11321132

11331133
Deterministic agentic cache-pressure warmup request budget per concurrency lane. For example, 10 with concurrency 16 caps warmup at 160 wire requests, including initial snapshot priming. Requires --agentic-cache-warmup-duration, which remains the safety deadline.
11341134
<br/>_Constraints: > 0_
@@ -2663,7 +2663,7 @@ The maximum duration in seconds for the warmup phase. If not set, it will use th
26632663
Additional agentic replay warmup duration in seconds. After the normal snapshot warmup drains, AIPerf continues the live trajectories without recorded idle delays and with one-token outputs, then drains and resumes profiling from the resulting trajectory state using each live stream's residual next-turn delay.
26642664
<br/>_Constraints: > 0_
26652665

2666-
#### `--agentic-cache-warmup-requests-per-lane` `<int>`
2666+
#### `--warmup-requests-per-lane` `<int>`
26672667

26682668
Deterministic agentic cache-pressure warmup request budget per concurrency lane. For example, 10 with concurrency 16 caps warmup at 160 wire requests, including initial snapshot priming. Requires --agentic-cache-warmup-duration, which remains the safety deadline.
26692669
<br/>_Constraints: > 0_

docs/tutorials/agentx-mvp.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -418,10 +418,10 @@ the wire, snapshots each live root, subagent, and unresolved join, and starts
418418
profiling from that exact state.
419419

420420
For repeatable warmup depth, also set
421-
`--agentic-cache-warmup-requests-per-lane REQUESTS`. Each concurrency lane is
421+
`--warmup-requests-per-lane REQUESTS`. Each concurrency lane is
422422
then allowed exactly that many warmup wire requests, including its initial
423423
snapshot-priming requests. For example, `--concurrency 16` with
424-
`--agentic-cache-warmup-requests-per-lane 10` targets 160 warmup requests,
424+
`--warmup-requests-per-lane 10` targets 160 warmup requests,
425425
with a strict 10-request quota on every lane. The duration is still required as
426426
a safety deadline: issuance stops at the per-lane quotas or the duration,
427427
whichever comes first. If the duration wins, a slow run sends fewer than the

src/aiperf/config/config.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -636,19 +636,19 @@ def validate_agentic_cache_warmup(self) -> Self:
636636
for phase in profiling_phases
637637
)
638638
has_request_budget = any(
639-
getattr(phase, "agentic_cache_warmup_requests_per_lane", None) is not None
639+
getattr(phase, "warmup_requests_per_lane", None) is not None
640640
for phase in profiling_phases
641641
)
642642
if not has_duration and not has_request_budget:
643643
return self
644644

645645
if any(
646-
getattr(phase, "agentic_cache_warmup_requests_per_lane", None) is not None
646+
getattr(phase, "warmup_requests_per_lane", None) is not None
647647
and getattr(phase, "agentic_cache_warmup_duration", None) is None
648648
for phase in profiling_phases
649649
):
650650
raise ValueError(
651-
"--agentic-cache-warmup-requests-per-lane requires "
651+
"--warmup-requests-per-lane requires "
652652
"--agentic-cache-warmup-duration as a safety deadline."
653653
)
654654

src/aiperf/config/flags/_converter_profiling.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
"burst_phase_starts",
5555
"system_idle_gap_cap_seconds",
5656
"agentic_cache_warmup_duration",
57-
"agentic_cache_warmup_requests_per_lane",
57+
"warmup_requests_per_lane",
5858
"agentic_warmup_grace_period",
5959
)
6060

src/aiperf/config/flags/cli_config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2288,7 +2288,7 @@ def url(self) -> str:
22882288
),
22892289
] = None
22902290

2291-
agentic_cache_warmup_requests_per_lane: Annotated[
2291+
warmup_requests_per_lane: Annotated[
22922292
int | None,
22932293
Field(
22942294
gt=0,
@@ -2299,7 +2299,7 @@ def url(self) -> str:
22992299
"the safety deadline.",
23002300
),
23012301
CLIParameter(
2302-
name=("--agentic-cache-warmup-requests-per-lane",),
2302+
name=("--warmup-requests-per-lane",),
23032303
group=Groups.WARMUP,
23042304
),
23052305
] = None

src/aiperf/config/phases.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ class BasePhaseConfig(AdaptiveScalePhaseMixin, BaseConfig):
364364
),
365365
]
366366

367-
agentic_cache_warmup_requests_per_lane: Annotated[
367+
warmup_requests_per_lane: Annotated[
368368
int | None,
369369
Field(
370370
default=None,

0 commit comments

Comments
 (0)