Commit ce379be
feat: add GPU instance lifecycle CLI for model serving (#189)
Add `openadapt-gpu` CLI that automates the full GPU experiment workflow:
launch EC2 instance, install inference engine (SGLang/vLLM), serve model,
set up SSH tunnel, and terminate. Replaces 9 manual steps with one command.
Commands: launch, status, terminate, serve, run-comparison, ssh, logs.
State persisted to ~/.openadapt/gpu_state.json so terminate always works
even when SSH is broken (uses EC2 API directly).
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent e787d0c commit ce379be
2 files changed
Lines changed: 471 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| 119 | + | |
| 120 | + | |
119 | 121 | | |
120 | 122 | | |
121 | 123 | | |
| |||
0 commit comments