Release: GPU agent autoscaler (throughput hill-climb, Auto default-on) #158

Merged
bvandeusen merged 1 commits from dev into main 2026-06-30 18:23:15 -04:00
Owner

Agent-only. Auto mode (default on) finds the worker count via a throughput hill-climb + VRAM back-off — apt now that each job runs 3 detectors + several SigLIP embeds (GPU-bound). Manual dial still available; "Auto" toggle in the control UI. Ships in the agent image. CI green on dev (run 1751).

🤖 Generated with Claude Code

Agent-only. Auto mode (default on) finds the worker count via a throughput hill-climb + VRAM back-off — apt now that each job runs 3 detectors + several SigLIP embeds (GPU-bound). Manual dial still available; "Auto" toggle in the control UI. Ships in the agent image. CI green on dev (run 1751). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
bvandeusen added 1 commit 2026-06-30 18:23:10 -04:00
feat(agent): autoscale the worker count (throughput hill-climb), Auto default-on
CI / lint (push) Successful in 3s
CI / frontend-build (push) Successful in 18s
CI / backend-lint-and-test (push) Successful in 26s
CI / integration (push) Successful in 3m23s
6d7b17b0b5
The new per-job workload (3 detectors + several SigLIP embeds) is far more
GPU-bound than the old I/O-bound CCIP pass, so the right worker count shifted and
is hard to guess. Add an Auto mode (default ON) that finds it:

- _control_loop samples jobs/sec + GPU util/VRAM every ~6s and hill-climbs the
  target: grow while throughput keeps improving and VRAM stays under budget,
  revert a step that doesn't help, back off under memory pressure (VRAM >= 90%),
  then settle and periodically re-probe (the GPU/IO balance shifts over a run).
- A manual concurrency set is an override → leaves Auto; an "Auto" toggle in the
  control UI re-enables it. status() reports `auto`; the dial reflects the
  auto-chosen count (read-only) while Auto is on.
- AUTO_SCALE env (default on) + compose doc. Agent py-compiled (outside CI).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ttrj5P7upUTueSfoJcxEqa
bvandeusen merged commit bdfc17477c into main 2026-06-30 18:23:15 -04:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: bvandeusen/FabledCurator#158