vidax: A Unified JAX Framework for Video Generative Models on Accelerator Meshes
cs.CV, cs.DC, cs.LG
Submitted: 2026-09-16
Updated: 2026-09-16
Code: https://github.com/FlyingGiraffe/vidax
License: http://creativecommons.org/licenses/by/4.0/
The gist: Open-source video generative models ship almost exclusively as PyTorch/CUDA reference implementations.
Terminology
Abstract
Open-source video generative models ship almost exclusively as PyTorch/CUDA reference implementations. This leaves Cloud TPU pods without a production-ready inference path, despite offering large, cost-effective accelerator memory pools ideal for long-sequence spatiotemporal attention. We present vidax, an open-source JAX/Flax inference engine and zero-copy PyTorch-to-JAX weight translator for modern video generation architectures. vidax covers a diverse set of spatiotemporal models --- including Diffusion Transformers, omnimodal Mixture-of-Transformers, 3D VAEs, text encoders, and native samplers --- with zero PyTorch dependency in the execution path. The framework unifies 1D tensor parallelism with DeepSpeed-Ulysses sequence parallelism on a single JAX sharding mesh, integrates TPU flash-attention kernels, and implements per-layer weight offloading to support reference resolutions that exceed single-device memory. We benchmark compile times, latency, and peak memory utilization on TPU v4-8 hardware, and document real-world numerical bugs surfaced during checkpoint translation. vidax is released open-source as a baseline for JAX and TPU video generation research.
Sources
- LTX-2: Efficient Joint Audio-Visual Foundation Model
- LTX-Video: Realtime Video Latent Diffusion
- DeepSpeed Ulysses: System Optimizations for Enabling Training of Extreme Long Sequence Transformer Models
- HunyuanVideo: A Systematic Framework For Large Video Generative Models
- Flow Matching for Generative Modeling
- Flow Straight and Fast: Learning to Generate and Transfer Data with Rectified Flow
- DPM-Solver: A Fast ODE Solver for Diffusion Probabilistic Model Sampling in Around 10 Steps
- World Simulation with Video Foundation Models for Physical AI
- Cosmos 3: Omnimodal World Models for Physical AI
- ZeRO-Offload: Democratizing Billion-Scale Model Training
- Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelism
- Denoising Diffusion Implicit Models
- Wan: Open and Advanced Large-Scale Video Generative Models
- HunyuanVideo 1.5 Technical Report
- GSPMD: General and Scalable Parallelization for ML Computation Graphs
- CogVideoX: Text-to-Video Diffusion Models with An Expert Transformer
- UniPC: A Unified Predictor-Corrector Framework for Fast Sampling of Diffusion Models
Related papers
- Loss Knows Best: Detecting Annotation Errors in Videos via Loss Trajectories
- AnchorWeave: World-Consistent Video Generation with Retrieved Local Spatial Memories
- Benchmarking the Robustness of Foundation Models for Mammography under Domain Shift
- MambaX-Net: Dual-Input Mamba-Enhanced Cross-Attention Network for Longitudinal MRI Segmentation
- TeleOCR: Navigating Document Parsing Across Digital and Camera-Captured Documents
- A Survey on Efficient Vision-Language-Action Models