Repository navigation
feat(colab_fleet): warm GPU reuse reset, 3 tiered queues, peak-503 backfill & off-peak burst - #39
Merged
saariuslystoned merged 1 commit intoNov 27, 2026
Conversation
…ckfill & off-peak burst Implements four dispatcher upgrades for tools/colab_fleet.py: 1. Warm VM reuse pool with clean workspace & GPU cache reset (--reset-between-jobs) between sequential jobs on scarce GPUs (H100/A100/L4), TPUs, and CPUs. 2. Three independent tiered queues (heavy-gpu, light-gpu, tpu-cpu) so a 503-blocked heavy-GPU head never starves remaining slots. 3. Automatic peak-503 backfill (--peak-backfill, --max-light-gpu-slots 2) into light-GPU (T4_HM) + TPU + CPU slots up to <=7 total, with opportunistic promotion release back to heavy-GPU as slots reopen. 4. Off-peak burst window scheduling (00:00-07:00 EST, --offpeak-max-heavy-gpu-slots 3 vs --peak-max-heavy-gpu-slots 2) with ToS-clean immediate stop on 412/429 and zero retry hammering. Signed-off-by: Bobby Bones <saariuscrypto@gmail.com>
saariuslystoned
deleted the
feat/colab-fleet-tiered-backfill-and-offpeak
branch
November 27, 2026 03:03
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.
Summary
Implements four dispatcher upgrades in
tools/colab_fleet.py:--reuse-sessions,--reset-between-jobs): Keeps scarce GPUs (H100/A100_HM/A100/L4), TPUs, and CPUs alive across compatible queued jobs viacolab exec, running a lightweight/tmp/fleet_job_*+torch.cuda.empty_cache()reset between jobs, and draining immediately when the queue empties or--floor-cu/SIGINT/SIGTERMhits.heavy-gpu,light-gpu,tpu-cpu): Auto-inferred fromaccelerator_class+sku_preference(or explicittierin queue JSON) so a503-blockedA100/H100head never starves the remaining 6 slots.503Backfill & Opportunistic Promotion (--peak-backfill,--max-light-gpu-slots 2): Backfills open slots up to<= 7withlight-gpu(T4_HM/T4) +TPU(V5E1) +CPU_HMwhen heavy GPUs return503, and releases finishinglight-gpusessions (promotion_release_for_heavy_gpu) when heavy GPUs become ready.00:00–07:00 EST): Allows--offpeak-max-heavy-gpu-slots 3during off-peak vs--peak-max-heavy-gpu-slots 2during peak, with ToS-clean immediate stop on412/429(COLAB_CLI_ASSIGN_RETRIES=0, zero retry hammering).Verification
python3 tools/colab_fleet.py --self-test— PASSpython3 tools/test_colab_fleet.py -v— 12/12 PASS (including warm A100 workspace-reset reuse, peak-503 backfill across 3 independent tiered queues, off-peak EST window detection & stacking caps, polite pacing, and R2 endpoint redaction).