Skip to content

Notebooks CI: refresh the Colab oracle snapshot to the torch 2.14.1 GPU runtime - #16738

Merged
danielhanchen merged 1 commit into
mainfrom
nb-colab-oracle-refresh-1105
Nov 5, 2026
Merged

danielhanchen merged 1 commit into
mainfrom
nb-colab-oracle-refresh-1105

Conversation

@danielhanchen

Copy link
Copy Markdown
Member

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.

@danielhanchen

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 5, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-05T07:12:15.235198Z 138cadd Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Already looking forward to the next diff.

Reviewed commit: 138cadd359

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

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
danielhanchen merged commit 0efd019 into main Nov 5, 2026
@danielhanchen
danielhanchen deleted the nb-colab-oracle-refresh-1105 branch November 5, 2026 07:17
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant