Conceptio › Archive › arXiv CS
arXiv CS open access

DIFFLET: A Fast Inference Engine for Diffusion Transformer Models on AWS Trainium

Bin Ma et al. · arxiv_cs
arXiv CS · Papers
Open Source ↗Direct PDF ↓
clouddistributed-computingparallel-computing
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 sha
Conceptio Open Archive

Analyze & explore related research in Conceptio

Connect this record directly into your research workflow or AI agent. Explore citations across open repositories, query full text, and export structured proof bundles.

D IFFLET : A FAST I NFERENCE E NGINE FOR D IFFUSION T RANSFORMER M ODELS ON AWS T RAINIUM

arXiv:2610.23047v1 [cs.DC] 16 Oct 2026

Bin Ma 1 Min Yu 1 Vijay Kodamalla 1 Jialin Liu 1 Dong Li 1 2

A BSTRACT 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.3× 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.4× faster than standalone runs that reload weights from a warm file cache for each generation. 1

I NTRODUCTION

Diffusion transformers generate images and videos through repeated denoising steps. Each step applies a transformer to a noisy latent representation, using the timestep and conditioning inputs to predict the noise, or for flow-matching models the velocity, from which the sampler computes a less noisy latent (Peebles & Xie, 2023). Higher image resolutions and longer videos increase the number of visual tokens processed at each step. Repeating this computation raises both generation latency and the accelerator time consumed by each request. Efficient serving therefore requires shortening the user’s wait while controlling the cost per generated image or video. Most diffusion serving today runs on NVIDIA GPUs, whose high price and limited supply make the production cost hard to manage. Cloud providers have therefore built costefficient, customized accelerators. AWS Trainium (Fan et al., 2024) is one of those examples: it has been reported that Trainium2 instances provide 30–40% better price-performance than GPU-based EC2 P5e and P5en instances (Amazon Web Services, 2026i), and distributed LLM training on first-generation Trainium cost up to 46.3% less than on A100-based instances in selected workloads, at comparable or higher training throughput (Fu et al., 2024). Each Trainium chip contains several NeuronCores (cores for 1

Yotta Labs, USA 2 University of California, Merced, Merced, California, USA. Bin Ma <bin@yottalabs.ai>, Min Yu <minyu@yottalabs.ai>, Vijay Kodamalla <vijayk@yottalabs.ai>, Jialin Liu <liu@yottalabs.ai>, Dong Li <dli35@ucmerced.edu>.

short), and the Neuron Kernel Interface (NKI) lets programmers write kernels that choose which of a core’s tensor, vector, scalar, and general-purpose engines runs each operation and when data moves (Amazon Web Services, 2026j;b;c). With Trainium’s production software stack, serving a diffusion model means running programs that are compiled ahead of time for fixed shapes and called by a host process at every denoising step. Serving diffusion models under this execution model requires deciding what must be fixed in compiled programs and what must remain flexible across models, requests, and denoising steps. This creates challenges at three levels: accommodating different model pipelines, distributing each denoiser evaluation across cores, and reusing results across denoising steps. First, diffusion models differ in their encoders, denoiser, and decoder and in the order they call them, yet on Trainium every one of these components must be compiled before serving. Ahead-of-time (AOT) compilation specializes each component for the selected tensor shapes, data type, and parallel configuration (Amazon Web Services, 2026d). When compilation, loading, and invocation are embedded in each model’s pipeline, supporting another model requires assembling another execution path around these constraints. The challenge is to add a model without writing another compilation and loading path for it. Second, distributing a denoiser across Trainium cores requires finding a parallel configuration that both the model and the compiled kernels support. Tensor parallelism (TP) partitions weights (Shoeybi et al., 2019); sequence and context parallelism (SP, CP) partition tokens (Korthikanti et al.,

2022; Jacobs et al., 2023; Liu et al., 2023); and classifierfree guidance (CFG) parallelism executes conditional and unconditional denoiser passes concurrently (Ho & Salimans, 2022). Each choice changes tensor shapes, data layouts, and communication requirements, so these choices cannot be combined freely. For example, joint attention over visual and text tokens must exclude padded text keys from its softmax. The masked attention path used here requires valid keys to be contiguous and query and key lengths to match (Amazon Web Services, 2026e). A direct partition that keeps queries local while gathering all keys violates the second requirement. Such incompatibilities make parallel configuration a question of execution feasibility as well as performance, and discovering them only after compilation is costly.

a short description of each model. The backend caches each compiled program under exactly these inputs, so a server restart or a new caching threshold reuses the program instead of recompiling it. For parallel execution, Difflet chooses each split by what Trainium’s attention kernels accept. For attention, it uses Ulysses-style context parallelism (Jacobs et al., 2023), which regroups the tokens by attention head, so each core holds every query and key for its heads and thus the same number of queries as keys. Difflet places the text padding after all valid keys, so the valid keys sit next to each other, and each request passes only the number of valid keys. One compiled program thus serves every prompt length, and the split result matches unsplit attention to within BF16 rounding. Difflet also rejects unsupported combinations before compiling rather than after a long compilation fails.

Third, step caching, a common optimization for diffusion transformers, must obtain a cheap reuse signal despite Trainium’s compilation and memory constraints. Methods such as TeaCache use early denoiser features to decide when to reuse prior results (Liu et al., 2025a). In our AOT execution path, these features remain inside the compiled denoiser, while the host controls whether to invoke it. Computing the signal separately on the host adds latency; a device implementation instead needs additional memory for weights and saved features alongside the partitioned denoiser. This placement tradeoff can undermine caching: our host path makes Wan’s denoising loop 11% longer than without caching, while HunyuanVideo already occupies 22 of 24 GiB per logical core before adding a probe.

To skip denoising steps, Difflet estimates the output change outside the denoiser in one of two ways. A small compiled probe computes an early denoiser feature on the device, keeps the previous step’s feature there, and returns a single number to the host; because it loads only the weights of the layers it runs, it fits beside the denoiser even on HunyuanVideo. Alternatively, Difflet estimates the change from the outputs of earlier steps, which needs no additional program. In both cases, a host controller decides at each step whether to call the denoiser or reuse an earlier output. These three parts meet in Difflet’s resident model process, which keeps a model’s programs loaded across requests. At startup, the process loads the programs compiled for the deployment’s shapes, data type, and parallel configuration, checks that they match, and runs a test generation before accepting requests. For every request, it resets the sampling and caching state, so reuse never crosses requests. Difflet serves FLUX (Black Forest Labs, 2024), QwenImage (Wu et al., 2025), Wan (Wan Team et al., 2025), HunyuanVideo (Kong et al., 2024), and LTX-2 (HaCohen et al., 2026) through this process.

We present Difflet, a serving engine for diffusion transformers on AWS Trainium2 built around one boundary: what is the same for every request is compiled, and what changes per request or per step stays on the host. Each component’s program fixes its shapes, data type, parallel configuration, and kernels; the model’s control flow, the prompt length, the decision to skip a step, and each request’s sampling state are left to the host. When such a value must reach or leave the device, Difflet passes it as a small runtime value instead of building a new program: the number of valid text keys going into attention, and one change score per step coming out of the caching probe.

We summarize our contributions as follows: • A shared Trainium backend through which one kernel or parallel mode serves different diffusion pipelines.

To support different models, Difflet exploits what diffusion pipelines have in common. Their control flow differs, but all of them are built from conditioning encoders, a denoiser, and a decoder. Each of these components compiles to a program that depends only on its shape, data type, parallel configuration, and compiler version, and, where a device probe is fused into the denoiser, on whether the probe is present; runtime settings such as the caching cadence or threshold do not enter it. Difflet therefore keeps each model’s control flow in its own pipeline on the host and moves everything AOT compilation needs into a shared backend, driven by

• Parallel execution planned as a serving decision, with split joint attention that matches unsplit attention. • Step caching around compiled denoisers, with or without a device probe. • A resident model process that serves five image and video models.

2

Difflet

Dataflow

(a) Model abstraction

FLUX

Wan

(b) Adaptation

Components

Model pipeline Encode

DiT prediction final latent

Scheduler

Decode

Shape / data type

Parallel config

configures

what order, and a shared Trainium backend compiles, loads, and calls them (Figure 1). The pipeline is hardware-agnostic: it names the model’s encoders, denoiser, and decoder, the tensors that flow between them, and the shapes each one takes. A short model adapter connects the two: given a resolution, data type, and parallel configuration, it tells the backend which components to compile and how to shard each one.

Adaptation

(c) Trainium Compile / load

uses

Operators

NKI / NxD

Parallelism

Rank groups

The model pipeline determines how tensors move through these components. For a generation request, conditioning encoders produce the context used during denoising, and the pipeline prepares the initial latent and timestep schedule. At each step, the denoiser predicts noise or a velocity field from the current latent, timestep, and encoder outputs. The diffusion scheduler uses this prediction to update the latent for the next step. After the final update, the decoder maps the latent to an image or video. The pipeline owns this iterative control flow, including model-specific conditioning and component choices.

runs on

Trainium hardware

NeuronCores

Figure 1. Model abstraction and Trainium adaptation in Difflet. (a) Pipelines specify component dataflow and configurations. (b) Component, operator, and parallelism interfaces connect models to (c) Trainium compilation and execution. Solid arrows denote dataflow; dashed arrows denote configuration and adaptation. NeuronCore icons are schematic.

2

BACKGROUND

