unsloth/scripts
Daniel Han 484a0d9f64
Acknowledge the Colab rotation the oracle snapshot is measuring (#9376)
`Notebooks CI :: static + transitive resolve` has failed all 20 of its last cron
runs on one step, `colab-diff --strict`. Nothing is broken. That step is a drift
alarm: it compares googlecolab/backend-info against scripts/data/colab_*.txt and
fails when Colab rotates, and the `Refresh Colab oracle` step below it writes only
into the runner's checkout. So no refresh is ever committed back, and the alarm
re-fires every night until someone acknowledges it, which is what this does. The
step's own comment names the action: "refresh-colab --all acknowledges a report."

The drift is 127 entries: 5 new, 6 removed, 116 version bumps.

Why this is safe to take wholesale
------------------------------------------------------------------------
The snapshot is the oracle `lint --colab-pin` resolves R-INST-002/003/004/005
against, so refreshing it could in principle move a verdict. It does not. Exactly
one rule-relevant pin drifted, peft 0.19.1 -> 0.20.0, and both sides sit above the
0.19 trigger in the peft/torchao floor table; torchao itself does not appear in the
diff at all. Confirmed rather than argued, by linting unslothai/notebooks@main
against the old and new oracles and comparing the findings:

  old   6 R-API-003, 8 R-INST-001, 36 R-INST-003, 1 R-INST-005
  new   6 R-API-003, 8 R-INST-001, 36 R-INST-003, 1 R-INST-005

Identical, so this commit changes what the alarm says and nothing about what the
linter concludes.

Worth reading before the next rotation
------------------------------------------------------------------------
os-info drift is printed but never fails, and nothing reads that file, so this is
not a CI matter. It is still the most interesting line in the diff: Colab has moved
from Python 3.12.13 to 3.13.15 (and R 4.6.0 to 4.6.1). Flagging it here because it
is the kind of change that surfaces in a notebook long before it surfaces in a lint
rule.

The 36 R-INST-003 findings are pre-existing and remain open. They are real: peft's
is_torchao_available() raises ImportError when torchao is installed below 0.16.0,
which is a runtime check inside peft rather than a declared dependency, so it is
invisible in PyPI metadata and reachable from any get_peft_model call. That backlog
belongs to unslothai/notebooks and the lint step is continue-on-error until it
clears.

Verified: colab-diff --strict exits 0; tests/notebooks 32 passed, 2 skipped.

Co-authored-by: danielhanchen <unslothai@gmail.com>
2026-08-20 04:15:05 -07:00
..
data Acknowledge the Colab rotation the oracle snapshot is measuring (#9376) 2026-08-20 04:15:05 -07:00
build_prequant_checkpoint.py Studio: run MiniMax-H3's INT8 denoiser from the ConvRot checkpoint (#8293) 2026-08-10 01:00:16 -07:00
build_te_prequant_checkpoint.py Studio: add image generation, editing workflows and LoRA training with Unsloth GGUFs (#6763) 2026-08-04 08:11:01 -07:00
build_whisper_cpp.sh Studio: add local speech-to-text dictation engine (#7095) 2026-07-23 01:39:03 -07:00
check_frontend_dep_removal.py Reduce and tighten code comments and docstrings repo-wide (#6095) 2026-06-08 23:09:51 -07:00
check_new_install_scripts.py Reduce and tighten code comments and docstrings repo-wide (#6095) 2026-06-08 23:09:51 -07:00
compare_engines.py Studio: add image generation, editing workflows and LoRA training with Unsloth GGUFs (#6763) 2026-08-04 08:11:01 -07:00
compile_probe.py Studio: add image generation, editing workflows and LoRA training with Unsloth GGUFs (#6763) 2026-08-04 08:11:01 -07:00
diffusion_bench.py Studio: add image generation, editing workflows and LoRA training with Unsloth GGUFs (#6763) 2026-08-04 08:11:01 -07:00
diffusion_quality.py Studio: add image generation, editing workflows and LoRA training with Unsloth GGUFs (#6763) 2026-08-04 08:11:01 -07:00
enforce_kwargs_spacing.py Reduce and tighten code comments and docstrings repo-wide (#6095) 2026-06-08 23:09:51 -07:00
fbcache_flux_probe.py Studio: add image generation, editing workflows and LoRA training with Unsloth GGUFs (#6763) 2026-08-04 08:11:01 -07:00
fp8_overflow_check.py Studio: add image generation, editing workflows and LoRA training with Unsloth GGUFs (#6763) 2026-08-04 08:11:01 -07:00
image_speedmem_bench.py Report the precision actually in use, and refuse an explicit one we cannot honor (#8165) 2026-08-09 01:15:13 -07:00
install_gemma4_mlx.sh Update Install Scripts (#5968) 2026-06-03 05:39:42 -07:00
install_qwen3_6_mlx.sh Studio: drop the mlx-lm 0.31.3 exclusion so current mlx-vlm resolves (#7061) 2026-08-07 02:41:04 -03:00
install_rocm_wsl_strixhalo.sh Pin the ROCm-on-WSL bootstrap to immutable refs (#8540) 2026-08-12 06:37:05 -07:00
int8_linear_probe.py Studio: add image generation, editing workflows and LoRA training with Unsloth GGUFs (#6763) 2026-08-04 08:11:01 -07:00
leverage_probe.py Studio: add image generation, editing workflows and LoRA training with Unsloth GGUFs (#6763) 2026-08-04 08:11:01 -07:00
lint_backend_python_floor.py One interpreter leg on a pull request, and a floor lint that reads more than syntax (#9100) 2026-08-17 18:48:26 -07:00
lint_no_parallel_clamp.py Studio: stop MTP forcing llama-server to a single parallel slot (#8172) 2026-08-08 21:09:58 -07:00
lint_workflow_triggers.py Harden the workflow-trigger lint: scan .yaml, and host it outside the workflow it audits (#8545) 2026-08-12 09:55:26 -07:00
lockfile_supply_chain_audit.py security: lockfile audit must block non-registry sources and missing integrity by default (#8541) 2026-08-12 05:36:17 -07:00
make_dmg_background.py Start the bottom taper under the icon so the disc still reads round (#8321) 2026-08-10 01:06:59 -07:00
notebook_to_python.py Reduce and tighten code comments and docstrings repo-wide (#6095) 2026-06-08 23:09:51 -07:00
notebook_validator.py Make the Colab oracle tripwire able to fire, and stop blaming start.py for a hung agent CLI (#7838) 2026-08-04 07:42:42 -07:00
nvfp4_probe.py Studio: add image generation, editing workflows and LoRA training with Unsloth GGUFs (#6763) 2026-08-04 08:11:01 -07:00
nvfp4_t211_probe.py Studio: add image generation, editing workflows and LoRA training with Unsloth GGUFs (#6763) 2026-08-04 08:11:01 -07:00
online_tokenization_ab.py Studio: tokenize the dataset online for plain-text single-pass runs (#8960) 2026-08-16 04:55:53 -07:00
perf_levers_probe.py Studio: add image generation, editing workflows and LoRA training with Unsloth GGUFs (#6763) 2026-08-04 08:11:01 -07:00
perf_verify.py Studio: add image generation, editing workflows and LoRA training with Unsloth GGUFs (#6763) 2026-08-04 08:11:01 -07:00
prequant_probe.py Studio: add image generation, editing workflows and LoRA training with Unsloth GGUFs (#6763) 2026-08-04 08:11:01 -07:00
profile_startup.py Measure where Studio's startup time actually goes (#7553) 2026-07-28 22:24:34 -07:00
quant_probe.py Studio: add image generation, editing workflows and LoRA training with Unsloth GGUFs (#6763) 2026-08-04 08:11:01 -07:00
run_ruff_format.py Reduce and tighten code comments and docstrings repo-wide (#6095) 2026-06-08 23:09:51 -07:00
scan_npm_packages.py Replace standalone Studio wording with Unsloth (#7221) 2026-07-19 00:47:04 -07:00
scan_npm_packages_baseline.json scan_packages: key baseline on matched-code hash so payloads in baselined files are not auto-suppressed (#6552) 2026-07-01 04:03:59 -07:00
scan_packages.py Scan package archives across cores instead of one at a time (#9024) 2026-08-16 21:46:14 -07:00
scan_packages_baseline.json Allowlist huggingface-hub's http_backoff loop so Security audit stops failing (#9252) 2026-08-18 22:02:31 -07:00
sd_cpp_smoke.py Studio: add image generation, editing workflows and LoRA training with Unsloth GGUFs (#6763) 2026-08-04 08:11:01 -07:00
sdpa_mask_backend_probe.py Diffusion: replace the attention perf claims with re-measured numbers (#8021) 2026-08-06 05:47:31 -07:00
sparse_accum_probe.py Studio: add image generation, editing workflows and LoRA training with Unsloth GGUFs (#6763) 2026-08-04 08:11:01 -07:00
stamp_studio_release.py Replace standalone Studio wording with Unsloth (#7221) 2026-07-19 00:47:04 -07:00
sync_allow_scripts_pins.py Studio: auto-sync allowScripts pins after dependency bumps (#6136) 2026-06-10 02:35:37 -07:00
uninstall.ps1 Install Studio on a Windows host whose C# compiler cannot run (#9178) 2026-08-19 08:03:21 -07:00
uninstall.sh Studio: install sd.cpp under the Studio home, not beside it (#8226) 2026-08-10 07:03:20 -07:00
verify_comment_only_diff.py Reduce and tighten code comments and docstrings repo-wide (#6095) 2026-06-08 23:09:51 -07:00
verify_import_hoist.py feat(studio): rework train page setup flow (#7633) 2026-08-06 04:26:05 -07:00
verify_prequant_backend.py Studio: add image generation, editing workflows and LoRA training with Unsloth GGUFs (#6763) 2026-08-04 08:11:01 -07:00
video_quality.py Video: make MiniMax-H3's Diffusers path fast by default (#8320) 2026-08-10 04:31:09 -07:00
virustotal_scan.py Reduce antivirus false positives in the desktop installers (#8586) 2026-08-13 07:02:18 -07:00