$ the-wire · showcase
TRL tracks transformers' checkpointing rename, docs patched for removed APIs
By RepoJournal · Filed · About Hugging Face · Composed from the cited sources · methodology
TRL moved two internal call sites onto transformers 5.23's activation_checkpointing names ahead of the gradient_checkpointing removal, while transformers' own docs still carried examples importing APIs it already deleted.
Follow the transformers 5.23 rename of gradient checkpointing to activation checkpointing huggingface/trl
transformers 5.23 renames gradient_checkpointing* to activation_checkpointing* and resolves the old names once in TrainingArguments.__post_init__, so the Trainer only ever reads the new ones. That broke two TRL spots that relied on late reads, including the PEFT + DeepSpeed ZeRO-3 path that forces use_reentrant=True by assigning a fresh dict to gradient_checkpointing_kwargs; TRL now selects the...
[docs] Fix the any-to-any guide example using the removed infer_device (#50792) huggingface/transformers
The any-to-any guide's inference example opened by importing infer_device, removed earlier, so it failed on its first line. It now uses Accelerator().device like the other task guides, passes generation_mode="text" so Qwen2.5-Omni returns token ids for batch_decode instead of a (text, audio) tuple, and loads with device_map="auto" at the default dtype.
[docs] Fix PairClassificationPipeline example using the removed self.framework (#50789) huggingface/transformers
PairClassificationPipeline's documentation example referenced self.framework, which no longer exists. The example is rewritten against the current pipeline surface; copy from it rather than from older cached docs.
Recognize the Muse Spark Open chat template revision with the corrected generation markers huggingface/trl
Muse-Spark-Open-816B-A42B and its NVFP4 variant moved the {% generation %} tag after the <|start|>assistant prompt terminator on 2026-11-10, and TRL matches chat templates by exact string, so the drift check flagged them. TRL now recognizes that revision and the check passes again.
Forward the chat reasoning flag to external Pi workers (#1033) huggingface/paperswithcode
The external Pi worker emits reasoning events only when PWC_CHAT_SHOW_REASONING is "true", and its environment never received the flag, so every Luna turn dropped its reasoning summaries. The flag now ships in the worker config, defaulting to true to match the backend's chat_show_reasoning, and is handed to each Node replica. The rest of the day was CI hygiene: re-recorded ovis2 and deepseek_vl...
Action items
- → Check any gradient_checkpointing_kwargs overrides in your Trainer configs against transformers 5.23, where they are r... huggingface/transformers [plan]