Trainium2 architecture. AWS Trainium2 has eight physical NeuronCore-v3 cores and 96 GiB of high-bandwidth memory (HBM) for weights and activations (Amazon Web Services, 2026h). Each core provides a software-managed scratchpad (SBUF) for tensors and an accumulation buffer (PSUM) for matrix multiplication results. Direct memory access (DMA) engines transfer tensors between HBM and SBUF (Amazon Web Services, 2026j). The Tensor Engine handles matrix multiplication, Vector and Scalar handle normalization and activations, and GpSimd supports programmable SIMD. These engines can execute concurrently and overlap computation with data movement (Amazon Web Services, 2026b;j). Collective-communication cores support all-reduce and all-to-all (Amazon Web Services, 2026j). We use the default LNC=2 configuration, which pairs physical cores into four logical cores per device, each with 24 GiB of HBM; all parallel configurations count logical cores (Amazon Web Services, 2026a).

Trainium requires components to be compiled for static tensor shapes. Before inference, Difflet therefore prepares the required components for the selected image resolution or video length, data type, and parallel configuration. The Trainium backend uses this information to compile each component ahead of time, verify that the required compiled artifacts are present and match the selected configuration, and load the programs and weights onto the assigned cores. These preparation steps are separate from the generation process: loading order can follow resource requirements while the model pipeline retains the model’s execution order. During inference, the model pipeline runs in Python and calls the components’ programs with tensor inputs, receiving output tensors for the next stage or denoising step. Within each component, shared operator interfaces connect model operations to Trainium implementations, including NKI kernels and NeuronX Distributed (NxD) operations. The parallel configuration specifies how work is distributed across ranks and is checked against supported combinations. The backend organizes these ranks into groups for the selected parallel modes. Each model thus keeps its own control flow while sharing one backend. Because models call attention and collectives through shared operator interfaces, a kernel or parallel mode added once becomes available to every model that uses that interface.

Compilation and execution. The Neuron SDK provides a compiler, runtime, and Neuron Kernel Interface (NKI) for custom kernels with explicit data movement (Amazon Web Services, 2026c). Our ahead-of-time workflow compiles PyTorch components for fixed tensor shapes and data types; padding or compiled variants support different input sizes (Amazon Web Services, 2026d). The runtime loads programs onto NeuronCores, while host code invokes them and controls iteration and data-dependent decisions.

3

4

PARALLEL E XECUTION ON T RAINIUM

Difflet distributes each denoiser evaluation across cores with tensor, sequence, context, CFG, and data parallelism; each program fixes its parallel configuration, while the prompt length remains a runtime value. Each rank is one logical core, which pairs two physical NeuronCore-v3s un-

M ODEL P IPELINES AND A S HARED T RAINIUM BACKEND

Difflet splits each model along the boundary of Section 1: a pipeline on the host decides which components run and in 3

der the default LNC=2 configuration. On the single-chip trn2.3xlarge, collectives between ranks stay on chip, with DMA engines moving data between the logical cores’ HBM (Amazon Web Services, 2026a;j). Within a rank, each attention kernel runs on both physical cores, which split the call’s heads between them (Amazon Web Services, 2026f). Each physical core computes on tiles in its SBUF, whose 128 partitions set the tile height, and its Tensor Engine is a 128 × 128 systolic array (Amazon Web Services, 2026j). Two properties shape the design below: compiled programs fix every tensor shape, and kernels process sequences in tiles of 128 tokens, one per SBUF partition. In joint attention, each query attends to both visual and text keys under a single softmax normalization. Distributed execution must preserve this normalization while excluding padding and counting replicated text keys only once. These requirements determine how Difflet redistributes tensors and combines results from Trainium’s fused attention kernels. 4.1

4.2

Representing Attention Mask

Neuron compiles attention calls for fixed tensor shapes, so shorter text inputs retain padding. Padding keys must be excluded from softmax to preserve the weights on valid keys. When valid keys form a contiguous interval, Difflet passes its bounds to AWS’s fused attention kernel, which combines score computation, softmax, and value aggregation (Amazon Web Services, 2026e;f). For each tile of 128 queries, the Tensor Engine computes QK ⊤ into PSUM. As the Vector Engine moves the scores to SBUF, it replaces those outside the interval with −∞ and tracks each row’s running maximum; the Scalar Engine then computes the exponentials and their row sums. After a DMA transpose, the Tensor Engine multiplies the probabilities by V , so the score matrix never returns to HBM. The kernel reads two bounds per query from HBM instead of a mask entry per query–key pair. For HunyuanVideo, Difflet arranges the full joint key sequence as visual tokens, valid text tokens, and text padding. Let Nvisual be the visual sequence length and Ltext the valid text length obtained from the input mask. Every query i uses the allowed interval [ℓi , ui ), where

Composing Parallelism

Tensor parallelism (TP) partitions linear-layer weights across ranks using the Megatron column and row decomposition (Shoeybi et al., 2019). Ranks in a TP group process the same tokens with different weight slices; an all-reduce sums the partial outputs and returns the result to each rank. Sequence parallelism (SP) partitions tokens within that group for normalization, modulation, and residual operations between linear layers (Korthikanti et al., 2022). An all-gather assembles the token partitions before the linear layers, and a reduce-scatter sums and partitions their outputs. The normalization, modulation, and residual operations run on the Vector and Scalar Engines, whose throughput is far below the Tensor Engine’s (Amazon Web Services, 2026b); SP divides this otherwise replicated work by the TP size while reusing the TP group.

ℓi = 0,

ui = Nvisual + Ltext .

(1)

Varying Ltext changes the allowed keys while preserving the compiled tensor shapes, and padding never enters the attention weights or their normalization. 4.3

Distributed Joint Attention

Figure 2 compares two ways to provide the joint key set to the attention computation. Ulysses partitions attention heads across ranks, so each rank processes the full joint sequence for its assigned heads. Ring keeps queries local and evaluates them against successive K/V partitions. Both return partitioned visual outputs and replicated text outputs, as required by the next layer.

Context parallelism (CP) partitions tokens across a separate rank group. Ranks at the same TP position hold the same weight partition but process different tokens. HunyuanVideo and Qwen-Image partition visual tokens while replicating text; FLUX partitions both streams. We focus below on the replicated-text layout, also used in xDiT (xDiT Contributors, 2026).

Ulysses for joint attention. In gather kv, queries cover the local visual partition and all text, while keys cover the full visual and text sequences, so query and key lengths differ. Difflet instead uses Ulysses to exchange sequence partitions for head partitions (Jacobs et al., 2023). Each rank then holds the full joint sequence for its assigned heads, with equal Q and K lengths.

Each rank’s queries (Q) require keys (K) and values (V) from all visual partitions and one copy of the text. The gather kv mode all-gathers visual K/V and combines them with local text K/V. This gives each rank the full key set, but each logical core must then hold the whole visual K/V sequence in its 24 GiB of HBM, so per-rank K/V memory does not shrink as the CP group grows. Ulysses and Ring organize these inputs differently, so their masks must follow the key order of each kernel call.

An all-to-all gives each logical core the full visual Q/K/V sequence for H/(TP · CP) of the model’s H heads. Applying the same exchange to replicated text delivers identical copies of that rank’s text head partition. Each rank retains one copy so that text keys enter softmax only once. It then concatenates visual and text Q/K/V and runs fused attention, using the bounds in Equation 1 for padded text. The next layer expects the original token distribution. An 4

Joint attention

Visual token

Valid text

Text padding

(a) Ulysses for joint attention

(b) Ring for joint attention

Rank 0

V0

V1 T0

T1

P

Rank 0

V0

V1 T0

T1

P

Rank 1

V2

V3

T1

P

Rank 1

V2

V3

T1

P

T0

T0

2 ranks

nates. Padding must be excluded from both its weighted value sum and softmax statistics before the joint merge.

Exchange visual keys / values only

All-to-all: sequence to heads

Rank 0 V0

Keep one text copy Full joint Q/K: equal lengths Rank 0 Head group 0

Rank 1 Head group 1

V0 V0

T0

V1 V2 V3 T0

T1

P

V1 V2 V3 T0

T1

P

Allowed keys: [0, 6)

NKI attention with bounds

Visual: inverse all-to-all Text: all-gather

T1

4.4

Rank 1

V1

V2

P

T0

Text keys*: [0, 2)

T1

TP, SP, and CP divide work within one denoiser pass. Classifier-free guidance (CFG) parallelism executes the conditional and unconditional passes concurrently in separate rank groups (Ho & Salimans, 2022; Fang et al., 2024a). Data parallelism (DP) assigns independent requests to complete model replicas, increasing throughput. Each replica can combine TP with CP or CFG parallelism.

P

Text keys*: [0, 2)

Rank 0: same Q (5); visual K (2)

Q

V0

V1 T0

NKI text* partial × 1

T1

P

NKI visual partial V0, V1

Other Parallel Modes

V3

NKI visual partial V2, V3

Merge unnormalized outputs + softmax statistics Joint normalization over valid keys

Output: visual sequence shards + replicated text

Ulysses partitions each TP rank’s heads across the CP group, so the total head count must be divisible by the product of the TP and CP group sizes, which count logical cores. Table 4 in Section 7.4 lists the modes each model runs.

Figure 2. Joint attention with visual tokens partitioned and text replicated across two ranks. (a) Ulysses gives each head group the full joint Q/K sequence with equal lengths; bounds [0, 6) exclude text padding. (b) Ring uses the same local queries in separate text and visual calls with unequal Q/K lengths, then merges unnormalized outputs and softmax statistics. Starred: the text bounds [0, 2) that Ring needs for padded prompts. Both paths restore visual sequence shards and replicated text.

5

