Diffusers tensor parallel loading gets 2.4x faster, cuts CPU memory by 89%
RisingSayak · x · 2026-10-01
Hugging Face shipped a major upgrade to tensor parallel loading in Diffusers. On Flux.2-Dev DiT with TP degree 4 (A10G GPUs), model loading drops from 30.4s to 12.5s (2.4x faster) and per-rank peak CPU memory falls from 64.1 GB to 6.8 GB (89% less).
Previously, tensor parallelism required loading the full checkpoint on every rank before resharding. Now frompretrained() shards weights while reading from disk, delivering only each rank's slice directly into a DTensor on device, and savepretrained() is TP-aware as well. Incompatible with devicemap, quantization, flashpack, and non-safetensors formats.
Related event: Diffusers Tensor Parallel Loading Gets Major Speedup(2 posts)→
More from Infra
- 79% of AI GPUs Sit Idle as Firms Hoard Billions in Dark Compute — Glittering_Depth_722 · 2026-11-29
- Betelgeuse v0.8 hits 50.3 tok/s on RTX 3060 with a CPU expert-prefetch oracle, bit-exact — zyxciss · 2026-11-29
- GGUF-Radar gets a Windows UI: single-exe scanner for malware in GGUF models — Electronic-Metal2391 · 2026-11-29
- Baseten's 'Inference Engineering' book back in print, free copies at re:Invent — philipkiely · 2026-11-29
- Debate: inference demand makes H100s more valuable while NVDA stock heads south — teortaxesTex · 2026-11-29
- Prefetching MoE experts 2 layers ahead boosts V100 decode speed 29.9% — WaroftanksPro · 2026-11-29