Repository navigation
feat: enable vLLM AgentX local and shared G2 replay - #381
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (1)
🔗 Linked repositories identifiedCodeRabbit considers these linked repositories for cross-repo context during reviews:
Included review availability: This review used your included allowance. Your plan provides up to 12 included reviews per hour; 10 remain after this review. 📜 Recent review details⏰ Context from checks skipped due to timeout. (25)
🧰 Additional context used📚 Code guidelines (2)📓 Path-based instructions (4)Check commands, defaults, supported runtimes, public names, and claims against executable behavior.⚙️ CodeRabbit configuration file Files:
Read REVIEW.md before commenting.⚙️ CodeRabbit configuration file Files:
Before making any change under: `python/aisimulate/src/aisimulate/generator/**` MUST read: `python/aisimulate/.claude/rules/generator-development.md` Before making any change under `python/aisimulate/collector/**` MUST read: `python/aisimul...📄 CodeRabbit inference engine (AGENTS.md) Files:
Source excerpt: Only workflows under the repository-root `.github/workflows/` run for this repository.📄 CodeRabbit inference engine (REVIEW.md) Files:
🪛 LanguageTooldocs/g2-cache-scope.md[style] ~219-~219: The double modal “requires aggregated” is nonstandard (only accepted in certain dialects). Consider “to be aggregated”. (NEEDS_FIXED) 🔀 Multi-repo context ai-dynamo/dynamo, ai-dynamo/aiconfiguratorLinked repositories findingsai-dynamo/dynamoInspected the branch associated with open PR
ai-dynamo/aiconfiguratorThe broad search found no matching AgentX, ReplaySpec, or host-offload contract references in this frozen compatibility reference. [::ai-dynamo/aiconfigurator::] 🔇 Additional comments (1)
📝 SummaryRisk: Medium. The three areas needing the most human attention are:
Behavior and contract changes
Evidence suppliedThe author reports 1,965 Rust library tests passed, with one existing ignore; 23 AgentX tests and 9 host-scope tests passed; and a freshly built, installed locked wheel passed 528 Python runner/G2/CLI tests. The author also reports both documented CLI examples completed and restored eight host input tokens. Formatting and packaging checks reportedly passed. These results are author-reported and not independently verified here. Hosted CI was pending, and qualification remains ReadinessFunctional qualification evidence is supplied, but hosted CI status and performance equivalence are not established. Dynamo integration and its end-to-end qualification are outside this change. Review severity counts are unavailable because no current review findings were supplied. The test reports do not constitute bot review approval. WalkthroughAgentX replay now supports qualified vLLM G2 host offload for specified static worker layouts. The change adds role validation, cache-reuse and lifecycle tests, functional fixtures, and documentation for configuration and qualification limits. ChangesAgentX G2 replay
Priority: ➖ Normal Estimated code review effort: 4 (Complex) | ~50 minutes Merge Risk: ⚪ Minimal · up to The documentation change does not establish a merge-blocking issue; it is ready for normal checks. 🚥 Pre-merge checks | ✅ 6 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (6 passed)
Full details: Description checkResolution Add a Review map with risk level, starting points, contract impact, and compatibility concerns. Add the missing Evidence fields, including exact test commands, CI status, reviewed commits, numerical-assertion derivation, and before/after output or trace. Add Modeling or data provenance with N/A if not applicable, and complete Tracking with issue or PR references, or N/A. Full details: Cross-Layer ContractExplanation The nested-rank Python Resolution Derive
Comment |
Signed-off-by: Harry Lee <harrli@nvidia.com>
22d8ad0 to
7f47667
Compare
Signed-off-by: Harry Lee <harrli@nvidia.com>
Signed-off-by: Harry Lee <harrli@nvidia.com>
…-01a109e3 Signed-off-by: Harry Lee <harrli@nvidia.com>
dreamtalen
left a comment
There was a problem hiding this comment.
[P3] Update the G2 unsupported-mode documentation
docs/g2-cache-scope.md:218 still says agentic snapshot/warmup host offload
is rejected. This PR enables qualified configurations. Replace the blanket
rejection with the supported limits or link to docs/agentx-g2.md.
Signed-off-by: Harry Lee <harrli@nvidia.com>
AgentX can use existing vLLM local/shared G2 through CLI, Python ReplaySpec and native JSON on one aggregated worker or 1P1D, with attention DP=1 per role. Python and native enforce the same support matrix, preserve explicit runner capabilities, and reject G3/speculation. Existing HBM-only behavior stays compatible.
This PR focuses on opening and qualifying the AgentX G2 guards, with original restoration/lifecycle fixtures and single-worker/1P1D examples. It uses the existing execution entrypoints. The proposed generic JSON/composition bridge, public core-version export and paired source-install recipe have been removed following review. There are no Cargo, package-version or consumer-build changes.
Dynamo integration belongs to #15626, built on #15647's existing MockEngineArgs and replay wiring. Its installation and end-to-end qualification are separate from this Engine acceptance.
Validation on current
9fb66903, including main throughb0ae2eda: 1,965 Rust library tests passed (1 existing ignore), 23 AgentX tests and 9 host-scope tests passed. A freshly built and installed locked wheel passed 528 Python runner/G2/CLI tests. Both documented CLI examples completed and restored eight input tokens from host; the shared example reports one eight-block pool. Rust formatting, generated CODEOWNERS and packaged legal-file checks pass. Hosted CI for this update is pending. Qualification remainsfunctional_only.