A DAPTIVE S TEP C ACHING ON T RAINIUM

Nearby diffusion steps can produce similar denoiser outputs. Difflet uses this similarity to replace some full denoiser executions with estimates. The skip decision changes from step to step, so Difflet makes it on the host, outside the compiled denoiser. The host stores the previous output used by the generation loop and its most recently measured change. A full execution measures the change relative to the previously used output, then saves the new output. A cached step adds the saved change to the previous output and stores the estimate for the next step. Both paths apply the same numerical update rule to the latent, reducing denoiser calls while retaining every sampling step. This output estimator supports three caching modes: fixed cadence, calibrated adaptive, and online-delta. They differ in when to replace a full denoiser execution with an estimate.

inverse all-to-all therefore returns visual outputs to sequence partitions, while an all-gather across head partitions restores replicated text outputs. Ring for joint attention. Ring attention keeps queries local while rotating K/V partitions among ranks (Liu et al., 2023). Here Q contains local visual tokens and all text, whereas a rotating K/V partition contains only visual tokens. The AWS Ring kernel used here requires equal query and key lengths (Amazon Web Services, 2026g). Difflet therefore builds the ring from separate fused attention calls that accept unequal lengths without a mask. Each call uses the same local Q with either text K/V or a visual K/V partition. Text is processed once per rank, so its keys are counted once; only visual K/V circulate. Each rank obtains one text partial and one partial for each visual partition, including its own.

The calibrated adaptive mode needs a signal that costs less to obtain than the computation it can save. TeaCache (Liu et al., 2025a) motivates using changes in early model features to estimate later output changes. On Trainium, these features remain inside a program compiled before inference. Observing them requires the program to expose a result, but returning a large feature array to the host for comparison would introduce communication overhead. Difflet compiles a shallow computation, called a probe, to produce the change score directly on Trainium. Figure 3 shows how this path connects device computation and saved features to the host’s reuse decision.

Independently normalized partials cannot be added, because each uses a different softmax denominator. For each query, each call therefore returns an unnormalized weighted value sum, the maximum score, and the sum of exponentials relative to that maximum. The kernel keeps these statistics in SBUF and writes them to HBM in its tile layout, one query per partition, which Difflet reorders to query order. Outside the kernel, Difflet rescales both sums to a common maximum and adds them across partitions. Dividing the combined weighted sum by the combined exponential sum restores joint normalization without gathering all visual K/V (Dao et al., 2022; Liu et al., 2023). The outputs retain Q’s layout: local visual tokens and replicated text.

The device probe executes the denoiser’s input projection and the first block’s normalization and modulation, using the current timestep and conditioning inputs. It stops before attention. The compiler removes the unused later computations. Wan, HunyuanVideo, and LTX-2 load the result as a separate program; FLUX and Qwen-Image fuse it into the denoiser program. Full steps still run the complete denoiser,

The text partial contains only text keys, so masking its padding requires bounds [0, Ltext ) in local text-key coordi5

CPU

Probe program

Step inputs

Current

latent + conditions

features ht

next step

history and final full steps to limit reuse near completion. These decisions remain outside the compiled denoiser.

Trainium

save

full

Cache decision

Online-delta uses outputs already available on the host, avoiding a separate probe call. At a full step, it measures output change relative to the previously used output, which may have been estimated. If this change is below α times the first change measured in the generation, the next step is cached. That cached step must be followed by full execution to obtain a fresh measurement. Calibration can select this mode when early features poorly predict output changes but output changes remain related across neighboring steps. If neither signal is suitable, it selects fixed cadence, which caches at a preset interval without a change signal. Both modes are probe-free; their effect on final quality must be assessed through complete image or video generation.

Compare read

Previous features hprev replace after comparison

reuse

Predict output

1 scalar score (4 B in FP32)

Output history

Full denoiser Update latent Later steps

Full

(example)

Data

output all layers execute

Cached Decision

Cached

Full

Cached

Saved state

Figure 3. Calibrated adaptive caching with a device probe in Difflet. The probe retains features on Trainium and returns a scalar score to the host CPU. Teal denotes full denoiser execution; gold denotes cached prediction. Solid arrows show data flow; dashed arrows show execution choices.

Because a separate probe loads only the weights of the layers it runs, it fits beside the denoiser even on HunyuanVideo. Section 7.5 measures what the probe costs per step and how well its signal predicts the output change.

so the probe never changes what a full step computes.

6

The probe compares its current features with those saved from its previous call. In Figure 3, these arrays are labeled Current features (ht ) and Previous features (hprev ). If D measures their difference, one call computes a scalar change score and updates the saved features: dt = D(ht , hprev ),

hprev ← ht .

S ERVING L AYER

Serving applies the same boundary across requests: programs and weights stay loaded, while each request’s sampling and caching state starts fresh on the host. Difflet separates request handling from model execution using two host processes (Figure 4). The API process validates requests, manages the queue, and returns results. A single resident model process loads the components for text encoding, denoising, and decoding, and retains them across requests. The process coordinates all three stages and manages the assigned cores. Keeping them resident avoids repeated runtime initialization and weight loading. This separation allows the model process to be restarted without restarting the API process.

(2)

The score dt is computed before the saved array is replaced. For example, a probe can divide the average absolute change by the average magnitude of the saved features. Other measures retain the same scalar interface. To keep the saved features on Trainium across calls, Difflet assigns the probe’s new feature output to their existing memory through input–output aliasing (Amazon Web Services, 2026d). After comparison, the current features replace the old ones there, and the next call reads them directly. Feature computation, comparison, and state update thus occur within one probe call. Only the scalar score returns to the host, reducing probe output transfer from a feature array to a single value. The saved features support the next comparison; the separate host output history supplies cached predictions.

Components that stay resident together share the same cores, which constrains both their parallel configurations and their memory. In our NxD execution path, resident components share the same set of cores, although their TP degrees can differ. For FLUX, the denoiser’s weights are partitioned across four cores (TP=4), while each core holds a full copy of the VAE weights (TP=1). Each component must be compiled for this shared set of cores and its own TP degree. Device memory must accommodate all resident weights, including the VAE replicas, and execution buffers.

In calibrated adaptive mode, a host controller uses the score to choose full execution or prediction. Before inference, reference runs provide examples of feature changes and corresponding output changes. This calibration fits a curve relating the two. The controller compares the estimated output change with a threshold, either separately for each step or accumulated across steps. Reaching the threshold triggers full execution and resets the sum when accumulation is used. All three modes retain initial full steps to establish output

At startup, Difflet configures the model process using a serving profile that specifies the model, supported input shapes, data type, and parallel configuration. It selects the corresponding compiled artifacts and checks that their core assignments match this configuration before loading them. The model process then runs a test generation to check that the loaded components work together. It validates the output 6

(a) Startup

Serving profile

Artifact cache

Load + check

Ready

(b) Requests Trainium

Host API process

Resident model process

request

dispatch

inputs outputs

Client

Validate

(c) Recovery

Bounded queue

Timeout / failure

Encode

result

Denoise

Decode

Programs

one active request

Pause dispatch

Stop execution

Weights Restart if needed

Ready

Figure 4. Serving in Difflet. (a) Startup selects artifacts for the serving profile, loads components, and checks readiness. Dashed arrows connect loading to the model process and Trainium. (b) The API process validates and queues requests. One resident model process orchestrates encoding, denoising, and decoding and controls the device cores; component placement depends on the model configuration. (c) After a timeout or failure, dispatch waits for prior execution to stop and the model process to become ready, with a restart when needed.

before becoming ready to execute requests (Figure 4(a)). After a restart, the process reloads the saved artifacts and repeats these checks.

Table 1. Evaluated models. Tokens are the visual tokens the denoiser attends over per step; guidance is distilled (dist.), classifierfree (CFG), or embedded (emb.). model params H×W×F tokens steps guidance

During serving, the API process checks requests against the serving profile and places accepted requests in a bounded queue, rejecting new requests when the queue is full. The model process handles queued requests one at a time to prevent concurrent changes to the pipeline’s sampling and caching state. Each request needs its own sampling and caching state. The model process therefore initializes the latent and timestep schedule for each generation. When step caching is enabled, it also clears the controller’s output history to prevent reuse of predictions from a previous request. The model process returns the result to the API process (Figure 4(b)).

FLUX.1-dev Qwen-Image Wan 2.1 HunyuanVideo LTX-2

50 3.5 dist. 50 4.0 CFG 50 5.0 CFG 50 6.0 emb. 40 1.0 c

a

Below the official shape (HunyuanVideo 720 × 1280 × 129, LTX-2 512 × 768 × 121), which does not fit on one chip; LTX-2 runs the first stage of its two-stage pipeline. b The official 1:1 shape is 1328 × 1328; both image models run at 10242 so that they process the same number of tokens. c The official first stage uses CFG 4.0; Difflet does not yet build the batch-2 program CFG needs, so LTX-2 runs without guidance.

7.1

Experimental Setup

Platform. All experiments run on one AWS trn2.3xlarge instance (Amazon Web Services, 2026i) with one Trainium2 chip, 96 GiB of HBM (Amazon Web Services, 2026h), and 124 GiB of usable host memory. Under LNC=2 the chip exposes four logical cores, each pairing two physical NeuronCores (Amazon Web Services, 2026a). All experiments use one locked software stack: torch 2.9.1, torch-neuronx 2.9.0, neuronx-cc 2.26, neuronxdistributed 0.19, and NKI 0.5. Unless stated otherwise, the denoiser runs in BF16 with four-way tensor parallelism (TP=4) and step caching off.

