[recipe] add Agentic-K3 recipe - #1941
Open
gbyu-amd wants to merge 2 commits into
Open
Conversation
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Contributor
🏷️ CI GuideRuns automatically on every eligible PR before approval:
Heavy model tests:
|
con8 ran with neither tier: 32 seqs, 96 checkpoint slots, all of it in
HBM. Moving it onto the same LMCache + state-offload pair con10 uses --
16 seqs, 16 slots, 32 GiB/rank of CPU KV -- measures faster, so that is
what the profile should say. ReplaySSM stays on and the batched-token
budget stays at 8192, which is where con8 still differs from con10.
Three defaults the shared blocks got wrong for anyone who enables them
outside a named profile, all found the hard way:
- LMCACHE_MAX_LOCAL_CPU_SIZE fell back to 200 GiB. Each rank allocates
its own, and 200 hangs the launch mid-pin (seen at rank 2). 32.
- OFFLOAD_GPU_STAGING_CHUNKS was set but unexplained. The default is
2 chunks (8 MiB), one K3 state entry is 54.78 MiB, and a buffer that
cannot hold one entry makes the tier decline to build -- one log
line, then nothing offloads, which reads exactly like a tier that is
on and idle.
- OFFLOAD_SAVE_PER_REQ_CACHE has no line here and should not get one.
A sequence owning per-request state has its KV load leg refused, so
saving that KV costs ~8% throughput for bytes nothing reads back.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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.
Motivation
Technical Details
Test Plan
Test Result
Submission Checklist