Skip to content

Lift the TRL cap to 1.18.2 - #18809

Merged
danielhanchen merged 5 commits into
mainfrom
trl-cap-1-18
Nov 22, 2026
Merged

danielhanchen merged 5 commits into
mainfrom
trl-cap-1-18

Conversation

@danielhanchen

Copy link
Copy Markdown
Member

pyproject.toml capped TRL at <=1.15.0. That cap was never tied to a known break: #13203 set it to the newest release the version matrix had run, which was 1.15.0 at the time (TRL 1.15 shipped Oct 8). Since then TRL shipped 1.16.0, 1.17.0, 1.17.1, 1.18.0, 1.18.1 and 1.18.2. AsyncGRPO needs 1.17+, and tree packing for recurrent layers needs it too. Most of the 1.16 to 1.18 support work already landed on main (#16220, #17714, #18070, #18175, #18230, #18254, #18271, #18466, #18614 and others), and the HF=latest + TRL=latest CI lane already runs TRL 1.18.2. Users still could not install any of it because of the cap.

This PR raises the window to trl>=0.18.2,!=0.19.0,<=1.18.2 and fixes the four breaks I found going through 1.16 to 1.18.2 at transformers 5.18.0. Two of them are silent on 1.18: the patch anchor stops matching, so the trainer still builds but does something different.

Fixes

  1. AsyncGRPO on TRL 1.16.0 crashed on the first step with KeyError: 'tree_segment_parents'. TRL 1.16 already packs AsyncGRPO rows as a prefix trie, but it only sends tree_kv_index / tree_cu_seqlens_q / tree_cu_seqlens_k. tree_segment_parents arrived in 1.17, and AsyncGRPOTrainer: patch it at its TRL 1.18 location, and unroll prefix-trie rows for Unsloth's attention (TRL 1.17+) #18070 handled only the 1.17+ layout. The parents can be recovered from the K/V paths: each segment's path is its parent's path plus its own tokens. _async_grpo_tree_segment_parents does that, and on TRL >= 1.17 it gives exactly the parents TRL sends (there is a test for this). The tree tests now build TRL 1.16's forward kwargs when unpad_tree is missing, instead of skipping.
  2. SFT with padding-free stopped truncating pre-tokenized datasets on TRL 1.18. The padding-free max_length block was only generated when TRL's SFTTrainer had the "max_length is not enforced" refusal. TRL 1.18 removed that refusal because its own _prepare_dataset truncates. Zoo's prep replaces that step, though, and leaves rows that already have input_ids alone. So on 1.18 a pre-tokenized dataset trained at full length: in the version-compat test, 1202-token rows went through against a 128-token cap. The block is now generated on TRL >= 1.18 too. The 31 tests in test_trl_padding_free_max_length.py that skipped on 1.18 now run there and pass.
  3. SFT assistant_only_loss lost its train_on_responses_only fallback on TRL 1.18. TRL 1.18 calls get_training_chat_template(processing_class, require_prefix_preservation=False), and the anchor only matched the old one-argument call. A chat template TRL cannot train, such as plain ChatML without {% generation %} markers, went back to raising TRL's ValueError. The anchor now accepts trailing arguments and keeps them.
  4. UNSLOTH_ENABLE_FLEX_ATTENTION=1 stopped padding to the flex block size on TRL >= 1.16. TRL 1.16 changed the pad_to_multiple_of default from None to "auto", so "auto" now counts as unset too.

Two other changes looked like they might break things and are fine. TRL 1.18's GKDTrainer now generates inside get_batch_samples, which is upstream's version of the fix the GKD patch applies to the older training_step, so the patch has nothing to do there. TRL 1.18's new qwen3_6_v2 template renders like qwen3_6 and shares its training template. The tool-template test now accepts both instead of expecting a single family.

Cap sites moved together

  • pyproject.toml (both trl lines), studio/backend/requirements/no-torch-runtime.txt
  • notebooks-ci.yml lane, and the version-compat-ci.yml ceiling lane now pins trl==1.18.2 with transformers==5.18.0
  • tests/test_trl_cap_sites.py: TESTED_CEILING = 1.18.2, NEWLY_ADMITTED adds 1.16.0 through 1.18.2, and ZOO_FLOOR_ADMITTING_TESTED_TRL_CEILING = None