Recovery. When a request times out or the model process fails, Difflet pauses dispatch before attempting recovery. A timeout may leave device computation running, so Difflet first requests cancellation and waits for the current generation to stop. If cancellation succeeds, the same model process can handle subsequent requests. Otherwise, Difflet terminates the process and confirms its exit before starting a replacement. A model process failure also triggers replacement. The new process reloads the saved artifacts and passes the startup checks before dispatch resumes (Figure 4(c)). If recovery fails, dispatch remains paused.

7

12B 10242 4,096 20B 10242 b 4,096 14B 480×832×81 32,760 13B 320×512×61 a 10,240 19B 480×704×49 a 2,310

Workloads. Table 1 lists the five models. Step count, guidance, and negative prompt follow each model’s official defaults except where Table 1 notes otherwise, and every comparison within a model fixes the checkpoint revision, prompt, seed (42), and output shape. Wan 2.1 runs at its official 81 frames, 32.8k visual tokens per step; its VAE decodes on the device in FP32, in fixed-size temporal chunks, and agrees with the diffusers FP32 decoder to a maximum absolute difference of 5.6×10−6 (relative L2 error 1.2×10−6 , compared over the first 33 frames).

E VALUATION

We evaluate Difflet on five image and video models and ask five questions: how fast Difflet is end to end (§7.2), which mechanism the speedup comes from (§7.3), which parallel configurations pay off (§7.4), what step caching saves and costs (§7.5), and what resident serving buys in startup and recovery (§7.6). 7

Table 2. Systems compared and the mechanisms each provides: ahead-of-time compilation, NKI attention, presharded weights, resident serving, step caching, and parallelism. NxDI covers FLUX.1dev only. Y: yes; ×: no.

system

AOT NKI preshard resident cache parallel

PyTorch/XLA NxDI Difflet

Y Y Y

d f

× Y Y

Y × Y

×d × Y

Y × Y

Table 3. End-to-end latency at TP=4. Cold and warm are standalone runs; resident is the request latency of the model process; step is the step latency with NKI and with SDPA attention.

TP, CPe TP 5 axesf

difflet serve does not accept SDPA. e No ring mode: it has no SDPA variant. Tensor, sequence, context (gather, Ulysses, ring), CFG, and data parallelism.

Baselines. Table 2 lists the systems we compare and the mechanisms each one has. PyTorch/XLA is Difflet with every NKI attention call replaced by PyTorch’s scaled dot-product attention (SDPA) compiled through XLA (PyTorch/XLA Contributors, 2026). The rest of the pipeline is unchanged—the same programs for the other components, presharded weights, and step caching—so the difference isolates the attention kernel. Because difflet serve does not accept SDPA, this baseline runs standalone only, and the ring mode of context parallelism has no SDPA variant. NxDI (Amazon Web Services, 2026k) is the FLUX.1-dev application AWS provides for Trainium. It compiles the pipeline ahead of time with the same family of NKI attention kernels, but shards the checkpoint at load time in every process and supports tensor parallelism only; its public release has no pipeline for the other four models. Difflet is the only system that combines all six mechanisms, and Section 7.3 measures what each contributes.

compile

latency (s)

step (ms)

model

(min)

cold warm resident

NKI SDPA

FLUX.1-dev NxDI Qwen-Image Wan 2.1 HunyuanVideo LTX-2

16.7 318 15.7 337 24.1 537 75.1 1,311 85.8 625 17.6 780

47.6 66.3 98.9 974 141 64.7

14.2 270 682 – 271 – 42.4 835 1,582 1,245 14,876 –g 59.9 845 3,620 43.3 414 514

g

The SDPA program does not compile at 81 frames: it needs 7.96M instructions against the compiler’s limit of 5M.

VBench (Huang et al., 2024) for video, none used for calibration.1 Wan, at about 50 minutes per prompt for its four configurations, is scored by PSNR only, on five VBench prompts: the first five of the overall-consistency list. We report the mean and the worst prompt. 7.2

End-to-End Performance

Table 3 reports, for each model, the one-time compilation, the standalone latency of a fresh process, the request latency of a resident one, and the step latency with each attention implementation. Findings. The attention kernel speeds up every denoiser step, and resident serving removes most of what a standalone run adds around it. Against PyTorch/XLA’s SDPA, Difflet’s denoiser step is 1.24–4.28× faster on the four models whose SDPA program compiles, and at Wan’s 81 frames only the fused kernel compiles at all. The model process then serves a request 1.49–3.35× faster than a warm standalone run on FLUX, Qwen-Image, HunyuanVideo, and LTX-2; Wan is the exception, for a reason in its decoder. Section 7.3 explains it and splits the gain from PyTorch/XLA to Difflet by mechanism.

Measurements. Request latency is the time to generate one output with the model already resident, measured through difflet serve, over HTTP for Wan and LTX2, where returning the output adds well under a second. Standalone latency additionally covers process start and model loading: a cold run first flushes the host page cache, a warm run reuses the cached weight files but still loads them onto the device. Denoising time is the wall time of the denoising loop, including steps served from the cache, and step latency is the median time of an uncached step, excluding the first; with sequential CFG it covers both passes. Compilation is a one-time build into empty caches and is reported separately. Resident request latency is the median of five requests after one warm-up for image models and of three for video models; standalone runs and compilations are measured once. The device slows by up to 25–30% under back-to-back load and recovers after 90 s of idle, so every resident measurement idles the device for 90 s first.

Once a model is resident, request latency is mostly denoising—except on the video pipelines with heavy stages around the denoiser. Denoising takes 95% of a FLUX request and 98% of a Qwen-Image request, so these are the models that caching and parallel execution speed up most directly. Wan spends about 42% of its resident request (520 s) in the VAE decode, which the model process runs on the host (Section 7.3), HunyuanVideo 30% in its encoders and decoder, and LTX-2 three fifths (27 of 43 s) in the stages around its denoiser. Difflet’s generality costs no denoising performance against NxDI. On FLUX.1-dev, the one model NxDI supports, both systems run a 270 ms denoiser step, because both use the same family of NKI attention kernels. Difflet is faster end

Quality. Step caching is judged against the uncached output of the same model, prompt, and seed by PSNR (Wang & Bovik, 2009) and LPIPS (Zhang et al., 2018), frameaveraged for video, over 16 prompts per modality: eight from DrawBench (Saharia et al., 2022) and eight from PartiPrompts (Yu et al., 2022) for images, 16 from

PSNR = 10 log10 (2552 /MSE) in dB over 8-bit pixels; every 10 dB less is a tenfold larger mean squared difference. 1

8

FLUX.1-dev

1.32×

Qwen-Image

1.37×

from 75.2 s from 141 s

HunyuanVideo

+ presharded weights final latency 1.20×

LTX-2

1.69×

from 110 s

1.64×

8.8 s

8.5×

25.8 s

5.5×

42.9 s

6.4×

2.35× 1.49×

4×

total

3.35× 2.33×

1.93×

from 276 s

+ resident process

37.0 s

DiT step speedup NKI over SDPA ↑

+ NKI attention + step caching

3.0×

1.53×

Wan 2.1

from 1,492 s

1.33×

0

2.53× 1.89×

2×

1.24× 1×

LTX-2 2.3k tokens

FLUX.1-dev Qwen-Image HunyuanVideo Wan 2.1 81f 4.1k tokens 4.1k tokens 10.2k tokens 32.8k tokens

25 50 75 100% warm request latency, % of the starting configuration

Figure 6. Step speedup of NKI attention over PyTorch/XLA’s SDPA, each model at its evaluated shape, ordered by visual tokens per step. ×: Wan 2.1’s SDPA program does not compile at 81 frames.

Figure 5. Where the request-latency speedup comes from, adding Difflet’s mechanisms one at a time to a standalone PyTorch/XLA run. Each bar is a model’s starting latency; colored segments are the time each mechanism removes, labeled with that step’s speedup where it fits, and gray is the final latency. ×: Wan’s PyTorch/XLA program does not compile, so its bar starts from NKI attention. Caching is fixed cadence 2; for FLUX, Wan, and LTX-2 it is the resident caching-off request minus the denoising time cadence 2 saves. LTX-2’s first two stages are medians of two alternated runs (106–113 s).

Wan is the exception to resident serving, because its model process decodes on the host. Its resident request takes 1,245 s against 974 s standalone. Both paths run the same denoiser program and denoise in about 720 s; the standalone run then decodes on the device with the chunked FP32 VAE in 126 s, whereas the model process decodes on the host in about 520 s, more than the 140 s weight load it saves. The chunked decoder does not fit beside the resident model: the 81-frame denoiser and the text encoder already take about 20 GiB of each logical core’s 24 GiB, and the decoder’s largest chunk moves 3 GiB of state in and 3 GiB out.

to end because of loading: NxDI loads the full diffusers pipeline on the host in every process and warms up each component, whereas Difflet reads checkpoints already split per core at compile time. Warm latency falls from 66.3 to 47.6 s and the Neuron weight load from 43 to 23 s, for a compilation one minute longer (16.7 against 15.7 min), into which the checkpoint splitting moves. 7.3

3×

0

+270 s: the resident process decodes on the host 933 s 1.6×

4.28×

image model video model SDPA does not compile

The kernel’s gain grows with sequence length, and at 32.8k tokens it is the only attention that runs. Attention cost grows quadratically with the number of tokens. Figure 6 orders the models by sequence length: the step speedup rises from 1.24× on LTX-2 (2.3k tokens) through 1.89–2.53× on the image models (4.1k) to 4.28× on HunyuanVideo (10.2k). At Wan’s 32.8k tokens the SDPA program does not compile, so the fused kernel is the condition for running at all. The models differ in architecture as well as length, so the trend is across workloads rather than a controlled sweep.

