DIFFLET: A Fast Inference Engine for Diffusion Transformer Models on AWS Trainium
Bin MaMin YuVijay KodamallaJohnny LiuDa LiDong Li
Bin Ma
Min Yu
Vijay Kodamalla
Johnny Liu
Da Li
Dong Li
+6
Difflet is a serving engine for diffusion transformer models on AWS Trainium2 that addresses the platform's ahead-of-time compilation for fixed shapes while pipelines, prompt lengths, and caching decisions vary across models, requests, and denoising steps. 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 device-side probe computes the caching signal, and a resident model process keeps every program loaded across requests. Across five image and video model families, fused attention speeds 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; on four of five models, resident serving is 1.5-3.4x faster than standalone runs that reload weights from a warm file cache per generation.

arXiv ·
· October 16, 2026