unsloth/.github
Daniel Han 433cfa93d7 CI(consolidated): skip false-positive patches in runtime ledger; drop job-level continue-on-error
Two cleanups derived from review of the matrix output:

1. Skip false-positive zero-arg patches in the runtime ledger.
   Three patches have all-defaulted signatures but require either
   runtime args or real CUDA, so calling them in isolation produces
   a meaningless failure:
     - patch_linear_scaling: defaults are None placeholders;
       body starts with `assert rope_module is not None` etc.
     - patch_llama_rope_scaling: same shape.
     - patch_unsloth_smart_gradient_checkpointing: legitimately
       allocates CUDA tensors via aten::empty.memory_format inside
       initialize_unsloth_gradient_checkpointing(); the torch.cuda.*
       Python spoof can't intercept that at the dispatcher level.
   Add NEEDS_PRECONDITION = {...} to the shim and skip those by name.
   Symbol presence is still verified via REQUIRED.

2. Drop the job-level `continue-on-error: true`.
   Previously the cell reported SUCCESS even when steps failed, which
   made the PR check UI lie. Real failures now turn the cell red.
   Per-step `continue-on-error: true` stays so a single failed step
   does not cascade and skip the rest of the ledger.

Three other failures the matrix surfaced are addressed by separate PRs
to source:
  - unslothai/unsloth#5319 (patch_fast_lora missing import,
    patch_sft_trainer_tokenizer Union NameError, openenv OSError)
  - unslothai/unsloth-zoo#628 (skip MoE coverage on older transformers)
2026-05-07 06:19:43 +00:00
..
ISSUE_TEMPLATE Update issue template 2026-03-23 10:10:15 +05:30
workflows CI(consolidated): skip false-positive patches in runtime ledger; drop job-level continue-on-error 2026-05-07 06:19:43 +00:00
CODEOWNERS Update CODEOWNERS 2026-03-13 13:38:19 -07:00
dependabot.yml CI(security): defense-in-depth additions across 7 axes 2026-05-07 00:09:40 +00:00
FUNDING.yml Update FUNDING.yml (#3792) 2025-12-28 19:57:43 -08:00