Where the Speedup Comes From

Figure 5 starts from a standalone PyTorch/XLA run and adds Difflet’s mechanisms one at a time. To separate the attention kernel from the loader, the first two stages shard the checkpoint at load time, as a system without Difflet’s compile-time splitting would. Findings. Each mechanism dominates on different models. Together they cut request latency by 3.0–8.5× on the four models with a PyTorch/XLA baseline. Resident serving is the largest single step on the image models (3.35× on FLUX, 2.33× on Qwen-Image) and on HunyuanVideo (2.35×), because a standalone request pays process start, pipeline construction, and a 10–140 s device weight load on every call. The attention kernel gives 1.93× on HunyuanVideo and 1.32–1.37× on the image models; on LTX-2 its 1.24× faster denoiser step would save 4 s of a 110 s run, and the measured difference (0.1 s) is within the run-to-run spread (106–113 s). Presharding matters where the checkpoint is large relative to the rest of the pipeline: 1.69× on LTX-2, whose 19B denoiser takes 38–42 s to shard on the host, and 1.53× on Wan, whose text encoder and denoiser take 173 and 354 s. Step caching adds 1.40–1.64× where the request is mostly denoising, 1.33× on Wan, and 1.17× on LTX-2.

7.4

Parallel Execution

We sweep every configuration Difflet can launch on the four cores for FLUX.1-dev (4.1k tokens) in the model process: tensor parallelism alone (TP4, TP2), with Megatron-style sequence parallelism (SP), with context parallelism over two cores in each of its three modes (TP2CP2), and two TP2 replicas serving concurrent requests (DP2×TP2). Each configuration is compiled separately and measured as in Section 7.1. For the long sequence, we attempt Wan 2.1 at 81 frames (32.8k tokens) in the configurations that change the most at that length: sequence parallelism (TP4+SP), Ulysses context parallelism (TP2CP2), TP2 with CFG parallelism, which runs the two guidance branches on separate core pairs, and the data-parallel pair. Figure 7 normalizes the FLUX results to TP4, and Table 5 gives the absolute latencies for both models; Table 4 lists the parallel modes each model 9

Table 4. Parallel modes each model runs. Y: supported; †: constrained; ×: unsupported; –: not applicable.

Table 5. Request latency and step latency across parallel configurations. FLUX is resident; Wan is standalone. DP rows serve two concurrent requests, so their latency is the wall time for both. FLUX TP4 is a separate run from Table 3 (14.2 s, 270 ms).

CP Model

TP Gather Ring Ulysses SP CFG DP

FLUX.1-dev Y Qwen-Image Y Wan 2.1/2.2 Y HunyuanVideo Y LTX-2 Y

†1 Y †1 ×3 ×

Y Y Y †2 ×

Y Y †4 Y ×

Y Y Y Y ×

– × †4 – Y

FLUX (4.1k tok.)

Y Y †4 Y Y

Gather denotes gather kv. Context parallelism is not combined with SP or CFG parallelism. 1 The ring kernel used by FLUX and Wan requires per-rank sequence lengths that are multiples of 128 tokens, because it processes queries in tiles of 128, one per SBUF partition. 2 HunyuanVideo’s masked gather kv path failed to compile at CP size two with Neuron compiler 2.26. 3 Ring does not yet mask text padding (Section 4.3). 4 Not at Wan 2.1’s 81 frames on one chip: Ulysses (TP2CP2) needs 43 MiB more HBM than is free, and the TP2-based CFG and DP programs exhaust the compiler’s host memory (Table 5). 4 cores, one request 2 cores

Latency ↓ (rel. to TP4)

1

1.00

1.02

1.02

1.00

0.98

0.98

0.97

0.98

1.03

1.02

0.75

1.05

0.54

0.54

0.5 0.25 0

TP

4 TP

S 4+

P TP

P2 2C

ly s +U

s se

ing +R

TP

2 TP

S 2+

P

T 2× DP

step (ms)

TP4 TP4+SP TP2CP2, gather TP2CP2, Ulysses TP2CP2, ring TP2 TP2+SP TP2+CFG

13.97 14.28 14.29 13.51 13.75 25.83 25.97 n/aj

272.5 974 278.7 933 278.8 – 263.3 HBMq 268.2 – 510.3 OOMk 511.3 – n/aj OOMk

14,876 13,882 – HBMq – OOMk – OOMk

DP2×TP2

26.68

529.6 OOMk

OOMk

Data parallelism buys throughput only marginally once models are resident. Two TP2 replicas, started together on separate core pairs, finish two requests in 26.7 s, against 27.9 s for TP4 serving them in turn: 5% more throughput for almost twice the latency. Each replica’s step (529.6 ms) is 4% slower than a TP2 replica running alone, so the replicas contend slightly for the chip’s shared resources. Data parallelism therefore pays only when per-request work outside the device, such as loading, dominates; in a resident server it does not.

0.5

1

req. (s) step (ms) req. (s)

configurations faster than TP4, by 3% and 2%. Halving the cores to TP2 costs 1.87× per step, so tensor parallelism scales from two to four cores at 94% efficiency.

1.91

1.5

0 1.25

Throughput ↑ (rel. to TP4)

1.86

1.85

config

–: not attempted. j FLUX is guidance-distilled and has no second guidance branch. k Does not compile: the compiler backend exhausts the host’s 124 GiB of memory; DP2×TP2 replicas run the TP2 program. q Compiles but does not load: the static DMA rings for its spill traffic need 43 MiB more HBM than is free beside the resident text encoder.

2 replicas × 2 cores within ±3% of TP4

2

Wan 81f (32.8k tok.)

P2

At 32.8k tokens, sequence parallelism pays, and the configurations that split the model in halves do not run. Sequence parallelism splits across the four cores the per-token work that tensor parallelism repeats on each of them over the full sequence—the norms, modulation, and residual additions— and at this length that cuts Wan’s denoiser step by 7% (13.9 against 14.9 s) and its warm request by 4% (933 against 974 s). Ulysses context parallelism over two TP2 pairs compiles but does not load: the static DMA rings the compiler emits for its spill traffic need 43 MiB more HBM than is free beside the resident text encoder. The TP2 program, with or without CFG batching, holds half the model and the full 32.8k-token sequence on each core, and the compiler backend exhausts the host’s 124 GiB building it, in both attempts. CFG parallelism, which at short sequences removes work rather than moving it, and the data-parallel pair are therefore unavailable at this length, and the limit is the compiler’s host memory rather than the device’s.

Figure 7. Parallel configurations for FLUX.1-dev (4.1k tokens) relative to TP4: resident request latency and throughput. DP2×TP2 serves two concurrent requests; its latency is the wall time for both and its throughput counts both.

runs. Findings. At 4.1k tokens, tensor parallelism over all four cores is the latency default. Every configuration that keeps four cores on one request stays within 3.5% of TP4 (Table 5). Sequence parallelism and gather-based context parallelism add 2% per step (278.7 and 278.8 against 272.5 ms); Ulysses and ring attention remove 3% and 2% (263.3 and 268.2 ms), half a second on a 14 s request. At this length the activations that sequence parallelism shards and the keys and values that context parallelism exchanges are small, so the extra collectives cost about what the split saves. Ulysses, which trades the sequence split for a head split with one all-to-all on each side of attention, is the fastest of the three context-parallel modes; it and ring attention are the only

Ulysses context parallelism handles padded prompts correctly, to within BF16 rounding. Under Ulysses, each core holds a slice of the sequence and the all-to-all hands it a slice 10

cadence 2 fewer steps (no caching)

online-delta skip ceiling

adaptive

20

30

therefore set by the fraction of calls skipped. Because the initial and final full steps are fixed, official step counts skip proportionally more than short runs: cadence 2 skips 20 of 50 steps for a ceiling of 1.67× and reaches 1.66–1.68×; on LTX-2 it skips 15 of 40 for a ceiling of 1.60×. Wan is the exception, for a reason outside the cache: its caching-off loop runs for 12 minutes, during which the device throttles each executed call from 6.4 to 7.4 s, so a run with fewer calls is also faster per call and cadence 2 reaches 1.76×. Running fewer steps with the same number of calls takes the same time to within 0.5% on every model, Wan included, so between caching and fewer steps the question is quality alone.

FLUX.1-dev off 13.5 s

Qwen-Image off 41.7 s

HunyuanVideo off 41.9 s

LTX-2 off 16.6 s

Wan 2.1 off 721 s

5 prompts

1.2×

1.4×

1.6×

1.8×

speedup over caching off

10

40

PSNR vs. caching off (dB)

Figure 8. Step caching at official step counts. Left: denoising-time speedup over caching off (caching-off time under each model); dotted: the ceiling set by cadence 2’s 20 of 50 skipped calls (15 of 40 on LTX-2); fewer steps runs cadence 2’s 30 calls (25 on LTX-2) without caching. Right: PSNR against the model’s caching-off output, mean over 16 prompts (five on Wan), whisker to the worst prompt. Online-delta’s speedup is for the timing prompt. Calibrated adaptive runs standalone, against the standalone caching-off time, and its Wan and LTX-2 points come from an earlier denoiser program, as does LTX-2’s quality; LTX-2’s online-delta mean omits one prompt that skipped no step. Wan’s device throttles during its 12-minute caching-off loop, which lifts its speedups past the ceiling; its quality is scored without calibrated adaptive.