unsloth_zoo caps TRL at <=1.15.0 too, and pip takes the lower of the two caps. The matching zoo change is a one-line pyproject lift. Until a zoo release ships with it, pip keeps users on 1.15.0, so the zoo floor gate stays deferred. test_the_zoo_trl_deferral_expires_when_the_zoo_release_ships fails as soon as a published zoo admits 1.18.2, and that is the point to raise the unsloth_zoo floor here.

Testing

Everything below runs at transformers 5.18.0 (the pyproject ceiling). The CPU suites use torch 2.10 CPU. The GPU jobs run on Colab, with main and this PR on the same VM and the same deps, and only the unsloth tree swapped.

CPU, 307 TRL-touching test files:

tree TRL passed failed skipped
main 1.15.0 5960 182 951
main 1.16.0 5969 178 946
main 1.17.1 5976 173 944
main 1.18.2 5941 180 972
this PR 1.15.0 5957 185 953
this PR 1.18.2 5982 167 946

163 test IDs fail in every one of these runs: CUDA-only kernels and gloo cases on a CPU box, plus no torchao. Comparing by test ID, the only tests that move with the TRL version are the four breaks above. The rest of the delta is a few dozen gloo / timing / packing tests that flip between xdist runs, and every one of those passes on both trees and both TRL versions when rerun alone. The unsloth_zoo side (126 TRL-touching test files) shows no failure specific to TRL 1.16.0 or 1.18.2.

Flip tests (this PR's tests run against main's code):

test TRL main this PR
AsyncGRPO trio (test_async_grpo_trl_tree.py, _patch.py, _fast_inference.py) 1.16.0 7 tree tests fail, 4 with KeyError: 'tree_segment_parents' 68 passed
same 1.15.0 / 1.17.1 / 1.18.2 pass 61 / 68 / 70 passed
test_trl_padding_free_max_length.py 1.18.2 34 failed (pre-tokenized rows not truncated, cap not consumed) 155 passed
same 1.15.0 / 1.17.1 pass 155 passed
version_compat/test_sft_assistant_mask_fallback_trainer.py (real UnslothSFTTrainer, ChatML without markers, assistant_only_loss=True) 1.18.2 ValueError: The chat template is not training-compatible pass
same 1.15.0 / 1.17.1 pass pass
test_sft_assistant_mask_fallback.py::test_applies_to_installed_trl (real TRL source) 1.18.2 fail pass
test_flex_pad_to_multiple_of_auto.py::test_trl_default_pads_to_the_flex_block 1.17.1, 1.18.2 fail (stays None) pass (128)
same 1.15.0 pass pass
test_trl_cap_sites.py + flex test 1.15.0 / 1.17.1 / 1.18.2 37 passed, 4 skipped (deferred zoo gate)
CI TRL discovery shim (taken from consolidated-tests-ci.yml) 1.15.0 / 1.16.0 / 1.17.1 / 1.18.2 pass

