Accelerating LTX-2.5 with Sol Engineup to 4.68× multi-step pipeline speedup & 1.90× distilled pipeline speedup

We use the Sol Video Inference Engine to optimize video generation across different GPUs — including B200, GeForce RTX 5090, and DGX Spark — and different configurations, including 4K, 1080p, 5-second, and 20-second workloads, by combining parallelism optimization, diffusion cache, kernel fusion, and sparse attention.

01 — LTX-2.5

One transformer, two stages, picture and sound in the same pass.

LTX-2.5 is Lightricks' 22B diffusion transformer for generating video and synchronized audio together. Its released inference package combines the 22B DiT with a convolutional video VAE, an audio VAE, and a Gemma text encoder. For the 1536×1024 benchmark configuration used in this article, the pipeline runs a 30-step guided first stage at 768×512, upsamples the latent representation, and finishes with a two-step distilled stage at 1536×1024.

Motion1920×1088 · 6.40 s
Multi-shot1920×1080 · 6.10 s
Prompt adherence1920×1080 · 8.00 s

02 — Pipeline Comparison

Multi-step Pipeline vs. Distilled Pipeline

Two inference paths with different speed, guidance, and precision profiles.

DimensionMulti-step PipelineDistilled Pipeline
Stage 1 steps308
Stage 2 steps23
CFGYesNo
PrecisionBF16 or INT8BF16, INT8, or NVFP4

The Distilled Pipeline is designed for fast, efficient inference: its eight-step first stage and CFG-free execution reduce iterative denoising, while leaving less refinement headroom for motion, structure, and fine detail. The Multi-step Pipeline takes the complementary approach, using 30 guided first-stage steps to progressively resolve the generation and prioritize higher video quality at greater compute cost. These two operating points naturally lead to two optimization paths: Section 3 optimizes the Multi-step BF16 pipeline end to end on 4× B200, while Section 4 focuses on accelerating the Distilled pipeline on a single GPU.


03 — Multi-step Pipeline Optimization

To accelerate video generation without changing the Multi-step Pipeline's high-quality operating point, we optimize the full inference stack at three complementary levels.

  1. Diffusion Cache. The Multi-step Pipeline executes 30 steps in Stage 1, leaving redundancy across adjacent diffusion-denoising steps. We apply First Block Cache to reuse stable residuals and skip unnecessary forwards, delivering nearly 50% higher Stage 1 performance while preserving the overall visual result.
  2. Parallelism Optimization. Because the first-stage token sequence is relatively compact, sequence parallelism leaves too much communication overhead. At the same time, the high-quality Multi-step Pipeline contains four CFG branches, which naturally allows the guidance workload to be distributed across four GPUs with substantially less communication.
  3. Kernel optimization. Cache-aware compilation and kernel fusion reduce launch overhead and avoid unnecessary memory traffic. Block 0 remains the cache decision point, while cache misses execute the remaining compiled transformer blocks.

Performance across different resolutions and durations

Warm end-to-end latency on 4× B200 at BF16 precision, with a 30-step first stage and a 2-step second stage.

Default (1536 × 1024) · 5 s4.68×
Baseline · SP39.23 s
+ Parallel Optimization14.14 s 2.77×
+ FBCache 0.0811.09 s 1.28×
+ Kernel Fusion8.38 s 1.32×
0 s39.23 s
4K (3840 × 2176) · 5 s1.96×
Baseline · SP75.57 s
+ Parallel Optimization63.66 s 1.19×
+ FBCache 0.0846.29 s 1.38×
+ Kernel Fusion38.49 s 1.20×
0 s75.57 s
1080p (1920 × 1088) · 20 s2.52×
Baseline · SP92.45 s
+ Parallel Optimization59.65 s 1.55×
+ FBCache 0.0844.71 s 1.33×
+ Kernel Fusion36.69 s 1.22×
0 s92.45 s

Video comparison

Setting: 4× B200 · BF16 precision · 30-step first stage · 2-step second stage · same prompt and seed.

Video 01 · Horse in water · 1536 × 1024 · 5 s

A galloping black horse crosses a shallow river in bright afternoon sun, water exploding into spray around its legs. The camera pans to follow, close enough to see individual droplets and the texture of the wet mane.

Official Baseline1.00×
SOL Engine4.68×
Video 02 · Fisherman close-up · 1536 × 1024 · 5 s

Extreme close-up of an older fisherman looking directly into the lens, weathered skin, grey stubble, deep creases around the eyes. He blinks slowly and the corner of his mouth lifts into a faint smile. Soft window light from the left, very shallow depth of field, static camera.

Official Baseline1.00×
SOL Engine4.68×
Video 03 · Multi-shot continuity · 4K (3840 × 2176) · 5 s

At dusk, a woman in a yellow raincoat crosses a neon-lit intersection, whispers “He's late,” and watches a soaked man step from a puddle and smile toward her as synth music and traffic carry across the hard cuts. [compact]

Reference1.00×
Accelerated1.96×
Video 04 · News broadcast · 1080p (1920 × 1088) · 20 s

A live reporter in New Castle announces that “black gold” has been found, then asks the camera to pan toward a construction site. An oil geyser erupts as workers cheer, and the shot pulls back over the town skyline. [compact]

Reference1.00×
Accelerated2.52×

04 — Distilled Pipeline Optimization

Our setting uses the NVFP4 Distilled Pipeline, with an 8-step Stage 1 and a 3-step Stage 2. Stage 1 operates on a relatively compact token sequence, and its denoising schedule is already well optimized; consequently, our focus shifts to Stage 2. At 4K for five seconds, attention becomes the dominant cost in this higher-resolution refinement stage. We therefore apply Sol-Attn, a training-free sparse attention method, to target this bottleneck without additional training or calibration.

