Had the honor to present diffusion transformers at CS25, Stanford. The place is truly magical.
Slides: t.co/Npm3NCmbtm Recording: t.co/8Q9Mcrjxlq
Thanks to @stevenyfeng for making it happen!

待积累:7日增速(连续追踪满 7 天后解锁)
Had the honor to present diffusion transformers at CS25, Stanford. The place is truly magical.
Slides: t.co/Npm3NCmbtm Recording: t.co/8Q9Mcrjxlq
Thanks to @stevenyfeng for making it happen!
You can now LoRA fine-tune RFD4-Proteina from @NVIDIAAI with Diffusers for protein design 🤯
The example trains rank-32 adapters on the denoiser with flow-matching losses (on backbone coordinates + local latents instead of pixels).
Most of the training code is very similar to how we do for standard image and video generation models.
Details:
Tessera-small 将 16×16 像素艺术精灵图建模为 256 个调色板颜色 token,并通过掩码扩散并行生成;其 int8 ONNX 版本可在浏览器的 WebGPU 上运行。
Jeveration is very interesting! I couldn't even think of how decision models could be leveraged for image generation. But them codebooks!
No denoising loop. It uses a frozen Qwen3.5-4B plus LoRA to return a whole 512×512 image as one joint decision: all 128 codes chosen in parallel, in a single forward pass.
The same checkpoint also does image-to-image and dense prediction.
今天看到一篇很棒的 CUDA kernel 教程。
Simon Boehm 从朴素实现开始,逐步讲解矩阵乘法如何经过内存合并、共享内存、分块和 warp 分块,逐步接近 cuBLAS 的 FP32 性能。
在他的表格中,仅内存合并一项就将性能从 cuBLAS 的约 1% 提升至约 8.5%。
People doing kernel development with Claude -- the following is from the system card of Fable 5.2:
> As on previous models, we have deployed safeguards on Fable 5.2 for a narrow set of capabilities related to developing frontier LLMs, such as kernel development on certain ML accelerators. […] Requests blocked by these safeguards fall back to Opus 5.*
I am not in a position yet to tell you that the kernel source generated by Opus is objectively worse / more supbar than Fable, but I think it does tell us something.
That is now far more important: to be aware of what's primarily going on in those kernels, sharpen the blades of our knowledge and understanding, and pour them where needed!
*Source: Page 13 of t.co/u9tHplcf6D
Cool writeup on implementing turbo diffusion models step-by-step.
It trains one 9.79M DiT on MNIST and walks 1000-step DDPM -> DDIM/DPM-Solver/UniPC -> rectified flow -> 1-step methods (CT, CD, MeanFlow, DMD2).
On this setup, 1000 to 5 calls cost almost nothing visible, with no retraining. At only 2-3 steps, rectified flow already gives cleaner outputs, while v-pred DDPM still shows haziness.
The 1-step version needs a new objective: a denoiser predicts the average clean image for its input. From pure noise, that's the average '3', a blur. Many steps get past this by narrowing down step by step. CT, CD, MeanFlow, and DMD2 change the training target instead.
The latency results in @Apple's FastFrames video models (Wan 2.1 finetunes, 1.3B and 14B) are particularly quite fascinating 🧐
They profiled autoregressive video diffusion and found the "boring" parts were the bottleneck: VAE decoding and KV-cache updates were over HALF of end-to-end latency. As I keep saying "what you can't profile you can't optimize" 😂
So they replaced both with lightweight nets and kept a 2-step sampler. Per frame on one B200, FastFrames-S is now two DiT calls (~16 ms each) + KV refinement (2.2 ms) + pixel decoder (0.9 ms) = 36 ms, matching a model nearly 8x slower. The 14B does 45 ms/frame on 8x B200.
The clip shows it in interactive world models: ~16-24x lower latency per frame, same input on both sides.
Same few-step idea as image diffusion, applied to interactive video, which is nice!
You heard it here first.
@Da7_Tech we're not going anywhere!
Finding an analogy to be particularly very relevant.
Back in 2019, Karpathy wrote:
> As a result, (and this is reeaally difficult to over-emphasize) a “fast and furious” approach to training neural networks does not work and only leads to suffering.
I think this theme is still very relevant in the age of agents. Just blindly trusting whatever your favorite agent spits out and not doing any auditing is a waste of our collective potential. Finding a way where the agent becomes your aid to achieve your work faster and more effectively (without causing misery) is a goal worth optimizing for.
For me personally, it's sometimes about letting an agent come up with a draft PR and then iterating on top of it before requesting for any reviews. This is particularly useful for the model integration PRs where we have dedicated agent skills that are results of our solid experience of doing integrations ourselves.
But for other core stuff like refactors, new modules, new features, etc. it's all a mixed bag, really. Sometimes, I ask an agent to come up with a planning doc only to reject it later because it just won't get the abstractions (yeah I am fortunate to still be in a situation like this).
But the biggest learning for me so far is to always review the work before requesting for reviews from others, ensuring that the work reflects how I would have done it, basing things off my experience.
the most import skill in 2026 is still being able to tell your agents "wtf is this crap, no, not like this"
if you stop doing that, you're basically fucked, despite what some devfluencers would like you to think.
I am excited to be in Tokyo next week with @ariG23498 and many others 🕺
We will be talking about Kernels at OSS Japan and PyTorch Day Japan 🔥
Many @huggingface team members will be around that time, including @LysandreJik @SergioPaniego @alvarobartt @_DhruvNair_ and more.
It is been a crazy ride to ship Kernels and make improvements to the project to get to this point.
Reasonable performance is now a default in Transformers.
Kudos to the cross collaboration between our teams 🫶
Big announcement today: for the first time in probably 6 years we are adding 1 default dependency to transformers: kernels.
The kernel library brings good default performances to any model, on many hardware. It does not require crazy installs like FA2 use to, it only downloads what your hardware needs for your torch version. There’s a lot more to it, inviting you to read t.co/5EnxSlDnET.
This is super important for transformers as it reinforces our commitment to performances, but also to community built kernels: you are all actors of the ecosystem, and a crazy dev can push a specialized kernel that will help the entire community.
Kernels are explicitly registered in transformers and will be activated by default, we tested but of course if you have any feedback or issues, ping us on github we’ll fix them asap!
It’s been great to see @AMD growing the list of their kernels. The team is cooked and actively contributes!
I hear more kernels are incoming. Something along line of FlyDSL 😉
. @OzzyGT wrote a guide on adding a model to Modular Diffusers without waiting for an official integration. The example is IDOL: one image to a 3D Gaussian splat, loaded with a few lines 🔥
You stay in one environment, and you get the same offloading, torch.compile, and attention backends as any other Diffusers model.
This is for running and sharing a model, not a substitute for an official PR. It uses `trust_remote_code`, so only load repos you trust.
This is going to be useful, so be sure to bookmark!
Turbo LoRAs are trending on the @huggingface Hub right now, video + image.
Few steps, real quality 🔥
Listing them down, with Diffusers snippets where the model card has them 👇
H3-Image from @MiniMax_AI is #2 on the Hub's trending models this week: 765 likes and 142,989 downloads, with a ComfyUI pack already at 351,803 downloads.
Open-weight text-to-image and editing.
We just hosted Hugging Face's first-ever hackathon in the GCC 🇶🇦
3 days in Doha with QAI: • 200+ applications • 150 builders, 40 teams • 1 brief: solve a real problem in Qatar with open-source AI
The builds blew us away 🤗
Full recap 👇 t.co/iHRO6btoxW
As @ariG23498 says, “Tokyo, we are going to be in you”.
PyTorch Day Japan 2026 is just over three weeks away. We’ll be in Tokyo on December 10 for talks on deploying models on edge devices, adapting inference to different AI accelerators, and improving training performance.
Michiaki Tatsubori and Tatsuhiro Chiba of IBM Research (@IBMResearch) will present “Beyond GPUs: A Practical Playbook for Bringing ExecuTorch to a New Edge Accelerator.”
In the afternoon, Aritra Roy Gosthipaty (@ariG23498) and Sayak Paul (@RisingSayak) of Hugging Face (@huggingface) will present “Kernels Without Borders: Unifying the Kernel Ecosystem.” Masahiro Tanaka (@toh_tana) of the DeepSpeed team (@DeepSpeedAI) will close out the talks with “DeepSpeed at the Frontier: Community-Driven Optimizations for State-of-the-Art Training Performance” before the attendee reception.
PyTorch Foundation (@PyTorch), Hugging Face (@huggingface), IBM (@IBM), and Mitsubishi Electric (@ME_JP_official) are co-hosting the event.
Register for PyTorch Day Japan at
Hugging Face 开源负责人,关注 AI 模型、编程智能体与开源工具。
Hugging Face 机器学习工程师与 AI 博士,分享开源智能体训练、强化学习及模型评测。
Hugging Face 团队成员,分享 AI 模型、内核编程与开源机器学习资源。
斯坦福计算机科学教授、RicursiveAI创始人,研究并构建模型、推理及AI硬件优化技术。