DIFFLET: A Fast Inference Engine for Diffusion Transformer Models on AWS Trainium
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.
ProofPaper ↗
Key points
- 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.
- 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.
Sources (1)
- [1]DIFFLET: A Fast Inference Engine for Diffusion Transformer Models on AWS TrainiumarXiv (AI, ML, NLP, CV, robotics, multi-agent) · Oct 16, 07:25 AM
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.
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.
Extractive summary: sentences quoted from the sources.
Before this
- Oct 16, 2026Welcome Beam: a 501B open model you can own, customize, and scale
- Oct 15, 2026Granite Switch 4.1: Chat, Decisions, and Speech from One Endpoint
- Oct 15, 2026huggingface/trl v1.16.0
- Oct 15, 2026Decoupled Safety Control: A Safety-Control Algorithm for Training-Free Safety Guidance
- Oct 15, 2026Local and Distributed Large LLM Inference with MLX and RDMA on Mac Studio
- Oct 14, 2026Two-Stage Score Estimation for Group-Specific Diffusion Models