RepoJournal
Hugging Face

@huggingface

Transformers, Datasets, and the open AI-model layer

Pick a date

The Wire · Showcase

DIFFUSERS COMPLETES UNET TEST MIGRATION, TRANSFORMERS SHIPS KERNEL FUSION

By RepoJournal · Filed · About Hugging Face

The diffusers team finished migrating all UNet test suites to a unified mixin-based structure, while transformers unlocked a cleaner kernel fusion API that puts control back in the hands of kernel authors.

Diffusers closed out a major internal refactor across five separate PRs. The UNet2D, UNet1D, and three variants of UNet3D test suites [1] [2] [3] moved from scattered test logic to a consistent Config + ModelTesterMixin pattern, with deprecated xformers and attention slicing tests dropped in favor of a cleaner test hierarchy. This standardization matters because it makes the test suite maintainable as the pipeline ecosystem grows. On the transformers side, two critical infrastructure improvements landed: the `max_requests_per_batch` parameter [4] [6] now separates token-sized tensors from request-sized ones in continuous batching, fixing a longstanding memory calculation problem, while a new KernelConfig API [5] [7] simplifies n-to-1 kernel fusion by making module fusion and parameter transformation explicit. The kernels repo gained CPU kernel skills [10] for the kernel-builder, adding a two-phase correctness-then-performance workflow with benchmarking and profiling built in. Serge shipped a critical security isolation layer [8] [9] that sandboxes fork PR code from the persistent review host, preventing tampered context scripts or imports from accessing GitHub App keys and LLM credentials.

Action items

References

  1. [1] refactor unet_2d tests ↗ huggingface/diffusers
  2. [2] refactor unet_1d tests ↗ huggingface/diffusers
  3. [3] refactor unet tests (3d_condition, motion, controlnetxs) ↗ huggingface/diffusers
  4. [4] [CB] Add a "max_requests_per_batch" parameter ↗ huggingface/transformers
  5. [5] Extended & simplified n-to-1 kernel fusion via KernelConfig ↗ huggingface/transformers
  6. [6] [CB] Add a "max_requests_per_batch" parameter (#46434) huggingface/transformers
  7. [7] Extended & simplified n-to-1 kernel fusion via KernelConfig (#46339) huggingface/transformers
  8. [8] Isolate PR/fork code from the review host (#10) huggingface/serge
  9. [9] Isolate PR/fork code from the review host ↗ huggingface/serge
  10. [10] Add CPU kernel skills ↗ huggingface/kernels

FAQ

What changed in Hugging Face on June 10, 2026?
The diffusers team finished migrating all UNet test suites to a unified mixin-based structure, while transformers unlocked a cleaner kernel fusion API that puts control back in the hands of kernel authors.
What should Hugging Face teams do about it?
Review the diffusers UNet test migration for any custom overrides in your fork • Integrate max_requests_per_batch into continuous batching config if you own inference • Deploy serge security patch immediately if running PR review automation
Which Hugging Face repositories shipped on June 10, 2026?
huggingface/diffusers, huggingface/transformers, huggingface/serge, huggingface/kernels

Related across the cluster

For your repos

The showcase is a teaser.
Your wire is the product.

Same engine. Different stack. Below: what changes when the wire is yours.

Showcase wire

  • 14 famous open source orgs
  • One wire per day
  • Public, generic
  • Read on the web, when you remember

Your wire

  • Up to 1,500 of your repos - orgs, deps, vendors
  • Morning and evening briefs
  • Action items routed to your team
  • Slack delivery, email, breaking-news CVE alerts

Want a hands-on demo first? Ask a current user for an invite link.