Transformers 5.22.2 hardens Jinja sandboxing and NCCL setup
Hugging Face Transformers 5.22.2 is a patch release that hardens Jinja sandboxing used by templates and sets device_id only for NCCL in distributed initialization. The maintainer describes it as a security and distributed-systems patch.
Why it matters: Chat-template rendering processes model and application-controlled text close to prompt construction, while distributed device initialization affects multi-GPU reliability. A small patch can therefore have a larger security and serving impact than its…