Repository navigation
Notebooks CI: refresh the Colab oracle snapshot to the torch 2.14.1 GPU runtime - #16738
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. Already looking forward to the next diff. 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 12, 2026
#17578) ## Summary The scheduled `Notebooks CI` run fails on main in `static + transitive resolve (cron / dispatch only)`: ``` A rule-bearing Colab oracle drifted from its committed snapshot; run `notebook_validator.py refresh-colab --all --snapshot-dir scripts/data` to acknowledge. ``` `notebook_validator.py colab-diff --strict` against the live Colab GPU runtime shows one change since the last refresh (#16738): ``` === pip-freeze.gpu.txt: upstream=719 snapshot=719 diff=1 (new=0 removed=0 changed=1) === CHANGED nvidia-cudnn-cu12: 9.27.0.42 -> 9.28.1.4 === apt-list-gpu.txt: ... no drift === os-info-gpu.txt: ... no drift ``` Colab moved its GPU image to a newer cuDNN wheel. The check is working as intended: it asks for the drift to be acknowledged. ## Change - `scripts/data/colab_pip_freeze.gpu.txt`: regenerated with `refresh-colab --all`. The only line that changes is `nvidia-cudnn-cu12==9.27.0.42` -> `9.28.1.4`. The apt and OS snapshots came back identical. `scripts/data/colab_to_cpu_pin.json` names `nvidia-cudnn-cu12` only by package name (as a GPU-only wheel to drop on CPU), so nothing else depends on the version. ## Testing - `notebook_validator.py colab-diff --snapshot-dir scripts/data --strict`: drift on main, no drift here. - `tests/notebooks/test_colab_oracle_drift.py`, `test_validator_fixtures.py`, `test_notebook_validator_shell_parsing.py`, `test_smoke_install_contract.py`, `tests/python/test_torchcodec_torch_compat.py`: 442 passed, 2 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 (run 41980876609, 2026-11-05) failsstatic + transitive resolve (cron / dispatch only)in itsDiff Colab oracle vs committed snapshots (--strict on cron)step: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. Onlyscripts/data/colab_pip_freeze.gpu.txtchanges (51 lines); the apt list and OS info are identical. The parts the rules and the smoke seed read:colab_to_cpu_pin.jsonneeds 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.1andtorchaudio==2.11.0resolve from the PyTorch CPU index.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 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.