unsloth/scripts
Daniel Han eb49b6f8b8
Fix main CI: rewind and Skills strings, token count harness, deep research contract, zoo 2026.10.5 scan baseline (#13701)
* Studio i18n: move the Italian rewind filesNotRestored string into rewind

#13676 added it under settings.data.library, so the overlay parity check
in Frontend CI fails with an overlay key missing from en.

* Tests: lift arrow-function consts like functions in the node harness resolver

#13687 added const skillsForTools = () => ..., which reads the zustand
Skills switch store. The resolver treated it as an eagerly evaluated const
and dropped it because the store cannot be lifted, so the token count
parity harness failed with ReferenceError: skillsForTools is not defined.
An arrow or function expression reads its references only when called.
The parity harness also gets a stand-in Skills switch store.

* Baseline the unsloth-zoo 2026.10.5 findings after review

Five pinned zoo sites moved digest in 2026.10.5. Four have the same matched
code; speculative.py adds two mx.eval calls (MLX array evaluation). The rest
of each file's 2026.10.4 to 2026.10.5 diff adds no network, exec or
process code.

* Studio i18n: translate skills.turnOff in every overlay

#13687 added the Skills switch's Turn off skills label in en only, so the
strict overlay check in Frontend CI fails with it missing from all 13.

* Tests: follow the keyed + menu in the deep research contract

#13679 builds the chat + menu from a keyed list, so the one-shot gate is now
deepResearch: researchAvailable ? ( ... ) : null.

* Tests: shorten the deep research contract comment
2026-10-14 03:20:30 -07:00
..
data Strip distro .devN markers from the Colab pins (#11326) 2026-09-19 02:16:39 -07:00
windows_sac_probe SAC probe: verify Studio identity before sending a password (#12176) 2026-09-28 01:17:56 -07:00
av_shapes_baseline.json unsloth start vibe: launch Mistral Vibe against a running Unsloth server (#8180) 2026-10-05 07:11:40 -07:00
build_prequant_checkpoint.py Studio: judge hosted pre-quant checkpoints before downloading them, and make the int8 fingerprint torchao-version-neutral (#13339) 2026-10-12 04:15:13 -07:00
build_te_int8_convrot_checkpoint.py Studio: int8 ConvRot text encoder for Qwen-Image-2.1, fp8 fallback (#12684) 2026-10-05 08:09:24 -07:00
build_te_prequant_checkpoint.py Use Unsloth for bare Studio product references (#9732) 2026-08-26 01:55:49 -07:00
build_whisper_cpp.sh Keep the regenerable caches inside the Studio root (#10597) 2026-09-20 06:20:41 -07:00
check_frontend_dep_removal.py Reduce comment volume across the installers, CLI, unsloth package and backend utilities (#10504) 2026-09-10 05:57:33 -07:00
check_new_install_scripts.py Trim comments in tests, scripts, CI helpers and unsloth_cli (#10113) 2026-09-04 15:31:50 -07:00
clef_train_bench.py Train any text or vision LLM as a Clef decision model from Studio, with FastDecisionModel.predict and adapter saves (#12876) 2026-10-07 05:52:14 -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
convert_prequant_to_safetensors.py Studio: read pre-quantized diffusion checkpoints from safetensors on torchao 0.17, 0.18 and main (#12645) 2026-10-04 04:57:38 -07:00
diffusion_bench.py Studio: whole-model NVFP4 for the video families with hosted pre-quantized denoisers (#10729) 2026-09-25 16:22:17 -07:00
diffusion_quality.py Reduce comment volume across the installers, CLI, unsloth package and backend utilities (#10504) 2026-09-10 05:57:33 -07:00
enforce_kwargs_spacing.py Let the formatter fixed-point guard start on Windows (#11145) 2026-09-16 20:02:06 -07:00
exec_literals_baseline.json Fix the exec-literal, encoding and formatter gates #13520, #13534 and #13536 left red on main (#13543) 2026-10-12 23:56:55 -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 Studio: auto step cache (FBCache) only on the max speed tier (#11791) 2026-09-25 11:23:46 -07:00
install_gemma4_mlx.sh Reduce comment volume across the installers, CLI, unsloth package and backend utilities (#10504) 2026-09-10 05:57:33 -07:00
install_qwen3_6_mlx.sh Reduce comment volume across the installers, CLI, unsloth package and backend utilities (#10504) 2026-09-10 05:57:33 -07:00
install_rocm_wsl_strixhalo.sh fix(amd): turn on PyTorch's fast ROCm attention kernels on import unsloth, and drop the installers' host-wide export (#8821) 2026-09-15 06:53:48 -07:00
int8_linear_probe.py Trim comments in tests, scripts, CI helpers and unsloth_cli (#10113) 2026-09-04 15:31:50 -07:00
kv_cache_multiturn_benchmark.py Fix: Support past_key_values in model.generate for multi-turn conversations (#4232) 2026-09-29 11:59:43 -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_av_shapes.py Unpack the mirrored uv wheel with python3 -m zipfile instead of an inline one-liner (#12194) 2026-09-28 07:09:49 -07:00
lint_backend_python_floor.py Reduce comment volume across the installers, CLI, unsloth package and backend utilities (#10504) 2026-09-10 05:57:33 -07:00
lint_duplicate_definitions.py Reduce comment volume across the installers, CLI, unsloth package and backend utilities (#10504) 2026-09-10 05:57:33 -07:00
lint_exec_literals.py Skip Unsloth's generated compile cache in the exec-literal lint (#12014) 2026-09-26 03:05:13 -07:00
lint_no_duplicate_ts_imports.py Fail Source lint on a duplicate TypeScript import binding (#8548) 2026-09-21 03:20:51 -07:00
lint_no_parallel_clamp.py Trim comments in tests, scripts, CI helpers and unsloth_cli (#10113) 2026-09-04 15:31:50 -07:00
lint_risky_loaders.py Add a fast lint gate for risky loader call sites (#12636) 2026-10-03 12:16:19 -07:00
lint_workflow_triggers.py Pin the last 53 mutable action tags, and give the cache lint the direction it lacked (#11518) 2026-09-23 02:31:51 -07:00
lockfile_supply_chain_audit.py Studio Desktop: stop the launch-time PATH probe from rewriting shell history (#12846) 2026-10-06 06:55:01 -07:00
make_dmg_background.py Trim comments in tests, scripts, CI helpers and unsloth_cli (#10113) 2026-09-04 15:31:50 -07:00
notebook_to_python.py Reduce comment volume across the installers, CLI, unsloth package and backend utilities (#10504) 2026-09-10 05:57:33 -07:00
notebook_validator.py Acknowledge the Colab oracle drift, and stop the diff hiding entries (#11324) 2026-09-19 00:04:01 -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 Trim comments in tests, scripts, CI helpers and unsloth_cli (#10113) 2026-09-04 15:31:50 -07:00
online_tokenization_ab.py Trim comments in tests, scripts, CI helpers and unsloth_cli (#10113) 2026-09-04 15:31:50 -07:00
p2p_integrity_probe.py Use Unsloth branding in remaining user-facing text (#11254) 2026-09-18 01:58:29 -07:00
perf_levers_probe.py Trim comments in tests, scripts, CI helpers and unsloth_cli (#10113) 2026-09-04 15:31:50 -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 Trim comments in tests, scripts, CI helpers and unsloth_cli (#10113) 2026-09-04 15:31:50 -07:00
profile_startup.py Reduce comment volume across the installers, CLI, unsloth package and backend utilities (#10504) 2026-09-10 05:57:33 -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
risky_loaders_baseline.json Diffusion LM training: compiled chunked loss with 0 graph breaks, plus per-family samplers (#13341) 2026-10-13 09:26:57 -07:00
run_ruff_format.py Refuse to format when ruff cannot run, and stop the fixed-point guard skipping itself away in CI (#10726) 2026-09-10 06:07:15 -07:00
scan_npm_packages.py Harden installer source selection, ROCm helper staging and npm scanner cleanup (#12402) 2026-10-01 01:47:37 -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 Baseline the eight unsloth-zoo 2026.10.1 findings after review (#12884) 2026-10-06 12:20:37 -07:00
scan_packages_baseline.json Fix main CI: rewind and Skills strings, token count harness, deep research contract, zoo 2026.10.5 scan baseline (#13701) 2026-10-14 03:20:30 -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 Trim comments in tests, scripts, CI helpers and unsloth_cli (#10113) 2026-09-04 15:31:50 -07:00
sparse_accum_probe.py Trim comments in tests, scripts, CI helpers and unsloth_cli (#10113) 2026-09-04 15:31:50 -07:00
stamp_studio_release.py Let the formatter fixed-point guard start on Windows (#11145) 2026-09-16 20:02:06 -07:00
sync_allow_scripts_pins.py Let the formatter fixed-point guard start on Windows (#11145) 2026-09-16 20:02:06 -07:00
sync_shared_ps1_helpers.py feat(install): fall back to CERNET and npmmirror when package hosts are blocked or slow (#11786) 2026-09-26 02:57:24 -07:00
train_decision_from_lm.py Decision models: follow-up fixes after #12772, #12876, #12939 (#12949) 2026-10-07 09:06:56 -07:00
uninstall.ps1 Studio: mention the leftover uv cache in uninstall (#10442) 2026-10-05 01:10:12 -07:00
uninstall.sh Studio: mention the leftover uv cache in uninstall (#10442) 2026-10-05 01:10:12 -07:00
update_lemonade_pins.py Installers: hash-check the uv fallback script; fail closed on undigested Lemonade assets (#13189) 2026-10-09 20:12:59 -07:00
verify_comment_only_diff.py Reduce comment volume across the installers, CLI, unsloth package and backend utilities (#10504) 2026-09-10 05:57:33 -07:00
verify_import_hoist.py Studio: read the local model cache locally, and keep host paths off the API (#11026) 2026-09-20 20:36:27 -07:00
verify_prequant_backend.py Studio: whole-model NVFP4 for the video families with hosted pre-quantized denoisers (#10729) 2026-09-25 16:22:17 -07:00
video_quality.py Reduce comment volume across the installers, CLI, unsloth package and backend utilities (#10504) 2026-09-10 05:57:33 -07:00
virustotal_delta.py Give this work a before-and-after number, and find out the hardening already worked (#10996) 2026-09-15 11:40:42 -07:00
virustotal_scan.py Reduce comment volume across the installers, CLI, unsloth package and backend utilities (#10504) 2026-09-10 05:57:33 -07:00