GPU jobs (jobs/*.py --backend unsloth, verdicts from jobs/compare.py):

Final head, L4, one VM, TRL 1.15.0 / 1.16.0 / 1.18.2 x main / this PR:

job model main vs PR at each TRL PR, TRL 1.15.0 vs 1.16.0 / 1.18.2
sft Qwen3-0.6B NO_REGRESSION x3 NO_REGRESSION, same loss on every step in all 6 runs
dpo Qwen3-0.6B NO_REGRESSION x3 NO_REGRESSION, same loss on every step in all 6 runs
vision_sft --tiny tiny Qwen2.5-VL NO_REGRESSION x3 NO_REGRESSION, same loss on every step in all 6 runs
grpo (notebook preset) Qwen3-0.6B-Base NO_REGRESSION x3 NO_REGRESSION (sampled rollouts, within the main-vs-main spread)

Earlier runs used the first commit. The later commits change AsyncGRPO tree rows and SFTTrainer init, and the table above covers SFTTrainer init:

job where main vs PR PR, TRL 1.15.0 vs 1.18.2
grpo --fast-inference (vLLM 0.32.0), Qwen3-0.6B-Base G4 NO_REGRESSION at 1.15.0 and 1.18.2 NO_REGRESSION
sft / grpo / dpo --tiny A100 NO_REGRESSION at 1.15.0 and 1.18.2 same loss on every step

AsyncGRPO, fast_inference=True (vLLM 0.32.0, Qwen3-0.6B, LoRA r=16, 6 steps, RTX PRO 6000):

TRL main this PR
1.16.0 crashes: KeyError: 'tree_segment_parents' trains 6 steps, mean reward 0.93
1.17.1 trains 6 steps, mean reward 0.91 trains 6 steps, mean reward 0.91
1.18.2 trains 6 steps, mean reward 0.92 trains 6 steps, mean reward 0.82 (one sampled 6-step run)

Not covered

  • No published unsloth_zoo admits TRL > 1.15.0 yet, so users only get 1.16+ after the zoo lift ships and the floor here moves.
  • unslothai/notebooks pins TRL on its own side (PIN_TRL), and so does Studio's single-env install (trl==0.23.1). This PR does not touch either.
  • TRL 1.18 with transformers 5.23+ is covered only by the existing HF=latest lane. pyproject still caps transformers at 5.18.0.
  • No multi-GPU (FSDP2 / DDP) GRPO or AsyncGRPO run on 1.16 to 1.18. The CPU gloo tests cover what they can.
  • TRL 1.17.0, 1.18.0 and 1.18.1 were not run on their own. 1.17.1 and 1.18.2 are patch releases on top of them.
  • Windows, macOS / MLX and AMD were not run.

Companion: unslothai/unsloth-zoo#2656 raises the zoo ceiling the same way; merge it first.

TRL 1.16 changed the pad_to_multiple_of default from None to "auto", so
UNSLOTH_ENABLE_FLEX_ATTENTION no longer padded to the flex block size on
TRL >= 1.16. Treat "auto" as unset there.

Raise trl to <=1.18.2 in pyproject (both sites), the Studio runtime mirror,
the notebooks CI lane and the version-compat ceiling lane, and move
TESTED_CEILING with it. The zoo floor gate is deferred until an unsloth_zoo
release admits trl 1.18.2.
TRL 1.16 packs AsyncGRPO rows as a prefix trie but sends only
tree_kv_index / tree_cu_seqlens_*; tree_segment_parents arrived in 1.17.
On an Unsloth backbone every such row went through _forward_tree_unrolled,
which read tree_segment_parents and raised KeyError. Recover the parents
from the K/V paths (each path is the parent's path plus the segment's own
tokens), matching what TRL 1.17+ sends. The tree tests now build TRL 1.16's
forward kwargs when unpad_tree is absent instead of skipping.
… TRL 1.18

TRL 1.18 calls get_training_chat_template(processing_class,
require_prefix_preservation=False), so the anchor that wraps the call only
matched TRL <= 1.17. On 1.18 a chat template TRL cannot train (every
Unsloth-edited one without generation markers) raised TRL's ValueError
again instead of falling back to Zoo's response masks. Match the call with
any trailing arguments and keep them.

The tool template test now accepts TRL 1.18's qwen3_6_v2 family, which
renders like qwen3_6 and shares its training template.
The padding-free max_length block was generated only when TRL's SFTTrainer
carried the "max_length is not enforced" refusal. TRL 1.18 removed that
refusal, since its own _prepare_dataset truncates, but Zoo's prep replaces
that step and leaves rows that already have input_ids alone. On 1.18 a
pre-tokenized dataset therefore trained at full length: 1202-token rows
against a 128-token cap in the version-compat test. Generate the block on
TRL >= 1.18 as well, so every 1.x release gets the same cap.
@danielhanchen

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-21T22:44:41.498647Z 0c3d620 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. You're on a roll.

Reviewed commit: 0848655fc0

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

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".

…ent Triton

TRL <= 1.15 imports its fused LM head kernel only when Triton imports and
leaves trl.trainer.utils._ChunkedLogProbFunction = None otherwise, so on
Windows test_packed_row_guard_engages died inside TRL's own _fused_forward
('NoneType' object has no attribute 'apply'). Same failure on main; TRL
1.16+ imports the kernel unconditionally.

[skip ci]
@danielhanchen

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Swish!

Reviewed commit: 0c3d620556

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

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".

danielhanchen added a commit to Imagineer99/unsloth that referenced this pull request Nov 21, 2026
@danielhanchen
danielhanchen merged commit 34e455b into main Nov 22, 2026
@danielhanchen
danielhanchen deleted the trl-cap-1-18 branch November 22, 2026 01:24
danielhanchen added a commit that referenced this pull request Nov 22, 2026
…red on main) (#18827)

## Summary

`workflow-trigger lint` is red on `main` and on every open PR since
#18809:

```
tests/studio/test_version_compat_bundle.py::test_every_suite_still_runs_on_a_pull_request
AssertionError: these version-compat suites are not run by any pull_request job:
['tests/version_compat/test_sft_assistant_mask_fallback_trainer.py']
```

#18809 added
`tests/version_compat/test_sft_assistant_mask_fallback_trainer.py`,
which drives the real `UnslothSFTTrainer` through TRL's
assistant-only-loss path and so needs torch, TRL and unsloth. The guard
is right: nothing runs it on a PR. Naming it in
`version-compat-ci.yml`'s `pinned-symbol-matrix` bundle would not help,
because that job installs only pytest and the suite would just skip. The
`consolidated-zoo` full sweep does not reach it either: that step runs
from the zoo checkout, so its `tests/` is the zoo's.

## Fix

- New HARD GATE step in the `consolidated` (Core) job, which installs
the real stack across all three transformers / TRL combos, running the
suite by path from this checkout.
- `RUN_BY_CORE` in the bundle guard lists suites covered that way, and
`test_suites_left_to_the_core_job_run_there` checks the claim instead of
trusting it: `consolidated-tests-ci.yml` must trigger on `pull_request`,
the `consolidated` job must not be gated to schedule or dispatch, and
one of its steps must name the file without a `working-directory` (a
step run from another checkout collects that repo's tests).
- `test_the_core_job_check_is_not_vacuous` mutates the parsed workflow
three ways (path replaced by a directory sweep, step moved under the zoo
checkout, job gated on `schedule`) and asserts each is reported.

## Testing

- `tests/version_compat/test_sft_assistant_mask_fallback_trainer.py`
with real torch, TRL 1.15 and transformers 5.17 on CPU: 1 passed.
- `tests/studio/test_version_compat_bundle.py`: 9 passed; the unmodified
guard from `main` still fails on the same file.
- Every suite `workflow-trigger-lint.yml` runs, plus the suites that
read `consolidated-tests-ci.yml`: no new failures (one pre-existing
local-only failure from this host's cache environment variables, green
in CI).
dayanruben pushed a commit to dayanruben/unsloth that referenced this pull request Nov 22, 2026
…aNet hybrids) (unslothai#18817)

unslothai#18809 (TRL cap lift) is merged, so this now targets main; AsyncGRPO
tree packing needs TRL >= 1.17.


Stacked on unslothai#18809 (TRL cap lift), since tree packing for recurrent
layers needs TRL >= 1.17.

TRL 1.17+ packs AsyncGRPO rows as a prefix trie and ships tree kernels
for gated DeltaNet layers (`trl.kernels.tree_gated_delta_rule`): each
segment starts from its parent's recurrent state, and the short conv
reads the tokens on its own root path. TRL hooks them in with
`patch_tree_gdn(model)`, which rebinds `causal_conv1d_fn` and
`torch_chunk_gated_delta_rule` in
`sys.modules[type(model).forward.__module__]`. Through Unsloth that
lookup misses in both cases:

1. **LoRA models are refused at init.** A PEFT model's forward lives in
`peft.peft_model`, which has neither function, so `AsyncGRPOTrainer`
raises `ValueError: PeftModelForCausalLM has ['linear_attention']
layers...`. With `fast_inference=True` LoRA is the only mode, so
AsyncGRPO could not run on Qwen3.5 at all.
2. **Full fine-tuning would leak across branches silently.** Unsloth's
compiled `unsloth_compiled_module_qwen3_5.py` defines its own
`Qwen3_5GatedDeltaNet_forward` and imports transformers' `__name__`.
TRL's lookup lands on transformers' module and patches that, while the
layers read the compiled module, whose hub kernels drop the `tree_*`
kwargs and scan the packed row as one sequence. On Qwen3.5-0.8B that
shifts per-token log-probs by 0.99 on average (max 6.5).

### Fix

- `patch_trl_async_grpo` wraps TRL's `patch_tree_gdn`. It unwraps PEFT,
runs TRL's own patch, then finds the functions that actually look up the
two kernels (each layer class's forward, through its wrappers and the
module-level forward it calls), and rebinds both names in their own
globals with TRL's tree kernels. It counts engagement in
`_ASYNC_GRPO_TREE_GDN_COUNTS`.
- It still refuses what TRL refuses: if TRL's kernels do not import, or
a mixer calls `causal_conv1d_fn` but scans with another kernel (Mamba2,
KDA), it returns False and TRL raises.
- The block-compile GDN adapters (`_gdn_chunk_adapter`,
`_causal_conv1d_adapter`) step aside for tree calls.
- Nothing changes on TRL <= 1.16 or for models without gated DeltaNet
layers.

### Testing

`tests/test_async_grpo_tree_gdn.py` (CPU, fp32) uses a tiny random
Qwen3.5 wrapped in LoRA, with the GDN forward moved into a separate
namespace the same way the compiled file does it. TRL's Triton scan is
replaced by a per-segment reference, and TRL's tree conv runs as is. It
checks that TRL's own patch misses the PEFT and compiled cases, that the
packed tree row matches each sample run alone (log-probs and grads),
that changing one branch leaves every other sample untouched, that rows
without a tree are unchanged, and the refusal and adapter guards. On TRL
1.15.0 / 1.17.1 / 1.18.2 the AsyncGRPO CPU files give 98 passed / 113
passed / 115 passed with no failures.

GPU, Colab L4, TRL 1.18.2, transformers 5.18.0, Unsloth-loaded Qwen3.5 +
LoRA r16, bf16. TRL's own parity protocol (two prompt groups,
completions forking mid-way). "Alone" means each sample run on its own.
"Flat" means the same tokens packed with nothing shared.

| | tiny Qwen3.5 | Qwen3.5-0.8B |
|---|---|---|
| main (unslothai#18809) | `ValueError` at init | `ValueError` at init |
| tree GDN calls per forward | 1 / 1 (1 GDN layer) | 18 / 18 (18 GDN
layers) |
| mean logp error vs fp32 CPU oracle (plain transformers + same
adapter): tree / alone / flat | 0.00031 / 0.00032 / 0.00032 | 0.0226 /
0.0212 / 0.0216 |
| same row with the GDN layers not tree-routed (what full fine-tuning
got) | | 0.989 mean, 6.50 max vs alone |
| other samples' logps after changing one branch | bit-identical |
bit-identical |
| GRPO loss tree / alone / flat | -0.02249 / -0.02267 / -0.02225 |
0.7146 / 0.7047 / 0.7708 |
| grad rel error vs alone: tree / flat | 0.0096 / 0.0094 | 0.065 / 0.228
|
| grad of summed logps, rel error vs alone: tree / flat | | 0.0108 /
0.0100 |

The tree row is as close to the per-sample result as plain packing is,
which is just bf16 noise. On 0.8B the GRPO loss amplifies that noise
because `old_log_probs = -12` puts tokens right at the IS clip edge, and
the flat row moves the loss more than the tree row does.

Speed, compute_loss + backward of one micro-batch on the same L4,
Qwen3.5-0.8B LoRA. 2 groups x (512-token prompt + 8 x 256-token
completions) is 12288 raw tokens, and the tree row has 5134 unique
tokens. 5 rounds, order swapped each round, two interleaved series per
arm:

| | median s | A/A spread | raw tokens/s | peak activation MiB |
|---|---|---|---|---|
| flat (no sharing) | 2.43 | 0.5% | 5050 | 1251 |
| tree | 1.13 | 0.04% | 10885 | 563 |

End to end, AsyncGRPO with `fast_inference=True` (vLLM 0.32.0) on
Qwen3.5-0.8B on an L4, 8 steps:

| | result |
|---|---|
| main (unslothai#18809) | `ValueError` at `AsyncGRPOTrainer(...)` |
| this PR | trains 8/8 steps, packing ratio 3.6x to 4.8x per step, mean
reward 0.62, peak 5.6 GiB |

Not covered here: Qwen3.6 (MoE), Qwen3-Next and OLMo-Hybrid take the
same code path but got no GPU run. GPU runs were TRL 1.18.2 only, with
no multi-GPU and no AMD.
Penguinjanator pushed a commit to Penguinjanator/unsloth-zoo that referenced this pull request Nov 22, 2026
Raises the TRL ceiling from 1.15.0 to 1.18.2 on both TRL lines in
`pyproject.toml`. The floor and the `!=0.19.0` exclusion are unchanged.

The cap was the "newest release the version matrix ran" ceiling, not a
known break. The four TRL 1.16 to 1.18 breaks the sweep found (AsyncGRPO
tree parents on 1.16.0, SFT truncation of pre-tokenized datasets and the
`assistant_only_loss` fallback on 1.18, flex
`pad_to_multiple_of="auto"`) are all on the unsloth side and are fixed
in the companion unsloth PR (unslothai/unsloth#18809). Nothing in
unsloth_zoo needed a change for 1.16 to 1.18: the 126 TRL-related zoo
test files give the same results on TRL 1.15.0, 1.16.0, 1.17.1 and
1.18.2 at transformers 5.18.

Merge this before the unsloth PR: pip takes the lower cap, so users only
get TRL 1.18 once a zoo release with this ceiling is out.
danielhanchen added a commit that referenced this pull request Nov 22, 2026
… trl 1.18.2 (#18904)

## Summary


`tests/test_trl_cap_sites.py::test_the_zoo_trl_deferral_expires_when_the_zoo_release_ships`
now fails, on purpose, wherever it can reach PyPI (seen in the
`version-window drift` staging leg for #18901, base `90bf9c7`):

```
AssertionError: unsloth_zoo 2026.11.9 is published and admits trl 1.18.2 (!=0.19.0,<=1.18.2,>=0.18.2, ...),
so the deferral is over. Set ZOO_FLOOR_ADMITTING_TESTED_TRL_CEILING to 2026.11.9 and raise the unsloth_zoo
floor in pyproject.toml to it in the same commit.
```

#18809 lifted unsloth's TRL window to `<=1.18.2`, but every zoo release
up to 2026.11.8 caps TRL at 1.15.0. pip intersects the two, so users
still resolve TRL 1.15. The test deferred the check until a zoo
admitting 1.18.2 was published. unsloth_zoo 2026.11.9 is on PyPI with
`trl!=0.19.0,<=1.18.2,>=0.18.2`, so the floor should move to it now;
otherwise AsyncGRPO and the other TRL 1.17+ paths stay unreachable for
anyone who installs from PyPI.

## Changes

- `pyproject.toml`: `unsloth_zoo>=2026.11.8` to `>=2026.11.9` at all
three sites.
- `install.sh` / `install.ps1`: the `--no-deps` zoo install spec to
`unsloth-zoo>=2026.11.9`, which
`tests/test_installer_zoo_floor_parity.py` keeps equal to pyproject.
- `tests/test_trl_cap_sites.py`: `ZOO_FLOOR_ADMITTING_TESTED_TRL_CEILING
= Version("2026.11.9")`. That retires the self-expiring deferral and
arms `test_the_declared_zoo_floor_admits_the_tested_trl_ceiling`, which
from now on fails if the floor ever drops below a zoo that admits the
tested TRL ceiling.

## Testing

- `tests/test_trl_cap_sites.py`,
`tests/test_installer_zoo_floor_parity.py`,
`tests/python/test_desktop_unsloth_spec_no_deps_pair.py`,
`tests/test_transformers_cap_sites.py`: 82 passed, 7 skipped (the
deferrals, now correctly reporting that the gate is live).
- `tests/sh/test_relax_unsloth_floors_to_index.sh`: 23 passed.
- Sabotage: with the armed constant but `main`'s pyproject floor
(2026.11.8), `test_the_declared_zoo_floor_admits_the_tested_trl_ceiling`
fails.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant