RepoJournal
Hugging Face

@huggingface

Transformers, Datasets, and the open AI-model layer

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

One email a day. Unsubscribe in one click.

Pick a date

Topics: Python AI / ML Full archive →

The Wire · Showcase

DIFFUSERS FIXES KOHYA LORA COMPATIBILITY BUG BLOCKING MODEL LOADING

By RepoJournal · Filed · About Hugging Face

Kohya-format LoRA weights for conv_in, conv_out, and time_embedding layers were silently failing to load in diffusers, now fixed.

The diffusers library was dropping Kohya-format UNet LoRA keys on three critical top-level submodules [1], causing them to be reported as unexpected rather than applied to the model. This affected anyone fine-tuning these layers with Kohya-ss tooling and trying to load checkpoints into diffusers. The fix adds proper key conversion mapping so lora_unet_conv_in and similar patterns now correctly map to diffusers naming conventions [2]. Meanwhile on the transformers side, auto-mappings registration for remote code is getting fixed [3] to handle model loading edge cases that surfaced in earlier patches. The transformers team also hardened device pinning in GDN mixer layers [4], preventing unexpected cuda:0 allocation when target devices were specified elsewhere. Swift-transformers added Sendable conformance to Hub.Repo and Hub.RepoType [5], unblocking Swift 6 strict concurrency checks for anyone caching or passing these types across task boundaries.

One email a day. Unsubscribe in one click.

Action items

References

  1. [1] Fix Kohya UNet LoRA key conversion for conv_in/conv_out/time_embedding (#14006) huggingface/diffusers
  2. [2] Fix Kohya UNet LoRA key conversion for conv_in/conv_out/time_embedding ↗ huggingface/diffusers
  3. [3] Fix auto-mappings registration for remote code & fixes a few custom code issues ↗ huggingface/transformers
  4. [4] Don't pin the gated delta net norm to `cuda:0` with a hardcoded device (#46817) huggingface/transformers
  5. [5] Add Sendable conformance to Hub.Repo and Hub.RepoType (#374) huggingface/swift-transformers

Quick answers

What shipped in Hugging Face on June 29, 2026?
Kohya-format LoRA weights for conv_in, conv_out, and time_embedding layers were silently failing to load in diffusers, now fixed. In total, 7 commits and 8 pull requests landed.
Who contributed to Hugging Face on June 29, 2026?
2 developers shipped this update, including dxqb and Cyrilvallez.
What were the notable Hugging Face updates?
Fix Kohya UNet LoRA key conversion for conv_in/conv_out/time_embedding (#14006), Fix Kohya UNet LoRA key conversion for conv_in/conv_out/time_embedding, and Fix auto-mappings registration for remote code & fixes a few custom code issues.

More from @huggingface

Daily updates, in your inbox

Follow Hugging Face

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

or

One email a day. Unsubscribe in one click. Read a past issue →

Elsewhere on the wire

Want every project, not just this one?

We use privacy-friendly analytics (Google Analytics, IP-anonymized) to see which pages help readers. No ads, and we never sell your data. See our Privacy Policy.