At the same number of denoiser calls, caching keeps far more of the output than sampling fewer steps. On every model, cadence 2 is 7.4–11.6 dB above fewer steps in mean PSNR against the uncached output (Figure 8), and every caching mode is at least 5.0 dB above it; on the four models scored by LPIPS, the perceptual distance agrees, with mean LPIPS 0.05–0.15 under caching against 0.19–0.27 under fewer steps. The advantage holds prompt by prompt: caching beats fewer steps on 183 of those four models’ 192 prompt–mode pairs and on all 10 of Wan’s. Caching keeps the official noise schedule and reuses an output only where the trajectory changes slowly, whereas fewer steps coarsens the schedule everywhere. The worst prompt still loses much more than the mean, down to 15.5–17.8 dB on the image models and HunyuanVideo and 17.0 dB on Wan, so the mean alone overstates what every prompt keeps.

of the heads over the whole sequence, so the text padding mask travels as a count of valid keys. We run the HunyuanVideo denoiser (two dual-stream and two single-stream blocks at 320×512×61) as TP2CP2 with Ulysses and as TP2 alone, one compiled program per configuration, at five prompt lengths from 5 to 256 valid text tokens passed as a runtime input. The two configurations differ by at most 7.8×10−2 (mean 3.7×10−3 , cosine similarity 0.99992) on outputs of magnitude up to 3.3, a few BF16 rounding steps, and the difference does not grow with prompt length. Changing the prompt length moves the output 8–27× more than that (mean 3.1×10−2 to 1.0×10−1 ), so a mask the split mishandled would show. 7.5

No mode is best everywhere, and online-delta’s skip budget depends on the model and the prompt. Cadence 2 keeps the most on FLUX, Qwen-Image, and, by 0.7 dB, Wan, online-delta on HunyuanVideo and LTX-2, and calibrated adaptive is never the best, losing up to 3.0 dB to cadence 2 at the same skip budget on HunyuanVideo. At the default α, online-delta skips 18–20 of 50 steps on the 50-step models’ timing prompts but only 8 of 40 on LTX-2’s (1.25× against cadence 2’s 1.60×). Across the 16 prompts its budget varies by model: 19–20 skips on FLUX, 18–20 on HunyuanVideo, 13–19 on Qwen-Image, and 0–15 on LTX-2, where one prompt skips none at all; on Wan’s five prompts it skips 17– 19. The mode spends its budget where the output changes slowly, which buys LTX-2 its highest quality (37.3 dB) at a speed that is not known in advance.

Step Caching

We evaluate the three caching modes of Section 5: fixed cadence at cadence 2; online-delta at its default α = 0.6, untuned; and calibrated adaptive, with its curve fitted per model on prompts other than the evaluation prompts and its threshold set to cadence 2’s skip budget. All modes keep 5 initial and 5 final full steps, so within a model they differ mainly in which steps they cache. As a further baseline, fewer steps runs without caching at the number of denoiser calls cadence 2 executes. Figure 8 reports the speedups and the quality.

Calibrated adaptive is decided by how well its signal predicts, not by what the signal costs. Every model runs the probe on the device (Table 6), including HunyuanVideo, whose probe loads beside its denoiser at this shape. The probe costs 2–18 ms per step, 0.6–2% of a denoiser call, so at the same skip count the mode lands within 4% of cadence 2’s time. What separates the models is the fit: the curve explains 60–82% of the variance in output change on

Findings. Caching saves the skipped denoiser calls, not time per call. An executed call costs the same in every mode—830–845 ms on HunyuanVideo, 835 ms on QwenImage—and a cached step costs 0.3–7 ms. The speedup is 11

Table 8. Request latency under open-loop Poisson load through difflet serve over HTTP: for FLUX, one TP4 server against two TP2 servers on separate core pairs, each request sent to the server with fewer requests in flight; for HunyuanVideo, one TP4 server (its TP2 denoiser does not fit in HBM). Both configurations receive the same arrival sequence; 20 requests per load level. Load ρ is the realized arrival rate times the isolated TP4 request latency (FLUX 14.2 s; HunyuanVideo 58.5 s in this run, 59.9 s in Table 3). SLO: completion within 2.1× that latency (30 s and 123 s).

Table 6. Signal of calibrated adaptive caching: the probe’s cost per scheduler step and how well the fitted curve predicts the output change (R2 over 8 recording prompts). ms/step fit R2

model

device probe

FLUX.1-dev Qwen-Image Wan 2.1 HunyuanVideo LTX-2

fused in the denoiser fused in the denoiser separate program separate program separate program

2.3 7.3 –o 17.8 2.6

0.60 0.68 0.13 0.71 0.82

p50 / p99 (s) FLUX, ρ

o Not resolvable: Wan’s adaptive run executed its steps faster than its caching-off run, which swamps a per-step cost.

0.78 0.99 1.18

Table 7. Startup of one resident model at TP=4, until the server reports ready. Recompiles counts the programs rebuilt when switching from caching off to calibrated adaptive. first start (min)

FLUX.1-dev Qwen-Image Wan 2.1 HunyuanVideo LTX-2

18.5 340 34.8 640 66.9v 1,102u 116.8 624 33.8 811

0.81 0.95 1.16

cold warm recompiles 91 129 786u 194 155

1 of 1 1 of 3 –p –p –p

136.1 / 244.2 89.4 / 176.3 201.1 / 374.2

30% 25% 20%

TP4 n/a 45% n/a 80% n/a 20%

n/a n/a n/a

Under load, splitting the chip into replicas does not pay for resident FLUX. Table 8 offers both configurations the same Poisson arrivals. At no load level does DP2×TP2 beat TP4: their median latency ties at ρ = 0.78, and at ρ = 0.99 TP4’s median is 33.0 s against 46.7 s, with the 30 s SLO met for 40% of requests against 25%. Each TP2 replica needs 26–27 s for a request that TP4 serves in 14.2 s, so a request that finds a replica idle already spends most of the SLO, while the second replica adds only the 5% of throughput measured in Section 7.4. Both configurations complete the same number of requests per hour at every level, because arrivals, not capacity, limit them. Queueing dominates both: past ρ ≈ 1 the 99th percentile exceeds 100 s for either configuration. With 20 requests per level these percentiles are coarse—TP4’s median is higher at ρ = 0.78 than at ρ = 0.99 (39.4 against 33.0 s)—but at every level TP4 has the lower 99th percentile and meets the SLO at least as often. HunyuanVideo, whose 58.5 s request leaves no room for a second replica, queues the same way: past ρ ≈ 1 its 99th percentile reaches 374 s, 6.4× the isolated latency, and only 20% of requests meet the SLO. Its ρ = 0.81 level queues more than its ρ = 0.95 level (median 136 against 89 s), an artifact of drawing only 20 arrivals per level.

p

Resident video serving exposes no step-caching policy. u Includes the startup smoke request, whose 81-frame host decode takes about 510 s. v Builds no VAE, since the model process decodes on the host; the standalone build with the chunked VAE takes 75.1 min (Table 3).

four models but 13% on Wan, where a timing gain is no evidence that the mode skips the right steps. 7.6

DP2×TP2 TP4 DP2×TP2

39.4 / 65.3 39.1 / 70.0 40% 33.0 / 53.8 46.7 / 69.3 40% 65.9 / 105.3 74.7 / 110.7 20%

HunyuanVideo, ρ TP4

restart (s)

model

TP4

SLO met

Serving

Section 6 claims that a restart costs a load and not a compile, and that recovery after a timeout or crash leaves no state behind. We test both on the model process of difflet serve, and measure request latency under open-loop load. Findings. A restart costs a load, not a compile—unless the probe changes. The first start of a serving profile compiles its programs and takes 18–117 min (Table 7). Every later start validates them and pays the weight load, which the host page cache bounds: 91–786 s warm, 340–1,102 s cold. Changing the caching target recompiles nothing, but switching from caching off to calibrated adaptive rebuilds the program that carries the probe: FLUX’s whole pipeline program (1,353 s) and Qwen-Image’s denoiser (1,419 s).

8

Recovery leaves no state behind. We test both failure paths on FLUX, repeating one prompt and seed; two reference requests produce byte-identical images. A 5 s request timeout returns an error at 5.0 s, and the same model process serves again 9.3 s later, once its running denoising loop reaches the next cancellation point. Killing the model process with SIGKILL mid-request returns an error after 0.6 s; Difflet spawns a new one, reloads the weights, and is ready 65.6 s after the kill. After both faults the same seed reproduces the reference image byte for byte, so no sampling or caching state survives a request.

R ELATED W ORK

Reducing denoising computation. Fast solvers (Lu et al., 2022), progressive distillation (Salimans & Ho, 2022), and consistency models (Song et al., 2023) reduce the number of denoiser evaluations needed for generation. Caching instead reuses computation across timesteps: DeepCache and ∆-DiT reuse intermediate features (Ma et al., 2024; Chen et al., 2024), while PAB and FasterCache exploit redundancy in attention and guidance computations (Zhao et al., 2025; Lyu et al., 2025). TeaCache uses timestep-modulated input changes to guide reuse (Liu et al., 2025a). TaylorSeer predicts future features from their history (Liu et al., 2025b), 12

and CG-Taylor uses early-block prediction error to decide when to recompute (Guan et al., 2025). Difflet builds on temporal reuse; what it adds is how to obtain the reuse signal, and decide each step, when the denoiser is a program compiled ahead of time.

runtime values—a count of valid text keys going in, one change score per step coming out.

