feat: add per-lane request budgets to agentic cache warmup - #26
Open
cquil11 wants to merge 1 commit into
Open
Conversation
Try out this PRQuick install: pip install --upgrade --force-reinstall git+https://github.com/ai-dynamo/aiperf.git@08ec06877e94961b54a0ca0374c168a6bb7fa1bdRecommended with virtual environment (using uv): uv venv --python 3.12 && source .venv/bin/activate
uv pip install --upgrade --force-reinstall git+https://github.com/ai-dynamo/aiperf.git@08ec06877e94961b54a0ca0374c168a6bb7fa1bdLast updated for commit: |
|
Fern Docs Preview: generation failed — see the Actions log for details. This does not block merge; ask a maintainer to retry if needed. |
cquil11
marked this pull request as ready for review
July 29, 2026 15:39
Port the per-lane warmup quota and robust warmup-to-profiling handoff onto the AgentX v1.0 lineage. Signed-off-by: Cam Quilici <cjquilici@gmail.com>
cquil11
force-pushed
the
cquil11/deterministic-agentic-warmup-count
branch
from
July 29, 2026 16:41
c13b96c to
08ec068
Compare
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.
What
--warmup-requests-per-laneas a deterministic alternative to--agentic-cache-warmup-durationrequests_per_lane × active_lanesrequest cap as a zero-overshoot backstopWhy
Duration-only cache-pressure warmup makes request depth depend on server speed. The same C1 workload sent 670 warmup requests in one run and 343 in another, advancing the live conversation cursors by different amounts before profiling. A strict per-lane request budget makes the warmup depth stable across runs instead of letting faster lanes consume a shared global budget.
Example:
--concurrency 16 --warmup-requests-per-lane 10sends exactly 10 warmup requests on each lane (160 total). Use--agentic-cache-warmup-duration 600instead when a time-bounded warmup is desired; the two options are mutually exclusive.Validation
uv run pre-commit run --all-files: all hooks passed