unsloth/unsloth
Daniel Han 39428fc5af CI(consolidated): strict mode -- drop continue-on-error, tighten ledger
Now that the upstream patch fixes have landed (#5319 for the three
patch_* helpers, unsloth-zoo#628 for the MoE coverage canary), every
observed cell-level red was one of those two things. Both are fixed,
so re-run the matrix in strict mode:

- Removed every per-step `continue-on-error: true`. A failing test step
  fails the cell. The previous green-with-fail-prints lie is gone.
- Runtime patch ledger: was `assert REQUIRED helpers exist by name`
  (an inventory walk). Now also `assert len(fail) == 0` -- any
  zero-arg patch that raises is a real regression. NEEDS_PRECONDITION
  still skips the three patches that legitimately need real CUDA /
  runtime args.
- patch_tiled_mlp shim: bumped seq_len from 4 to 192 with hidden=64 so
  divmod(192, 64) = (3, 0) and the tiled path actually runs 3 shards
  instead of degenerating to n_shards=1 (which is bit-exact and only
  confirms patching installed something). Added an explicit
  pre-assertion that we are exercising multi-shard.
- openenv graceful-skip warning: previous text said "Weight reload
  still functional" which over-promised. Replaced with the literal
  consequence: duplicate `collective_rpc("reload_weights")` is not
  stripped and `wake_up(tags=["kv_cache"])` is not retagged. Most
  users are unaffected; openenv GRPO users on this TRL build may see
  redundant reload_weights or partial wake_up.

Includes a merge of main into this branch so the consolidated cells
pip-install the post-#5319 unsloth tree.
2026-05-07 07:15:41 +00:00
..
dataprep Fix raw text paragraph break normalization (#4884) 2026-04-09 04:45:43 -07:00
kernels Add Studio PR-time CI: pin enforcement, frontend, backend, wheel smoke (#5298) 2026-05-06 04:41:57 -07:00
models CI(consolidated): strict mode -- drop continue-on-error, tighten ledger 2026-05-07 07:15:41 +00:00
optimizers feat: Implement Q-GaLore optimizer and custom embedding learning rate… (#4511) 2026-03-25 01:03:10 -07:00
registry Revert "[pre-commit.ci] auto fixes from pre-commit.com hooks" 2025-12-01 07:24:58 -08:00
utils Add check to disable xformers on newer GPUs (#4342) 2026-03-16 22:42:38 -07:00
__init__.py feat(studio): MLX training tab on Apple Silicon (LoRA / full FT, VLM, export) (#5265) 2026-05-05 23:54:58 -07:00
_auto_install.py Add PyTorch 2.10 and xformers 0.0.34 support (#3985) 2026-02-05 05:56:26 -08:00
_gpu_init.py feat(studio): MLX training tab on Apple Silicon (LoRA / full FT, VLM, export) (#5265) 2026-05-05 23:54:58 -07:00
chat_templates.py update gema4 chat templates (#5116) 2026-04-22 09:04:08 -07:00
device_type.py Conditionally enable 4bit on CDNA for bitsandbytes>=v0.49.2 (#4161) 2026-03-07 01:33:40 -08:00
import_fixes.py Patch checkpoint reload init functions to strip unsupported args (#5167) 2026-04-29 02:50:49 -07:00
ollama_template_mappers.py Re-apply #4939: updated models template mappers (#4950) 2026-04-15 07:52:12 -07:00
save.py fix: use % 8 instead of // 8 in FP8 weight shape check (#5243) 2026-05-05 03:48:04 -07:00
tokenizer_utils.py fix: 3 patch_* helpers — fast_lora import, sft_trainer Union, openenv OSError (#5319) 2026-05-07 00:12:09 -07:00
trainer.py Trim trainer.py import-fix comment to one line 2026-05-06 07:22:56 +00:00