R EFERENCES Agarwal, S., Mitra, S., Chakraborty, S., Karanam, S., Mukherjee, K., and Saini, S. K. Approximate caching for efficiently serving Text-to-Image diffusion models. In 21st USENIX Symposium on Networked Systems Design and Implementation (NSDI 24), pp. 1173–1189, 2024. URL https://www.usenix.org/conference/ nsdi24/presentation/agarwal-shubham.

Parallel inference systems. Ulysses redistributes sequence shards into attention-head shards (Jacobs et al., 2023), while Ring Attention circulates key-value blocks among devices (Liu et al., 2023). DistriFusion reuses previous-step features to overlap communication with computation (Li et al., 2024); PipeFusion combines patch and layer partitioning into a pipeline (Fang et al., 2024b). xDiT composes parallel modes (Fang et al., 2024a), while FastVideo integrates sparse attention and distillation (FastVideo Contributors, 2026). On specialized accelerators, MaxDiffusion provides JAX implementations for TPUs (MaxDiffusion Contributors, 2026), and AoiZora plans sharding and placement against TPU topology (Wang et al., 2026). NxD Inference supports FLUX on Trainium (Amazon Web Services, 2026k). Difflet instead runs five image and video pipelines on Trainium through one backend, and splits their joint attention in a layout that Trainium’s fused kernels accept.

Ahmad, S., Yang, Q., Wang, H., Sitaraman, R. K., and Guan, H. DiffServe: Efficiently serving text-to-image diffusion models with query-aware model scaling. In Proceedings of Machine Learning and Systems, volume 7, 2025. URL https://proceedings.mlsys.org/paper_ files/paper/2025/hash/414fd191b3246a 19a55741b938380136-Abstract-Conferenc e.html. Amazon Web Services. Logical NeuronCore Configuration. https://awsdocs-neuron.readthedocs-h osted.com/en/v2.32.0/about-neuron/ar ch/neuron-features/logical-neuroncor e-config.html, 2026a.

Diffusion serving. DiffServe routes requests through cascades of diffusion models and adjusts resource allocation to query demand (Ahmad et al., 2025). NIRVANA reuses intermediate states across similar requests (Agarwal et al., 2024), while TridentServe jointly plans stage placement and request dispatch (Xia et al., 2025). These systems optimize how requests share model and accelerator resources. Difflet works below these systems, inside one Trainium model process: it keeps programs loaded and validated across requests and recovers from a timeout without letting two generations overlap.

9

Amazon Web Services. NeuronCore-v3 Architecture. ht tps://awsdocs-neuron.readthedocs-hos ted.com/en/v2.32.0/about-neuron/arch /neuron-hardware/neuron-core-v3.html, 2026b. Amazon Web Services. AWS Neuron Documentation. ht tps://awsdocs-neuron.readthedocs-hos ted.com/en/v2.32.0/, 2026c. Amazon Web Services. PyTorch NeuronX Tracing API for Inference. https://awsdocs-neuron.readth edocs-hosted.com/en/v2.32.0/framework s/torch/torch-neuronx/api-reference-g uide/inference/api-torch-neuronx-tra ce.html, 2026d.

C ONCLUSIONS

On Trainium, a diffusion model runs as fixed-shape programs compiled ahead of time, while its pipeline, prompts, and caching decisions keep changing. Difflet runs each model’s pipeline on the host over one compilation backend, splits joint attention across cores so that it matches unsplit attention, and skips denoising steps under host control. Device probes keep comparison state on Trainium and return one score per step to the host, while the resident model process keeps every program loaded across requests. Together, these mechanisms provide a common inference and serving framework for five image and video model families. The broader lesson is to decide early what each program fixes and what the host may still change: Difflet compiles shapes, parallel configurations, and kernels once, and exchanges perrequest and per-step information with the device as small

Amazon Web Services. Attention CTE Kernel API Reference. https://awsdocs-neuron.readthedoc s-hosted.com/en/v2.30.0/nki/library/a pi/attention-cte.html, 2026e. Amazon Web Services. NKI Library: Attention CTE Implementation. https://github.com/aws-neuro n/nki-library/blob/main/src/nkilib_sr c/nkilib/core/attention/attention_cte. py, 2026f. Accessed September 14, 2026. 13

Amazon Web Services. NKI Library: Ring Attention Forward Implementation. https://github.com/aws -neuron/nki-library/blob/main/src/nki lib_src/nkilib/experimental/attentio n/ring_attention_fwd.py, 2026g. Accessed September 19, 2026.

Fang, J., Pan, J., Wang, J., Li, A., and Sun, X. PipeFusion: Patch-level pipeline parallelism for diffusion transformers inference. arXiv preprint arXiv:2405.14430, 2024b. URL https://arxiv.org/abs/2405.14430.

Amazon Web Services. Trainium2 Architecture. https: //awsdocs-neuron.readthedocs-hosted. com/en/v2.32.0/about-neuron/arch/neu ron-hardware/trainium2.html, 2026h. Amazon Web Services. Amazon EC2 Trn2 Instances and UltraServers. https://aws.amazon.com/ec2/ins tance-types/trn2/, 2026i. Accessed September 20, 2026. Amazon Web Services. Trainium2 Architecture Guide for NKI. https://awsdocs-neuron.readthedoc s-hosted.com/en/v2.32.0/nki/guides/ar chitecture/trainium2_arch.html, 2026j. Amazon Web Services. Generating images with Black Forest Labs Flux.1-Dev on Trn1/Trn2. https://awsdoc s-neuron.readthedocs-hosted.com/en/v2. 29.1/libraries/nxd-inference/tutoria ls/flux-inference-tutorial.html, 2026k. Accessed September 21, 2026. Black Forest Labs. FLUX.1 [dev] model card. https: //huggingface.co/black-forest-labs/FL UX.1-dev, 2024. Accessed September 21, 2026. Chen, P., Shen, M., Ye, P., Cao, J., Tu, C., Bouganis, C.-S., Zhao, Y., and Chen, T. ∆-DiT: A training-free acceleration method tailored for diffusion transformers. arXiv preprint arXiv:2406.01125, 2024.

FastVideo Contributors. FastVideo: A unified inference and post-training framework for accelerated video generation. https://github.com/hao-ai-lab/FastVid eo, 2026. Accessed September 21, 2026. Fu, X., Zhang, Z., Fan, H., Huang, G., El-Shabani, M., Huang, R., Solanki, R., Wu, F., Diamant, R., and Wang, Y. Distributed training of large language models on AWS trainium. In Proceedings of the ACM Symposium on Cloud Computing (SoCC), pp. 961–976, 2024. doi: 10.1 145/3698038.3698535. Guan, X., Jiang, L., Chen, H., Zhang, X., Yan, J., Wang, G., Liu, Y., Zhang, Z., and Wu, Y. Forecasting when to forecast: Accelerating diffusion models with confidencegated Taylor. arXiv preprint arXiv:2508.02240, 2025. URL https://arxiv.org/abs/2508.02240. HaCohen, Y., Brazowski, B., Chiprut, N., Bitterman, Y., Kvochko, A., Berkowitz, A., Shalem, D., Lifschitz, D., Moshe, D., Porat, E., Richardson, E., Shiran, G., Chachy, I., Chetboun, J., Finkelson, M., Kupchick, M., Zabari, N., Guetta, N., Kotler, N., Bibi, O., Gordon, O., Panet, P., Benita, R., Armon, S., Kulikov, V., Inger, Y., Shiftan, Y., Melumian, Z., and Farbman, Z. LTX-2: Efficient Joint Audio-Visual Foundation Model. arXiv preprint arXiv:2601.03233, 2026. URL https://arxiv.or g/abs/2601.03233. Ho, J. and Salimans, T. Classifier-free diffusion guidance. arXiv preprint arXiv:2207.12598, 2022. URL https: //arxiv.org/abs/2207.12598.

Dao, T., Fu, D. Y., Ermon, S., Rudra, A., and Ré, C. FlashAttention: Fast and memory-efficient exact attention with IO-awareness. In Advances in Neural Information Processing Systems, volume 35, 2022. URL https://proceedings.neurips.cc/paper /2022/hash/67d57c32e20fd0a7a302cb81d 36e40d5-Abstract-Conference.html.

Huang, Z., He, Y., Yu, J., Zhang, F., Si, C., Jiang, Y., Zhang, Y., Wu, T., Jin, Q., Chanpaisit, N., Wang, Y., Chen, X., Wang, L., Lin, D., Qiao, Y., and Liu, Z. VBench: Comprehensive benchmark suite for video generative models. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2024.

Fan, H., Zhou, H., Huang, G., Raman, P., Fu, X., Gupta, G., Ram, D., Wang, Y., and Huan, J. HLAT: High-quality large language model pre-trained on AWS trainium. In IEEE International Conference on Big Data (BigData), pp. 2100–2109, 2024. doi: 10.1109/BigData62323.2024. 10825098.

Jacobs, S. A., Tanaka, M., Zhang, C., Zhang, M., Song, S. L., Rajbhandari, S., and He, Y. DeepSpeed Ulysses: System optimizations for enabling training of extreme long sequence transformer models. arXiv preprint arXiv:2309.14509, 2023. URL https://arxiv.or g/abs/2309.14509.

Fang, J., Pan, J., Sun, X., Li, A., and Wang, J. xDiT: An inference engine for diffusion transformers (DiTs) with massive parallelism. arXiv preprint arXiv:2411.01738, 2024a. URL https://arxiv.org/abs/2411.0 1738.