Distilled Pipeline Latency — NVFP4 · 4K · 5 s
Stage 1 Stage 2 Others*
Normalized scale
1× NVIDIA B200
Stage 2 1.80× · E2E 1.53×
1× GeForce RTX 5090
Stage 2 3.09× · E2E 1.90×
1× DGX Spark (GB10)
Stage 2 1.85× · stacked total 1.45×
Bar lengths are normalized within each hardware pair to show relative acceleration; * Others includes fixed overhead such as VAE decoding and upsampling.

Stage 2 Optimization — Core Technology: Sol-Attn

At high resolution and long duration, with audio tokens interleaved into the same attention, sequence length dominates the cost. Attention maps in video diffusion are also extremely sparse: most query blocks attend meaningfully to only a small fraction of key blocks. This structure calls for an efficient sparse attention method that reduces computation without a catastrophic loss in quality.

Sol-Attn is training-free and calibration-free. It folds block selection into the online-softmax pass itself, avoiding a separate routing stage:

  • Query-dependent thresholding. Instead of a fixed top-k or top-p, each query row derives a threshold from its block proxy-score statistics, τᵢ = μᵢ + βσᵢ. One β value controls density across layers, steps, and resolutions without learning or offline calibration.
  • On-the-fly routing. Pooled keys stream chunk-wise and are compared with the threshold during softmax accumulation. No proxy map is materialized, keeping routing overhead low at long sequence lengths.
  • Proxy-score reuse. Rejected blocks are approximated with a Taylor expansion around the row-wise mean score, recovering probability mass that hard selection discards and preserving quality at high sparsity.

Baseline vs. Optimized

B200Refiner speedup 1.80× · E2E speedup 1.53×

A luxury fragrance commercial opens on an amber perfume bottle over glossy black glass, wrapped in golden smoke and warm reflections. The same woman in a burnt-orange satin dress sprays perfume on her neck, then walks confidently through a dark interior lit by soft gold. Cinematic close-ups, smooth tracking, consistent face, outfit, and bottle, realistic skin and mist, photorealistic 4K, no text or logos.

Baseline
Optimized
GeForce RTX 5090Refiner speedup 3.09× · E2E speedup 1.90×

A desert nomad woman in layered indigo robes leads a calm white horse across a mirror-like salt flat after a storm. A low tracking shot arcs toward them as wind moves her veil and the horse's mane; their reflections stretch across shallow water while thunderheads open to warm sunlight. Keep both subjects consistent and anatomically correct, with natural gait, detailed textiles, cinematic realism, one continuous shot, no text.

Baseline
Optimized
DGX Spark (GB10)Refiner speedup 1.85× · E2E speedup 1.45×

A product film frames a turntable in a dim room under hard raking light. A slow orbit follows the record reaching speed before hard cuts move to the stylus settling into the lead-in groove, then the arm tracking inward. Brushed aluminium, a matte-black plinth, and one amber indicator remain consistent. Sound: platter motion, needle drop, and surface crackle; no hands, branding, or text.

Baseline
Optimized

05 — Sol Engine

Agent-Native Auto Optimization

Three kinds of specificity separate a published method from a deployed model.

We use Sol Engine to optimize video inference across different hardware and configurations:

  • Hardware: NVIDIA DGX Spark, B200, and other GPU platforms.
  • Configurations: different resolutions and durations, including 4K and 1080p workloads.

For each deployment target, Sol Engine combines:

  • Parallelism optimization
  • Diffusion cache
  • Kernel fusion
  • Sparse attention

Sol Engine closes that gap by search instead of by hand. It runs one optimization search per technique family, concurrently — kernel, sparse attention, cache — each sweeping its own knobs against the real checkpoint on the real GPUs. The results cannot simply be concatenated, because the techniques interact: caching changes which steps sparse attention has to serve. So the surviving candidates go to an integrator that searches over combinations rather than over knobs, with a human validator signing off on the output video.

Search topology
Parallel optimization search
Kernel
Fusion set, graph capture, numerical verification
Sparse attention
β, block size, dense-fallback layers and steps
Cache
Policy family, threshold, warmup, reuse cap
→
Integrator
Global search over compositions, not knobs
↓
Deployed recipe
4.68× warm end to end on 4× GB200
Each axis is searched independently and concurrently; the integrator composes the survivors, because the techniques are not independent of one another.

References

Citation

If this work is useful to you, please cite Sol Engine and Sol-Attn.

Sol Video Inference Engine
@misc{li2026solvideoinferenceengine,
title = {Sol Video Inference Engine: Agent-Native Full-Stack Acceleration Framework for Efficient Video Generation},
author = {Yitong Li and Junsong Chen and Haopeng Li and Haozhe Liu and Jincheng Yu and Ligeng Zhu and Ping Luo and Song Han and Enze Xie},
year = {2026},
eprint = {2606.23743},
archivePrefix = {arXiv},
primaryClass = {cs.CV},
url = {https://arxiv.org/abs/2606.23743},
}
Sol-Attn
@misc{li2026solattnacceleratingvideogeneration,
title = {Sol-Attn: Accelerating Video Generation Inference via On-the-Fly Attention Sparsification},
author = {Haopeng Li and Yitong Li and Junsong Chen and Tian Ye and Haozhe Liu and Jincheng Yu and Duomin Wang and Ruihua Zhang and Zeke Xie and Enze Xie and Song Han},
year = {2026},
eprint = {2607.24027},
archivePrefix = {arXiv},
primaryClass = {cs.CV},
url = {https://arxiv.org/abs/2607.24027},
}