DIFFLET: A Fast Inference Engine for Diffusion Transformer Models on AWS Trainium
Bin Ma, Min Yu, Vijay Kodamalla, Jialin Liu, Dong Li
Key points
From the paper's conclusion- Difflet, a serving engine, was developed for diffusion transformer models on AWS Trainium, with five model pipelines sharing one compilation backend and joint attention split across cores by attention head.
- A small probe program computes the caching signal on the device and returns one number per denoising step, while a resident model process keeps every program loaded across requests.
- Fused attention in Difflet accelerates denoiser steps by 1.2-4.3x over the same framework using PyTorch/XLA attention and is the only attention that compiles at 32.8k visual tokens.
Abstract
On AWS Trainium2, every component of a diffusion model runs as a program compiled ahead of time for fixed shapes, while pipelines differ across models, prompt lengths across requests, and caching decisions across denoising steps. We present Difflet, a serving engine in which five model pipelines share one compilation backend, joint attention is split across cores by attention head, and a host controller decides at each denoising step whether to run the denoiser or reuse its earlier output. A small probe program computes the caching signal on the device and returns one number per step, and a resident model process keeps every program loaded across requests. Across five image and video model families, fused attention accelerates denoiser steps by 1.2-4.3x over the same framework using PyTorch/XLA attention, and at 32.8k visual tokens it is the only attention that compiles. On four of the five models, resident serving is 1.5-3.4x faster than standalone runs that reload weights from a warm file cache for each generation.
Read the paper
Discussion · 1
Science Skim's AI key points, plus readers' public thoughts
- Difflet, a serving engine, was developed for diffusion transformer models on AWS Trainium, with five model pipelines sharing one compilation backend and joint attention split across cores by attention head.
- A small probe program computes the caching signal on the device and returns one number per denoising step, while a resident model process keeps every program loaded across requests.
- Fused attention in Difflet accelerates denoiser steps by 1.2-4.3x over the same framework using PyTorch/XLA attention and is the only attention that compiles at 32.8k visual tokens.
Readers' thoughts
No reader thoughts yet.
Related papers
- TamedFlow: Trajectory-Aware Distillation\\for Teacher-Assisted Diffusion SamplingarXiv · 2026
- UnStep: Training-Free Acceleration of Causal Video Diffusion with Fewer Steps Than DistillationarXiv · 2026
- The Weight Is Over - Interactive Diffusion on Consumer GPUsarXiv · 2026
- CLiS: Plug-and-Play Attention Acceleration for Video Diffusion on TPUs via Certified StabilizationarXiv · 2026
- Sink-Sparse Hybrid Attention for Efficient Inference in T2I/T2V Diffusion TransformersarXiv · 2026
- Understanding Diffusion Acceleration: Methods, Trade-Offs, and Open QuestionsarXiv · 2026