feat: add Claude-driven agentic tuner as an optional extra - #131
Closed
aas008 wants to merge 1 commit into
Closed
Conversation
Port the Team TOA hackathon agent (read-only baseline, pod-per-experiment, GuideLLM, log parsing) into auto-tune-vllm as `auto-tune-vllm agent`, without changing the Optuna optimizer. Co-authored-by: Cursor <cursoragent@cursor.com>
Contributor
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (26)
📝 WalkthroughWalkthroughThe pull request adds an optional Claude-driven vLLM tuning agent. It includes autonomous benchmarking, OpenShift experiment pods, SSH execution, profiling, trace and log analysis, cost and regression analysis, CLI integration, and Markdown/JSON reporting. ChangesAgentic vLLM tuner
Estimated code review effort: 5 (Critical) | ~120 minutes Sequence Diagram(s)sequenceDiagram
participant CLI
participant AgenticRunner
participant ClaudeClient
participant AgentTools
participant PodManager
participant vLLM
participant Reporter
CLI->>AgenticRunner: start tuning run
AgenticRunner->>ClaudeClient: send baseline and tuning instructions
ClaudeClient-->>AgenticRunner: return tool call
AgenticRunner->>AgentTools: dispatch benchmark or tuning action
AgentTools->>PodManager: create isolated experiment pod
PodManager->>vLLM: start pod and port-forward endpoint
AgentTools->>vLLM: run benchmark
vLLM-->>AgentTools: return throughput and latency metrics
AgentTools-->>AgenticRunner: return structured result
AgenticRunner->>ClaudeClient: analyze result and request next action
AgenticRunner-->>CLI: return AgentState
CLI->>Reporter: generate Markdown and JSON reports
Possibly related PRs
✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
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.
Port the TOA hackathon agent into auto-tune-vllm as
auto-tune-vllm agent, without changing the Optuna optimizer.Summary by CodeRabbit
New Features
agentCLI command and configurable workload profiles.Documentation