Repository navigation
fix(colab_fleet,h100_fast_kernels): reap READ_TIMEOUT orphans, fix workspace reset, catch IPython crash, keep GC on 80 GiB looped MoE - #41
Merged
Conversation
… workspace reset, catch IPython crash, keep GC on 80 GiB looped MoE
saariuslystoned
deleted the
fix/colab-fleet-orphan-reap-and-looped-gc
branch
November 27, 2026 20:07
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
Fixes four reliability issues observed during live multi-tier Colab fleet runs:
READ_TIMEOUTorphan runtimes (tools/colab_fleet.py): Whencolab newhits a client read timeout after Colab finishes allocating an unnamed runtime ([?] <endpoint>), difflist_sessions()againstbefore_epsand unassign ONLY newly appeared matching-kind unnamed endpoints (preserving all pre-existing external sessions).tools/colab_fleet.py):google-colab-cli execdoes not support-c; write_reset_workspace.pyatomically undercfg_dirand pass-f.tools/colab_fleet.py): Whencolab execexits0despite an unhandled IPython traceback and requireddownloadsfail, mark the jobfailed(ipython_exception_missing_outputs/missing_outputs) and do not park the session for reuse.tools/h100_fast_kernels.py): Auto-detect looped architectures (num_loop_steps > 1,loop_count > 1,num_loops > 1,num_recurrent_steps > 1, or explicitlooped_model=True) and applylooped_disable_gc_threshold_gb=110.0so 36-loop MoE models do not OOM on 80 GiB A100/H100 while preserving the>= 70 GiBbehavior for standard transformers.Proof
python3 tools/test_colab_fleet.py -v: 14/14 PASSpython3 tools/test_h100_fast_kernels.py -v: 7/7 PASSpython3 tools/colab_fleet.py --self-test:all_passed: true