$ the-wire · showcase
Diffusers 0.43.0 adds five model integrations, Transformers deprecates LM decoding
By RepoJournal · Filed · About Hugging Face · Composed from the cited sources · methodology
Diffusers 0.43.0 ships five new modular integrations alongside attention and checkpoint fixes, while Transformers starts walking Wav2Vec2ProcessorWithLM and pyctcdecode/kenlm decoding toward removal in v6.
Diffusers 0.43.0: MiniMax-H3-Image, Pika H3 Flex, P-H3-Image, Kandinsky S2V, and PAN 2 huggingface/diffusers
Diffusers 0.43.0 adds MiniMax-H3-Image for text-to-image and reference-image editing with a fixed six-step sampling schedule, plus Pika H3 Flex, P-H3-Image, Kandinsky S2V and PAN 2, alongside improvements to attention backends, tensor parallelism, LoRA handling and checkpoint saving. The release notes describe five "modular model integrations for image generation, editing, video with audio, spe...
🚨 Deprecate Wav2Vec2ProcessorWithLM and pyctcdecode/kenlm LM decoding huggingface/transformers
Transformers deprecates n-gram language model decoding for CTC models, covering both `Wav2Vec2ProcessorWithLM` and the ASR pipeline's `WithLM` path. The removal is slated for Transformers v6, so any ASR pipeline running pyctcdecode/kenlm decoding should plan a replacement decoder before then.
[core] Enforce minimum supported versions in availability checks huggingface/diffusers
Diffusers' `is_*_available` checks now also test the minimum supported version from the deps table, so an unsupported optional library installed in the environment fails the availability check instead of surfacing later as an import error. The same patch strips out version checks for deps that are no longer supported at all.
Only force reentrant checkpointing for PEFT + ZeRO-3 on DeepSpeed < 0.19.3 for each trainer huggingface/trl
TRL now forces `use_reentrant=True` only on DeepSpeed below 0.19.3, where the ZeRO-3 plus PEFT plus gradient checkpointing workaround was needed. On 0.19.3 and later your configured or default `use_reentrant` is kept as set, across sft, rloo and rew trainers.
Support Enum in get_json_schema, raise on custom classes huggingface/transformers
`get_json_schema()` was documented to raise on type hints it could not parse, but `_get_json_schema_type()` fell back to `{"type": "object"}` for anything unrecognized, so the error path was unreachable. It now supports Enum and actually raises on custom classes, which means schemas that silently degraded to a bare object will start erroring.
feat(policies): sharded safetensors checkpoints in the transformers layout huggingface/lerobot
LeRobot policies on the shared loader can now save weights as sharded safetensors in the transformers layout, loading shards from disk or the Hub without rebuilding a temporary checkpoint. The single-file default is unchanged, and PI0/PI05, PI0-FAST and XVLA keep their separate loaders as-is.
Asyncgrpo metrics namespaces huggingface/trl
The long-running metric rename in TRL's async GRPO trainers finishes here: `rollout/`, `tools/` and the rollout queue namespaces are settled, per-teacher metrics in `AsyncDistillationTrainer` are renamed, and two metrics are fixed. If your dashboards match on the old metric keys, they need updating.
Action items
- → Migrate off `Wav2Vec2ProcessorWithLM` and the ASR pipeline's `WithLM` before Transformers v6 removes n-gram decoding huggingface/transformers [plan]
- → Update TRL async GRPO dashboard queries to the renamed `rollout/`, `tools/` and rollout queue metric keys huggingface/trl [plan]