Kong, W., Tian, Q., Zhang, Z., Min, R., Dai, Z., Zhou, J., Xiong, J., Li, X., Wu, B., Zhang, J., Wu, K., Lin, Q., Yuan, J., Long, Y., Wang, A., Wang, A., Li, C., Huang, D., Yang, F., Tan, H., Wang, H., Song, J., Bai, J., Wu, J., Xue, J., Wang, J., Wang, K., Liu, M., Li, P., Li, S.,

14

Wang, W., Yu, W., Deng, X., Li, Y., Chen, Y., Cui, Y., Peng, Y., Yu, Z., He, Z., Xu, Z., Zhou, Z., Xu, Z., Tao, Y., Lu, Q., Liu, S., Zhou, D., Wang, H., Yang, Y., Wang, D., Liu, Y., Jiang, J., and Zhong, C. HunyuanVideo: A Systematic Framework For Large Video Generative Models. arXiv preprint arXiv:2412.03603, 2024. URL https://arxiv.org/abs/2412.03603.

Lyu, Z., Si, C., Song, J., Yang, Z., Qiao, Y., Liu, Z., and Wong, K.-Y. K. FasterCache: Training-free video diffusion model acceleration with high quality. In International Conference on Learning Representations (ICLR), 2025. URL https://proceedings.iclr.cc/ paper_files/paper/2025/hash/518046d8 6bbc41a0707727c38301ad8e-Abstract-Con ference.html.

Korthikanti, V., Casper, J., Lym, S., McAfee, L., Andersch, M., Shoeybi, M., and Catanzaro, B. Reducing activation recomputation in large transformer models. arXiv preprint arXiv:2205.05198, 2022. URL https://arxiv.org/abs/2205.05198.

Ma, X., Fang, G., and Wang, X. DeepCache: Accelerating diffusion models for free. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2024. arXiv:2312.00858.

Li, M., Cai, T., Cao, J., Zhang, Q., Cai, H., Bai, J., Jia, Y., Li, K., and Han, S. DistriFusion: Distributed parallel inference for high-resolution diffusion models. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 7183–7193, 2024. URL https://openaccess.thecvf.co m/content/CVPR2024/html/Li_DistriFus ion_Distributed_Parallel_Inference_f or_High-Resolution_Diffusion_Models_C VPR_2024_paper.html.

MaxDiffusion Contributors. MaxDiffusion: Reference implementations of latent diffusion models in JAX. https: //github.com/AI-Hypercomputer/maxdiff usion, 2026. Accessed September 21, 2026. Peebles, W. and Xie, S. Scalable diffusion models with transformers. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), 2023. arXiv:2212.09748. PyTorch/XLA Contributors. PyTorch/XLA: Enabling PyTorch on XLA devices. https://github.com/p ytorch/xla, 2026. Accessed September 21, 2026.

Liu, F., Zhang, S., Wang, X., Wei, Y., Qiu, H., Zhao, Y., Zhang, Y., Ye, Q., and Wan, F. Timestep embedding tells: It’s time to cache for video diffusion model. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 7353–7363, 2025a. URL https://openaccess.thecvf.co m/content/CVPR2025/html/Liu_Timestep _Embedding_Tells_Its_Time_to_Cache_f or_Video_Diffusion_CVPR_2025_paper.h tml.

Saharia, C., Chan, W., Saxena, S., Li, L., Whang, J., Denton, E., Ghasemipour, S. K. S., Karagol Ayan, B., Mahdavi, S. S., Gontijo Lopes, R., Salimans, T., Ho, J., Fleet, D. J., and Norouzi, M. Photorealistic text-to-image diffusion models with deep language understanding. In Advances in Neural Information Processing Systems (NeurIPS), 2022. Salimans, T. and Ho, J. Progressive distillation for fast sampling of diffusion models. In International Conference on Learning Representations (ICLR), 2022. arXiv:2202.00512.

Liu, H., Zaharia, M., and Abbeel, P. Ring attention with blockwise transformers for near-infinite context. arXiv preprint arXiv:2310.01889, 2023. URL https://ar xiv.org/abs/2310.01889.

Shoeybi, M., Patwary, M., Puri, R., LeGresley, P., Casper, J., and Catanzaro, B. Megatron-LM: Training multibillion parameter language models using model parallelism. arXiv preprint arXiv:1909.08053, 2019. URL https://arxiv.org/abs/1909.08053.

Liu, J., Zou, C., Lyu, Y., Chen, J., and Zhang, L. From reusing to forecasting: Accelerating diffusion models with TaylorSeers. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), 2025b. URL https://arxiv.org/abs/2503.06923.

Song, Y., Dhariwal, P., Chen, M., and Sutskever, I. Consistency models. In International Conference on Machine Learning (ICML), 2023. arXiv:2303.01469.

Lu, C., Zhou, Y., Bao, F., Chen, J., Li, C., and Zhu, J. DPMSolver: A fast ODE solver for diffusion probabilistic model sampling in around 10 steps. In Advances in Neural Information Processing Systems, volume 35, 2022. URL https://proceedings.neurips.cc/p aper_files/paper/2022/hash/260a14acc e2a89dad36adc8eefe7c59e-Abstract-Con ference.html.

Wan Team, Wang, A., Ai, B., Wen, B., Mao, C., Xie, C.-W., Chen, D., Yu, F., Zhao, H., Yang, J., Zeng, J., Wang, J., Zhang, J., Zhou, J., Wang, J., Chen, J., Zhu, K., Zhao, K., Yan, K., Huang, L., Feng, M., Zhang, N., Li, P., Wu, P., Chu, R., Feng, R., Zhang, S., Sun, S., Fang, T., Wang, T., Gui, T., Weng, T., Shen, T., Lin, W., Wang, W., Wang, W., Zhou, W., Wang, W., Shen, W., Yu, W., Shi, X., Huang, 15

X., Xu, X., Kou, Y., Lv, Y., Li, Y., Liu, Y., Wang, Y., Zhang, Y., Huang, Y., Li, Y., Wu, Y., Liu, Y., Pan, Y., Zheng, Y., Hong, Y., Shi, Y., Feng, Y., Jiang, Z., Han, Z., Wu, Z.-F., and Liu, Z. Wan: Open and Advanced Large-Scale Video Generative Models. arXiv preprint arXiv:2503.20314, 2025. URL https://arxiv.or g/abs/2503.20314.

Zhao, X., Jin, X., Wang, K., and You, Y. Real-time video generation with pyramid attention broadcast. In International Conference on Learning Representations (ICLR), 2025. URL https://proceedings.iclr.cc/ paper_files/paper/2025/hash/092c2d45 005ea2db40fc24c470663416-Abstract-Con ference.html.

Wang, K., Xu, Y., Ye, F., Cao, Y., Zuo, J., Ng, T. S. E., Mu, Y., and Wang, Y. AoiZora: Topology-aware autoparallel optimization for inference of diffusion transformers. arXiv preprint arXiv:2606.17566, 2026. URL https://arxiv.org/abs/2606.17566. Wang, Z. and Bovik, A. C. Mean squared error: Love it or leave it? a new look at signal fidelity measures. IEEE Signal Processing Magazine, 26(1):98–117, 2009. doi: 10.1109/MSP.2008.930649. URL https://ece.uw aterloo.ca/˜z70wang/publications/SPM0 9.pdf. Wu, C., Li, J., Zhou, J., Lin, J., Gao, K., Yan, K., Yin, S.-m., Bai, S., Xu, X., Chen, Y., Chen, Y., Tang, Z., Zhang, Z., Wang, Z., Yang, A., Yu, B., Cheng, C., Liu, D., Li, D., Zhang, H., Meng, H., Wei, H., Ni, J., Chen, K., Cao, K., Peng, L., Qu, L., Wu, M., Wang, P., Yu, S., Wen, T., Feng, W., Xu, X., Wang, Y., Zhang, Y., Zhu, Y., Wu, Y., Cai, Y., and Liu, Z. Qwen-Image Technical Report. arXiv preprint arXiv:2508.02324, 2025. URL https://arxiv.org/abs/2508.02324. xDiT Contributors. Parallelize New Models with USP Provided by xDiT (Text Replica). https://github.c om/xdit-project/xDiT/blob/main/docs/d eveloper/adding_models/adding_model_ usp_text_replica.md, 2026. Accessed September 19, 2026. Xia, Y., Fu, F., Yuan, H., Zhang, H., Miao, X., Liu, Y., Ling, S., Jiang, J., and Cui, B. TridentServe: A stage-level serving system for diffusion pipelines. arXiv preprint arXiv:2510.02838, 2025. URL https://arxiv.or g/abs/2510.02838. Yu, J., Xu, Y., Koh, J. Y., Luong, T., Baid, G., Wang, Z., Vasudevan, V., Ku, A., Yang, Y., Karagol Ayan, B., Hutchinson, B., Han, W., Parekh, Z., Li, X., Zhang, H., Baldridge, J., and Wu, Y. Scaling autoregressive models for contentrich text-to-image generation. Transactions on Machine Learning Research, 2022. Zhang, R., Isola, P., Efros, A. A., Shechtman, E., and Wang, O. The unreasonable effectiveness of deep features as a perceptual metric. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 586–595, 2018. 16

Related documents

Record · ID 1374999 · SHA-256 cdca1b3bdcdbb001
Retrieved via Conceptio: every document is proof-bundled with source, license, and retrieval metadata.
Bring this data into your agent: Connect via MCP or API · 20 free credits to start · no card required
Read the Docs → · View CLI source on GitHub · Conceptio Open Knowledge Archive