Run this model with HF Jobs
Run OpenMOSS-Team/VideoGym-LTX-2.3 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/OpenMOSS-Team/VideoGym-LTX-2.3. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/OpenMOSS-Team/VideoGym-LTX-2.3 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use OpenMOSS-Team/VideoGym-LTX-2.3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use OpenMOSS-Team/VideoGym-LTX-2.3 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image, export_to_video # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("OpenMOSS-Team/VideoGym-LTX-2.3", dtype=torch.bfloat16, device_map="cuda") pipe.to("cuda") prompt = "A man with short gray hair plays a red electric guitar." image = load_image( "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/guitar-man.png" ) output = pipe(image=image, prompt=prompt).frames[0] export_to_video(output, "output.mp4") - Notebooks
- Google Colab
- Kaggle
VideoGym-LTX-2.3: Full-DiT Post-Trained 22B Video Model for Visual Reasoning Studies
Official Model Checkpoint of Can Video Generation Models Really Learn to Reason?
Overview Β· Training Recipe Β· Evaluation & Findings Β· Repository Structure Β· Quick Start Β· Citation
Figure 1. Seven-Level Generalization Profile of VideoGym-LTX-2.3. Starting from 0.00% pass@1 on base LTX-2.3, 10-epoch full-DiT post-training on 245,884 VideoGym-Train videos yields strong gains within familiar task patterns (56.34% In-Domain, 70.45% in the Single-Step Group) yet drops near 0% beyond familiar task patterns (0.59% Composition, 0.61% Cross-Task, 4.60% Cross-Benchmark): post-training fits separate, pace-bound task templates and leaves the model a visual renderer rather than a visual reasoner.
π Overview
VideoGym-LTX-2.3 is the official Epoch 10 full-parameter Diffusion Transformer (DiT) SFT model from VideoGym, trained on all 245,884 procedural visual reasoning videos across 246 tasks in VideoGym-Train starting from Lightricks/LTX-2.3 (diffusers/LTX-2.3-Diffusers).
This repository releases the final Epoch 10 model in a self-contained Hugging Face diffusers pipeline layout (LTX2Pipeline / LTX2ImageToVideoPipeline), directly compatible with both VideoGym's native ltx-core evaluation backend (python -m inference.backends.ltx) and diffusers.
βοΈ Architecture & Post-Training Recipe
VideoGym-LTX-2.3 updates all 48 joint audio-video DiT blocks (LTX2VideoTransformer3DModel, ~22B backbone) in bfloat16 while keeping the Gemma 3 text encoder, multimodal text connectors, Video VAE, Audio VAE, and vocoder frozen. Because VideoGym tasks are silent visual reasoning trajectories, first-frame conditioning is applied with probability 1.0 and audio reconstruction loss is disabled.
| Hyperparameter | Value |
|---|---|
| Base Backbone | Lightricks/LTX-2.3 (diffusers/LTX-2.3-Diffusers, 48-layer DiT) |
| Trainable Module | Full DiT (transformer, 4,186 tensors, ~38.0 GB in bfloat16); encoders & VAEs frozen |
| Training Dataset | OpenMOSS-Team/VideoGym-Train (245,884 videos, 246 tasks, 11 families) |
| Published Checkpoint | Epoch 10 (76,840 optimizer steps; 7,684 steps/epoch) |
| Hardware & Sharding | 32 Γ NVIDIA H200 GPUs (4 nodes Γ 8 GPUs), PyTorch FSDP (FULL_SHARD, bf16) |
| Batch & Optimizer | Global batch size 32 (1 per GPU), AdamW, grad clip norm 1.0, seed 42 |
| Learning Rate | 1.0e-5 β 1.0e-6 (linear scheduler) |
| Spatial & Temporal Grid | 768Γ512 native canvas (512Γ512 centered puzzle padded with black borders) at 24 FPS (delivered at 512Γ512, 16 FPS) |
| Temporal Buckets | 28 8k+1 native frame buckets: 25, 33, 41, ..., 233, 241 frames |
| Inference Guidance | 30 Euler steps, CFG 3.0, STG 1.0 (block 28), guidance rescale 0.7, empty negative prompt |
Exact training configurations are archived in training_config/ (parameters.json, config.yaml, and fsdp.yaml).
π Evaluation Results & Key Findings
Evaluated at pass@1 without external LLM/VLM prompt rewriting under deterministic frame-by-frame full-video verification on VideoGym-Test (3,220 questions across 6 levels) and VBVR-Pro Bench (500 questions):
1. Seven-Level Generalization Summary
| Generalization Level | Duration | Questions | LTXβ2.3 (Base) | VideoGymβLTXβ2.3 | SingleβStep | MultiβStep |
|---|---|---|---|---|---|---|
| Within Familiar Task Patterns | ||||||
| InβDomain | Fixed (81f) | 1,230 | 0.00% | 32.20% (396/1,230) | 47.58% | 14.39% |
| InβDomain | Ref. Length | 1,230 | 0.00% | 56.34% (693/1,230) | 70.45% | 40.00% |
| Text Prompt Paraphrase | Ref. Length | 1,230 | 0.00% | 52.60% (647/1,230) | 65.15% | 38.07% |
| Vision Prompt Paraphrase | Ref. Length | 165 | 0.00% | 28.48% (47/165) | 49.47% | 0.00% |
| Extrapolation | Ref. Length | 260 | 0.00% | 25.77% (67/260) | 52.00% | 1.48% |
| Beyond Familiar Task Patterns | ||||||
| Composition | Ref. Length | 170 | 0.00% | 0.59% (1/170) | 0.00% | 1.00% |
| CrossβTask | Ref. Length | 165 | 0.00% | 0.61% (1/165) | 0.87% | 0.00% |
| CrossβBenchmark (VBVRβPro Bench) | Ref. Length | 500 | 0.60% | 4.60% (23/500) | 5.37% | 3.03% |
2. Core Empirical Takeaways
- Pace memorization & training dynamics (
Fixed Lengthvs.Reference Length, Epochs 2β10): Although 81 frames suffices to finish every task legally, switching In-Domain evaluation fromReference LengthtoFixed Length(81frames, 5 s) cuts accuracy by24.1percentage points (56.34%β32.20%), drops17solved tasks from100%to0%, and doubles invalid-process rejections among final-state passes (21.07%β44.23%). Across epochs 2β10, no generalization level peaks early and degrades later (ruling out late-epoch overfitting), while the Multi-Step duration gap widens more than fivefold (5.09β25.61pp). - Text robustness vs. visual symbol dependence (
Prompt Paraphrase): Synonymous text rewrites retain90.76%(629/693) of solved In-Domain questions because the frozen Gemma 3 encoder maps synonyms to the same template (making the prompt act mainly as a task selector), whereas redrawing visual symbols (Vision Prompt Paraphrase) cuts matched accuracy from60.61%to28.48%and collapses to0.00%(0/70) across all 14 Multi-Step Group tasks (with paired retention flat around45%across epochs 2β10). - Scale & boundary limits (
Extrapolation): On100%-solved In-Domain source tasks,Scale Extrapolationreaches80.00%(24/30) in the Single-Step Group yet collapses to0.00%in the Multi-Step Group (0/25on100%-solved sources;0/100across all 20 Multi-Step Scale tasks;0/80at 20 questions/task), whileMechanism Extrapolationdrops100%-solved Single-Step sources to55.00%(33/60), exposing visual shortcuts when boundary cases reverse familiar training trends. - Separate task templates rather than composable rules (
Composition,Cross-Task& external SFT/RLVR): Multiplying constituent In-Domain pass rates across the 34 Composition tasks predicts60.8%under independent rule execution yet actual pass rate is0.59%(1/170), staying at1.67%(1/60;0/50Single-Step,1/10Multi-Step) even when every constituent task reaches100%accuracy (with94.74%,18/19, of final-state passes rejected for illegal intermediate steps, and30 of 34tasks at0%across 680 expanded rollouts where all 9 passes reduce to downward-conveyor layout coincidence, untriggered second rules, or isolated1/20hits). Likewise,Cross-Taskdrops to0.61%(1/165;0.15%,1/660, at 20 questions/task), matching the0.00%Composition and Cross-Task boundary in externalVBVR-Pro A14B(SFT) andVBVR-Pro 5B RLVR(two-stage SFT + DanceGRPO/CPS RLVR).
View Figures 2β5: Visual analyses across Pace Memorization & Training Dynamics, Prompt Paraphrase, Extrapolation, and Composition
Figure 2. Pace Memorization Under Fixed Length and Training Dynamics Across Epochs 2β10. (a) Paired rollouts on the same input I0 rush via an illegal two-card move when 81 frames is shorter than training pace (Inbox Priority Sort) and over-edit four extra cells after solving early when 81 frames is longer (Symmetry Completion). (b) Across epochs 2β10, no generalization level peaks early and degrades later (ruling out late-epoch overfitting), while the Reference-vs.-Fixed gap widens from 15.0 to 24.1 pp, Extrapolation plateaus after epoch 4, and Composition/Cross-Task remain β€ 0.61%.
Figure 3. Prompt Paraphrase. Text rewrites preserve Multi-Step Square Maze solving, whereas redrawn visual symbols trigger unlinked-gap violations across all 14 Multi-Step tasks (0.00%) while Single-Step Shortest Path retains 65.22%.
Figure 4. Extrapolation. Single-Step Scale (Tree Path, 10 β 16 nodes) transfers cleanly, whereas Single-Step Mechanism (Size Sequence, 8, 6, 4 β 2) replays upward training growth and Multi-Step Scale (Bookshelf Sort, 5 β 10 books) merges and drops books mid-video.
Figure 5. Post-Trained Rule Composition Fails Across Both Groups. Despite 100% accuracy on each constituent In-Domain task, serial Multi-Step Composition (Conveyor Belt + Bridge Drop) walks upward straight through a downward conveyor to bridge row 1 instead of row 6, and joint Single-Step Composition (Subtree + Leaves) overlays both templates into their union instead of ringing only leaf 8 inside the purple subtree.
ποΈ Repository Structure
Only the final Epoch 10 checkpoint is included in this release, formatted as a complete diffusers pipeline directory:
VideoGym-LTX-2.3/
βββ README.md Model card and usage guide
βββ model_index.json Diffusers LTX2Pipeline component manifest
βββ transformer/ Epoch 10 full-DiT weights (8 bfloat16 safetensors shards + config.json)
βββ text_encoder/ Frozen Gemma 3 text encoder (11 shards)
βββ connectors/ Frozen LTX2TextConnectors (2 shards)
βββ vae/ Frozen AutoencoderKLLTX2Video
βββ audio_vae/ Frozen AutoencoderKLLTX2Audio
βββ vocoder/ Frozen LTX2VocoderWithBWE
βββ tokenizer/ GemmaTokenizerFast
βββ processor/ Multimodal processor configuration
βββ scheduler/ FlowMatchEulerDiscreteScheduler
βββ training_config/ Official training hyperparameters (parameters.json, config.yaml, fsdp.yaml)
βββ assets/figures/ Evaluation and qualitative figures
π Quick Start & Inference
1. Official Benchmark Rollouts (VideoGym Native ltx-core Backend)
To reproduce exact paper rollouts across OpenMOSS-Team/VideoGym-Test or VBVR-Pro Bench, install VideoGym (pip install -e '.[training]' plus Lightricks' ltx-core), download the model, and run inference.backends.ltx:
# 1. Download complete model repository (~96 GB including frozen Gemma 3 & VAEs)
hf download OpenMOSS-Team/VideoGym-LTX-2.3 --local-dir models/VideoGym-LTX-2.3
# 2. Download VideoGym-Test CLI benchmark packages
hf download OpenMOSS-Team/VideoGym-Test \
--repo-type dataset --exclude "data/*" --local-dir datasets/videogym-test
# 3. Generate pass@1 Reference Length rollouts (or replace --reference-timing with --frames 81 for Fixed Length)
python -m inference.backends.ltx \
--inputs datasets/videogym-test/in-domain/model_inputs.jsonl \
--reference-timing datasets/videogym-test/in-domain/reference-timing.jsonl \
--model-path models/VideoGym-LTX-2.3 \
--output-root outputs/rollouts/in-domain/reference-length \
--shards 8 --shard-index 0 --device cuda:0
Tip (36 GB DiT-only download): If you already have
diffusers/LTX-2.3-Diffuserscached locally, you can download only the fine-tuned Epoch 10transformer/directory (hf download OpenMOSS-Team/VideoGym-LTX-2.3 --include "transformer/*" --local-dir models/VideoGym-LTX-2.3-DiT) and pass--model-path <path-to-LTX-2.3-Diffusers> --checkpoint models/VideoGym-LTX-2.3-DiT/transformer.
2. Standalone Python Generation with diffusers
VideoGym-LTX-2.3 encodes 512Γ512 puzzle images centered on a 768Γ512 black canvas (128 px left/right padding) at 24 FPS (8k + 1 native frames, e.g., 129 frames at 24 FPS for an 81-frame 16 FPS rollout) with empty negative prompt and prompt enhancement disabled:
import numpy as np
import torch
from PIL import Image
from diffusers import LTX2ImageToVideoPipeline
from diffusers.pipelines.ltx2.export_utils import encode_video
pipe = LTX2ImageToVideoPipeline.from_pretrained(
"OpenMOSS-Team/VideoGym-LTX-2.3",
torch_dtype=torch.bfloat16,
).to("cuda")
# Pad a 512x512 VideoGym puzzle image onto the centered 768x512 native canvas
puzzle = Image.open("input.png").convert("RGB").resize((512, 512))
canvas = np.zeros((512, 768, 3), dtype=np.uint8)
canvas[:, 128:640] = np.asarray(puzzle)
video, _ = pipe(
image=Image.fromarray(canvas),
prompt=open("prompt.txt").read().strip(),
negative_prompt="",
width=768,
height=512,
num_frames=129, # 8k + 1 native frames at 24 FPS (maps to 81 frames at 16 FPS)
frame_rate=24.0,
num_inference_steps=30,
guidance_scale=3.0,
stg_scale=1.0,
modality_scale=1.0,
guidance_rescale=0.7,
spatio_temporal_guidance_blocks=[28],
enable_prompt_enhancement=False,
max_sequence_length=1024,
generator=torch.Generator(device="cuda").manual_seed(10),
output_type="np",
return_dict=False,
)
# Crop back to the central 512x512 puzzle region and sample exact 16 FPS delivery frames
cropped = video[0][:, :, 128:640, :]
delivery_indices = np.minimum(128, np.floor(np.arange(81) * 24 / 16 + 0.5).astype(int))
encode_video(cropped[delivery_indices], fps=16.0, output_path="prediction.mp4")
βοΈ Intended Use & Limitations
VideoGym-LTX-2.3 is released as a scientific research artifact for studying post-training dynamics, full-video verification, and generalization boundaries in video generation models. As demonstrated in our paper, lacking visual reasoning pretraining, current video models post-trained on visual reasoning tasks fit separate, pace-bound trajectory templates within familiar patterns and remain visual renderers rather than visual reasoners; VideoGym-LTX-2.3 should not be deployed as a general-purpose planner or safety-critical solver.
π Citation
If you use VideoGym-LTX-2.3 in your research, please cite our paper:
@article{chen2026videogym,
title={Can Video Generation Models Really Learn to Reason?},
author={Chen, Hongji and Tong, Jingqi and Li, Hangcheng and Li, Mingzhe and Mou, Yurong and Yang, Yongzhuo and Zhang, Haowei and Wang, Zile and Xie, Zhide and Qiu, Shenling and Chen, Ke and Hu, Xiaomeng and Li, Chenglin and Dou, Shihan and Deng, Hokin and Zheng, Yining and Ho, Tsung-Yi and Zhao, Jun and Chen, Xinchi},
journal={arXiv preprint},
year={2026}
}
π License
Model weights inherit the upstream LTX Video 2 Open Source License from Lightricks/LTX-2.3. Original training, inference, and evaluation code in VideoGym is licensed under Apache-2.0.
- Downloads last month
- 132
Model tree for OpenMOSS-Team/VideoGym-LTX-2.3
Base model
Lightricks/LTX-2.3