Some checks are pending
build-images / api (push) Waiting to run
build-images / worker-gpu (push) Waiting to run
build-images / web (push) Waiting to run
codeql / Analyze (javascript-typescript) (push) Waiting to run
codeql / Analyze (python) (push) Waiting to run
perf / API hot-path micro-smoke (budgeted) (push) Waiting to run
perf / Desktop engine crates (release build check) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (comfy-workflow-schema) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (effects-core) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (eventbus-types) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (growth-analytics) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (trends-schema) (push) Waiting to run
vision2026-ci / API phase modules (ruff + pytest) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (provider-adapter-kit) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (publishing-connectors) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (render-core) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (shot-template-schema) (push) Waiting to run
vision2026-ci / Python SDK resource tests (push) Waiting to run
vision2026-ci / Desktop engine crates (test + clippy + fmt) (push) Waiting to run
vision2026-ci / Alembic upgrade + drift check (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (caption-engine) (push) Waiting to run
Paid, hosted product at menivor.com, now retired as a company project. Fresh squashed history of the cleaned working tree (secret-scanned, no .env, no customer data, no outreach logs). Built on MoneyPrinterTurbo (MIT, harry0703) — see NOTICE.
48 lines
1.4 KiB
YAML
48 lines
1.4 KiB
YAML
# GPU autoscale controller (P8/P12): scale GPU render workers on queue-depth ×
|
||
# wallet-held-budget, with a costguard breaker and predictive pre-warm. The
|
||
# controller reconciles desired replicas per GPU queue from these inputs.
|
||
version: 1
|
||
|
||
controller:
|
||
interval_s: 15
|
||
# Desired replicas = clamp( ceil(queue_depth / target_per_replica), min, max )
|
||
# but never provisioning more capacity than the held wallet budget can pay for.
|
||
cost_guard:
|
||
enabled: true
|
||
# Hard breaker: if projected spend in the next window exceeds held budget,
|
||
# stop scaling UP (never interrupts in-flight jobs).
|
||
max_projected_overage_pct: 0
|
||
held_budget_source: wallet.reserved_micros
|
||
|
||
pools:
|
||
- queue: render
|
||
gpu: L4
|
||
min_replicas: 0
|
||
max_replicas: 20
|
||
target_depth_per_replica: 4
|
||
prewarm:
|
||
enabled: true
|
||
# Predictive pre-warm from the rolling p50 arrival rate to hide cold starts.
|
||
lookahead_s: 120
|
||
keep_warm: 1
|
||
- queue: generation
|
||
gpu: A10G
|
||
min_replicas: 0
|
||
max_replicas: 12
|
||
target_depth_per_replica: 4
|
||
- queue: film
|
||
gpu: A100
|
||
min_replicas: 0
|
||
max_replicas: 4
|
||
target_depth_per_replica: 2
|
||
- queue: batch
|
||
gpu: L4
|
||
min_replicas: 0
|
||
max_replicas: 8
|
||
target_depth_per_replica: 6
|
||
priority: low # yields capacity to interactive render/generation
|
||
|
||
scale_down:
|
||
stabilization_s: 300 # avoid thrash; drain before removing a node
|
||
scale_to_zero_idle_s: 600
|