187 wires and counting

$ follow Hugging Face

Keep up with Hugging Face in about 3 minutes: what actually shipped — the commits, pull requests, releases, and security advisories that matter.

or

fair warning: these emails are deeply technical. diffs, version numbers, CVEs, benchmark deltas. if that's not your idea of a good read, this isn't your newsletter.

Folds into your digest — weekly by default, monthly if you prefer. Unsubscribe in one click.

$ status

wire 2026-12-01
stories 139

© 2026 RepoJournal Home Showcase How it works Privacy

$ the-wire · showcase

Silent training bugs get loud: TRL raises on Flash Attention mask loss

By RepoJournal · Filed · About Hugging Face · Composed from the cited sources · methodology

TRL turned a silent Gemma3-family correctness bug into a hard error and made assistant-only loss actually assistant-only for Laguna, while speech-to-speech and transformers cleaned up failure and memory paths.

Raise in trainers when Flash Attention would drop the image attention mask of Gemma3-like VLMs huggingface/trl

by albertvillanova

Trainers now raise when training Gemma3, Gemma4, PaliGemma or Molmo2 on images with Flash Attention on transformers older than 5.24.0, because Flash Attention drops the bidirectional mask over image tokens and those tokens were being trained with causal attention instead, unlike at inference with SDPA or eager.

Support assistant-only loss for the Laguna chat templates huggingface/trl

by albertvillanova

TRL stored four Laguna chat templates with dedicated training variants because the shipped templates open their `{% generation %}` markers before `<assistant>`, so assistant-only loss was training the generation prompt (`<assistant>\n</think>` or `<assistant><think>`) along with the reply.

Make whole word masking linear in sequence length (#51394) huggingface/transformers

by Kshaaunish Choudhary

Whole word masking in the tokenizer replaced its pairwise same-word table with a word-id lookup, cutting the cost from quadratic to linear in sequence length while the tokenizer release notes say "Output is unchanged; memory drops from O(L^2) to O(L) per row." A test compares the new path against the old pairwise logic on random inputs.

Drop buffered partial output on mid-stream Transformers failure huggingface/speech-to-speech

by Andrés Marafioti

When `generate()` raises mid-stream, the handler now discards unfinalized tokens in the streamer cache and skips the end-of-stream sentence batch flush, so buffered sentences and trailing partial words are no longer pushed to downstream output or TTS right before the turn fails under the default `stream_batch_sentences=3`.

Enable input gradients for PEFT with reentrant gradient checkpointing on all transformers versions huggingface/trl

by albertvillanova

Trainers now call `enable_input_require_grads()` for PEFT models with reentrant gradient checkpointing on every transformers version rather than only before 5.0.0, so that combination keeps training once transformers stops enabling input gradients itself.

Fix per-layer SwiGLU clipping in BailingHybrid huggingface/transformers

by icavan

Also worth a look: BailingHybrid now applies the per-layer SwiGLU limits from the published Ling checkpoint configs to routed and shared experts independently, and HY4 RoPE switches to interleaved rotation to match the released checkpoint layout for MLA attention and the DSA indexer.

Quick answers

What shipped in Hugging Face on December 1, 2026?
TRL turned a silent Gemma3-family correctness bug into a hard error and made assistant-only loss actually assistant-only for Laguna, while speech-to-speech and transformers cleaned up failure and memory paths. In total, 80 commits and 59 pull requests landed.
Who contributed to Hugging Face on December 1, 2026?
12 developers shipped this update, including albertvillanova, rycerzes, kashif, Andrés Marafioti, omkar-334, Yih-Dar, Kshaaunish Choudhary, and Mmy666666, and 4 more.
What were the notable Hugging Face updates?
Raise in trainers when Flash Attention would drop the image attention mask of Gemma3-like VLMs, Support assistant-only loss for the Laguna chat templates, and Make whole word masking linear in sequence length (#51394).