Repository navigation
Notebooks smoke: run the install cell the way Colab does - #14058
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. Breezy! 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". |
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
Two install-cell smoke legs fail on main's scheduled
Notebooks CI(2026-10-17 06:39, run 39010742438):nb/Nemotron-3-Nano-30B-A3B_A100.ipynbnb/Qwen3_5_(4B)_Vision.ipynbBoth fail like this:
Their install cells use
!uv pip install, and the next line is!unsloth install-kernels(unslothai/notebooks #385). On Colab the uv lines work because Colab setsUV_SYSTEM_PYTHON=true. I checked this on a liverelease-colab-external-images_20261014runtime, along with itsCOLAB_*keys. The smoke job installs into the runner's system interpreter as a stand-in for Colab's, but its install step set neither:COLAB_.Setting only
UV_SYSTEM_PYTHONis not enough, which I tried first while working on #14056. The non-Colab branch then lefttransformers==4.57.6(installed--no-deps) besidehuggingface_hub1.29, which it refuses to import with, and the gpt-oss leg losttriton. Colab's own branch reinstalls with dependencies, so the job has to take that branch to test what Colab users run.Change
notebooks-ci.yml: theRun install cellstep setsUV_SYSTEM_PYTHON: 'true'and aCOLAB_SMOKE_SHAPED: '1'marker, with a comment explaining why.from unsloth import.COLAB_*keys Unsloth reads (COLAB_ENVIRONMENT,COLAB_IFRAME_HEIGHT, ...).disk_utils' genericCOLAB_scan never runs inside that step.tests/notebooks/test_smoke_install_contract.py:test_the_install_cell_runs_the_way_colab_doesrequires aCOLAB_*key andUV_SYSTEM_PYTHONon every step that runs the converted install cell.Testing
Notebooks CIwithinclude_smoke=trueon this branch (run 39017258647): all eight smoke legs pass, including Nemotron-3-Nano and Qwen3_5 Vision, which fail on main. GRPO and gpt-oss also still pass.No virtual environment found.unsloth install-kernelsran and chose its torch fallback for causal_conv1d and mamba_ssm on CPU torch.OK: imports pass under CUDA spoof.test_smoke_install_contract.pygives 39 passed. With the workflow change reverted, the new test fails.The
static + transitive resolvejob is still red in that run. That is the Colab oracle snapshot drift that has failed on every scheduled run since at least 2026-09-27, and it is unrelated to this change.