Repository navigation
Notebooks CI: refresh the Colab oracle snapshots to the current GPU runtime - #16373
Merged
Merged
Conversation
Member
Author
|
@codex review |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. You're on a roll. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
danielhanchen
added a commit
that referenced
this pull request
Nov 5, 2026
…PU runtime (#16738) ## Summary The scheduled `Notebooks CI` run on main (run 41980876609, 2026-11-05) fails `static + transitive resolve (cron / dispatch only)` in its `Diff Colab oracle vs committed snapshots (--strict on cron)` step: ``` === pip-freeze.gpu.txt: upstream=719 snapshot=719 diff=51 (new=0 removed=0 changed=51) === === apt-list-gpu.txt: upstream=1163 snapshot=1163 diff=0 (new=0 removed=0 changed=0) === === os-info-gpu.txt: upstream=4 snapshot=4 diff=0 (new=0 removed=0 changed=0) === ##[error]A rule-bearing Colab oracle drifted from its committed snapshot; run `notebook_validator.py refresh-colab --all --snapshot-dir scripts/data` to acknowledge. ``` The Colab GPU runtime moved to torch 2.14.1 after #16373 refreshed these snapshots on 2026-11-01. As before, nothing in Unsloth is wrong; the committed snapshot is behind. ## Change `python scripts/notebook_validator.py refresh-colab --all --snapshot-dir scripts/data`, as the step asks. Only `scripts/data/colab_pip_freeze.gpu.txt` changes (51 lines); the apt list and OS info are identical. The parts the rules and the smoke seed read: | | before | after | |---|---|---| | torch | 2.11.0+cu130 | 2.14.1+cu130 | | torchvision | 0.26.0+cu130 | 0.29.1+cu130 | | torchaudio | 2.11.0+cu130 | unchanged | | torchcodec | 0.11.0+cu130 | 0.17.0+cu130 | | triton | 3.6.0 | 3.8.0 | | transformers | 5.22.0 | 5.22.1 | | Python, peft, numpy | unchanged | unchanged | `colab_to_cpu_pin.json` needs no change: no CUDA wheel was renamed or removed, and every skip entry is still in the freeze. Colab keeps torchaudio at 2.11.0 next to torch 2.14.1, so I checked that the seed's CPU torch pins still resolve together: `torch==2.14.1`, `torchvision==0.29.1` and `torchaudio==2.11.0` resolve from the PyTorch CPU index. ## Testing - `colab-diff --strict` against the live oracle: exit 1 before the refresh, exit 0 after. - `tests/notebooks/test_smoke_install_contract.py`, `test_validator_fixtures.py` and `test_notebook_validator_shell_parsing.py`: 303 passed, 2 skipped on the refreshed file. These include the checks that every skip entry is present in the freeze, the skip list is closed under the freeze's dependencies, and every CUDA-only wheel is skipped.
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
The scheduled
Notebooks CIrun on main failsstatic + transitive resolve (cron / dispatch only)in itsDiff Colab oracle vs committed snapshots (--strict on cron)step. It has failed on every scheduled run since at least 2026-10-26, most recently 2026-11-01 (run 41280938100):The Colab GPU runtime has moved on since #14182 refreshed these snapshots on 2026-10-18. The step exists to make someone acknowledge that. Nothing in Unsloth is wrong; the committed snapshots are behind.
Change
python scripts/notebook_validator.py refresh-colab --all --snapshot-dir scripts/data, as the step asks. Only the three snapshot files change. The parts the rules and the smoke seed read:colab_to_cpu_pin.jsonneeds no change this time: no CUDA wheel was renamed, and every skip entry is still in the freeze.antlr4-python3-runtimestays in itsno_binarylist; the seed step intersects that list with the freeze, so the entry is inert until something brings the package back.Testing
colab-diff --strictagainst the live oracle: exit 1 before the refresh, exit 0 after.tests/notebooks/test_smoke_install_contract.py,test_validator_fixtures.pyandtest_notebook_validator_shell_parsing.py: 303 passed, 2 skipped on the refreshed files. These include the checks that every skip entry is present in the freeze, the skip list is closed under the freeze's dependencies, and every CUDA-only wheel is skipped.notebook_validator.py lint --colab-pinagainstunslothai/notebooks@main(d85d113) with the old and the new freeze: both give 86 errors and 6 warnings on the same rules, notebooks and cells. That lint step is advisory on cron (continue-on-error), and its backlog is unchanged.