# AoiZora: Compiler-Agnostic, Placement-Aware Auto-Parallelization for Video Diffusion Transformers

DevFeed: [AoiZora: Compiler-Agnostic, Placement-Aware Auto-Parallelization for Video Diffusion Transformers](<https://devfeed.tech/articles/aoizora-compiler-agnostic-placement-aware-auto-parallelization-for-video-diffusion-transformers-113759.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2606.17566>)

Author: Kaijian Wang, Yuanyuan Xu, Fanjiang Ye, Ye Cao, Jingwei Zuo, T. S. Eugene Ng, Yarong Mu, Yuke Wang

Published: 2026-11-03T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Distributed Computing](<https://devfeed.tech/sources/arxiv-distributed-computing.md>)

Topics: [diffusion-transformers](<https://devfeed.tech/topics/diffusion-transformers.md>), [PyTorch](<https://devfeed.tech/topics/pytorch.md>)

Tags: [accelerators](<https://devfeed.tech/tags/accelerators.md>), [compilation](<https://devfeed.tech/tags/compilation.md>), [compiler](<https://devfeed.tech/tags/compiler.md>), [cs-dc](<https://devfeed.tech/tags/cs-dc.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [denoising](<https://devfeed.tech/tags/denoising.md>), [device](<https://devfeed.tech/tags/device.md>), [diffusion](<https://devfeed.tech/tags/diffusion.md>), [diffusion-transformers](<https://devfeed.tech/tags/diffusion-transformers.md>), [framework](<https://devfeed.tech/tags/framework.md>), [gpus](<https://devfeed.tech/tags/gpus.md>), [inference](<https://devfeed.tech/tags/inference.md>), [latency](<https://devfeed.tech/tags/latency.md>), [layout](<https://devfeed.tech/tags/layout.md>), [mesh](<https://devfeed.tech/tags/mesh.md>), [model](<https://devfeed.tech/tags/model.md>), [network](<https://devfeed.tech/tags/network.md>), [sharding](<https://devfeed.tech/tags/sharding.md>), [systems](<https://devfeed.tech/tags/systems.md>), [tokens](<https://devfeed.tech/tags/tokens.md>), [transformers](<https://devfeed.tech/tags/transformers.md>), [video](<https://devfeed.tech/tags/video.md>)

## AI overview

AoiZora selects parallelization plans using compiled-program costs and accelerator placement, without running candidate plans. It uses two IRs--one for the partitioner's program and one for the compiler's output--and a compiler-neutral "evidence" record that lets a calibrated network model price one compilation across placements. On TPU v5e, it reports average denoising latency reductions of 1.23x for Wan 2.1 and 1.32x for HunyuanVideo versus expert configurations and Alpa, finding plans within 10 minutes. For TPU v5p training, reported speedups average 1.11x on 4 chips and 1.21x on 8 chips; the framework also parallelizes PyTorch programs on GPUs. The supplied text does not give further benchmark conditions or GPU performance figures.

## Source excerpt

arXiv:2606.17566v2 Announce Type: replace Abstract: Video diffusion transformers (DiTs) process tens of thousands of spatio-temporal tokens per denoising step, so low-latency inference and training commonly spread them across several accelerators. Auto-parallelization systems price a sharding on its logical graph, but its cost depends on the program the compiler generates and, on direct networks such as TPU sub-slices, on which chip runs each logical rank; both are visible only after compilation, while the chip assignment must be fixed before it. We present AoiZora, a compiler-agnostic auto-parallelization framework built on two IRs, one for the program a partitioner shards and one for the program a compiler emits; it chooses the logical mesh, the layout of every tensor and operation, and the device assignment of an unsharded model by pricing its compiled programs, without executing any candidate. At the core of AoiZora is evidence, a compiler-neutral record of a compiled program that leaves its placement open, so that one compilation can be priced under many placements by a calibrated model of the accelerator network and the placement can determine which sharding is selected. On TPU v5e, AoiZora reduces the denoising latency of Wan 2.1 and HunyuanVideo by 1.23x and 1.32x on average over expert configurations and Alpa, finding each plan within 10 minutes; it also speeds up training on TPU v5p by 1.11x on 4 chips and 1.21x on 8 chips on average and parallelizes PyTorch programs on GPUs with the same core.