Hugging Face BlogAI應用場景

Bringing Nunchaku 4-bit Diffusion Inference to Diffusers

2026年7月23日 00:00

重點摘要

Back to Articles Bringing Nunchaku 4-bit Diffusion Inference to Diffusers Published July 23, 2026 Update on GitHub Upvote 1 Pham Hong Vinh rootonchair Follow guest Sayak Paul sayak。

站內 AI 整理稿

Back to Articles Bringing Nunchaku 4-bit Diffusion Inference to Diffusers Published July 23, 2026 Update on GitHub Upvote 1 Pham Hong Vinh rootonchair Follow guest Sayak Paul sayakpaul Follow Large diffusion transformers can create stunning images (or even videos, audio snippets, and now text), but loading a modern text-to-image model in BF16 precision often requires 20-30 GB of VRAM, which puts these models out of reach of most consumer GPUs.

Quantization is a powerful solution to this problem, and Diffusers already integrates several quantization backends such as bitsandbytes, GGUF, torchao, and Quanto, which we covered in Exploring Quantization Backends in Diffusers.Most of these backends are weight-only.

This means that they store the weights in low precision and dequantize them back to high precision at compute time.This reduces memory usage significantly, but it usually does not make inference faster, and can even add a small latency overhead.

SVDQuant, the quantization method behind the popular Nunchaku inference engine, takes a different approach.It runs the main transformer layers with 4-bit weights and activations (W4A4), reducing memory while also speeding up the denoising loop.

The details are covered below, but until now, using these checkpoints required a separate inference library.With current Diffusers, loading a Nunchaku checkpoint is as simple as calling from_pretrained(), with no local CUDA compilation required thanks to the kernels package.

Related

相關文章

選秀捲土重來,這回來的都不是真人了

抖音近期出現AI生成虛擬偶像的選秀短劇,如《星光108》和《12星練賽》,完全複製傳統選秀模式但選手皆非真人,引發熱潮。這類節目成本低、產出快,觀眾可投票決定成團命運,但也引發缺乏真實情感與監管不確定性的爭議。AI選秀可能預示娛樂產業結構性變革,未來或與真人選秀走向融合。

4 小時前

小紅書發佈《AI 治理規則公告》:鼓勵主動披露 AI 生成,反對 AI 洗稿、合成他人聲音、捏造新聞

首頁 > IT資訊>網絡 小紅書發佈《AI 治理規則公告》:鼓勵主動披露 AI 生成,反對 AI 洗稿、合成他人聲音、捏造新聞 2026/8/7 15:49:00 來源:IT之家 作者:潞源 責編:潞源 評論: 感謝IT之家網友 軟媒用戶1238620 的線索投遞! IT之家 8 月 7 日消息,小紅書官方昨天發佈《AI 治理規則公告》,明確 AI 賬號的治理原則。

5 小時前

我,用美圖Agent,一句話拍出AI短劇

美圖公司推出「美圖Agent」新功能,使用者只需輸入一句話即可自動生成AI短劇,大幅降低創作門檻。該功能整合自然語言處理與影像生成模型,能將指令拆解成分鏡腳本並產出連續畫面,目前支援多種風格且可免費試用基本功能。此舉顯示美圖從修圖軟體轉向AI內容創作平台的企圖心,目標鎖定短影音創作者與品牌行銷需求。

9 小時前

Grokipedia被曝數月未更新,AI百科項目編輯功能陷停滯

馬斯克推出的AI百科項目Grokipedia被揭露自今年4月起內容更新基本停滯,過去三個月內沒有任何條目完成更新,用戶編輯請求也長期未處理。調查顯示此問題普遍存在於各類頁面,與早期數分鐘內完成修改的效率形成明顯反差,且該平台曾因直接引用維基百科及爭議性來源而受質疑。

18 小時前5700

美國祖父母熱衷將孫輩寫進 AI 生成童書,引發父母輩大量反感

首頁 > 智能時代>人工智能 美國祖父母熱衷將孫輩寫進 AI 生成童書,引發父母輩大量反感 2026/8/6 17:44:33 來源:IT之家 作者:清源 責編:清源 評論: IT之家 8 月 6 日消息,美國一些祖父母正熱衷於把孫輩寫進 AI 生成童書,卻讓孩子父母大為反感,甚至引發家庭矛盾。據《連線》雜誌當地時間 7 月 29 日報道,美國各地不少父母陸續收到孩子祖父母送來的 AI 童書。

1 天前

WorkBuddy 跑出來後,釘釘飛書放下了“入口”執念

WorkBuddy以AI代理為核心的新工具,促使釘釘與飛書放下過去對「入口」的執念,轉而將重心放在協作效率與場景落地。企業用戶不再迷信單一入口,更看重平台能否與其他系統順暢對接,讓AI在具體工作中產生實質效益。整體而言,競爭焦點從「圈住用戶」轉向「服務用戶」,AI能力與開放性成為下一階段的主導關鍵。

1 天前