open-gigaai/giga-world-1
About
A Roadmap to Build World Models for Robot Policy Evaluation
Learning & EducationMeasured star growth
- in 24h
- 0
- in 7 days
- +1
- in 15 days
- +1
- in 1 month
- +3
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Original
GigaWorld-1: A Roadmap to World Models for Robot Policy Evaluation
๐ Open-source training, inference, data processing, checkpoint conversion, and LoRA merge workflows for robot world models.
๐ Table of Contents
๐ฐ Latest Updates
| Date | Update |
|---|---|
| ๐ 2026-07 | We uploaded the PDF version of the technical report, arXiv coming soon. |
| ๐งโ๐ป 2026-07 | Partial training, inference, data processing, and model utility code was open-sourced. |
| ๐ฆ 2026-07 | Partial model weights, toy data, and download tools were released. |
| ๐ 2026-07 | The GigaWorld-1 technical report was released. |
| ๐ 2026-04 | We released the CVPR 2026 World Model Track leaderboard. See CVPR-2026-WorldModel-Track-LeaderBoard. |
| ๐ 2026-03 | We hosted the CVPR 2026 World Model Challenge. See CVPR-2026-Workshop-WM-Track. |
๐ก Subscribe to releases โ click Watch โพ โ Custom โ Releases on the GitHub repo to be notified when new weights, datasets, or the WMBench benchmark drop.
๐ Open-Source Progress
๐ข Released ยท ๐ก Beta ยท ๐ด Coming Soon โ last updated 2026-07
| Status | Component | Description |
|---|---|---|
| ๐ข | Stage-1 weights (Nano / Pro) | Released on open-gigaai/Giga-World-1 and ModelScope |
| ๐ข | Training code | Stage-1: train_gigaworld_functrl_uni_stage1.py for Nano (1.3B) and Pro (5B), DeepSpeed ZeRO-2/3 ready โ see ยง4.1; Stage-2: train_gigaworld_functrl_uni_stage2_dmd.py for DMD2 distillation (4โ6 steps) โ see ยง4.2 |
| ๐ข | Inference code (i2v / t2v) | Nano + Pro one-click scripts, 10 FPS, 33 s rollouts โ see ยง5 |
| ๐ก | Data preprocessing pipeline & toy data | LeRobot-style โ GigaWorld format with Qwen3-VL captions + Depth Anything V2 โ see ยง2; toy data: open-gigaai/Giga-World-1-Toydata |
| ๐ข | Tools | LoRA merge / checkpoint conversion, visualization, and offline latent utilities โ see ยง2, ยง6 |
| ๐ก | ๐ WMBench benchmark | Partially open-sourced โ 15 fine-grained metrics, leaderboard + VLM judging |
| ๐ด | Stage-2 distilled weights | Distilled Nano / Pro checkpoints โ coming soon |
| ๐ด | RL post-training | 3D RL post-training scripts for stronger 3D scene modeling โ coming soon |
| ๐ด | Other-domain weights and training code | Additional domain checkpoints and corresponding training recipes โ coming soon |
| ๐ด | Acceleration framework | Optimized distributed inference / training acceleration stack โ coming soon |
๐ Release Channels
| Channel | Purpose | Where |
|---|---|---|
| ๐ GitHub Releases | Tagged source snapshots with changelogs | |
| ๐ค Hugging Face Model | Giga-World-1 model weights | |
| ๐ค Hugging Face Dataset | Giga-World-1 toy data | |
| ๐ค Hugging Face Dataset (CVPR) | CVPR 2026 WorldModel Track dataset | |
| ๐ท ModelScope Model | ModelScope mirror for model weights | |
| ๐ท ModelScope Dataset | ModelScope mirror for toy data | |
| ๐ arXiv | Paper PDF, BibTeX | |
| ๐ Project Page | Videos, leaderboard, demos | ๐ Project Page |
| ๐ WMBench | Public benchmark leaderboard | |
| ๐ Support | Issues and discussions |
๐ ๏ธ Want a component to ship sooner? Please file an issue or open a PR.
1. ๐ฆ Environment Setup
1.1 ๐ฅ๏ธ Hardware & OS
| Item | Requirement / Recommendation |
|---|---|
| Production setup | Single node with 8 ร H20 or 8 ร A100 GPUs |
| Inference | Supports both Nano (1.3B) and Pro (5B); consumer-grade GPUs can be used with memory-saving settings |
| Training | Production experiments are run on 8-GPU nodes; consumer-grade GPU training is possible with ZeRO, offloading, gradient checkpointing, and reduced batch / resolution settings |
| OS | Linux, verified on Ubuntu 20.04 / 22.04 |
| CUDA | CUDA 12.x recommended, matching the local PyTorch installation |
Note: We use a single-node 8ร H20 or 8ร A100 setup for production training. With appropriate memory optimization techniques, the released code can also run training and inference experiments on consumer-grade GPUs.
1.2 ๐งฐ Install Dependencies
Install PyTorch first according to your CUDA version, then install the remaining dependencies with install.sh.
cd <PROJECT_ROOT>
# CUDA 12.6
pip install torch==2.10.0 torchvision==0.25.0 torchaudio==2.10.0 --index-url https://download.pytorch.org/whl/cu126
# CUDA 12.8
pip install torch==2.10.0 torchvision==0.25.0 torchaudio==2.10.0 --index-url https://download.pytorch.org/whl/cu128
# CUDA 13.0
pip install torch==2.10.0 torchvision==0.25.0 torchaudio==2.10.0 --index-url https://download.pytorch.org/whl/cu130
# Install dependencies
bash install.sh
install.sh installs packages from requirements.txt.
Main dependencies:
accelerate>=1.1.0 # accelerate launch / DDP / DeepSpeed
av>=12.0.0 # video read / write
decord>=0.6.0 # fast video decoding
diffusers>=0.35.0 # custom-modified version (see thirdparty/)
einops>=0.8.0
imageio>=2.36.0
imageio-ffmpeg>=0.5.1
numpy>=1.24,<3
omegaconf>=2.3.0
opencv-python>=4.9.0
packaging>=24.0
pandas>=2.1.0
peft>=0.12.0 # LoRA implementation
Pillow>=10.0.0
pyyaml>=6.0.0
safetensors>=0.4.5
torchdata>=0.8.0
tqdm>=4.66.0
transformers>=4.45.0
wandb>=0.18.0 # offline by default
xformers>=0.0.28.post3 # memory-efficient attention
deepspeed==0.19.2
ftfy==6.3.1
Optional: install FlashAttention 2 or 3
FlashAttention 2 or 3 can be used depending on your CUDA / PyTorch environment. Install one compatible version if you need FlashAttention acceleration.
# FlashAttention 2 pip install flash-attn --no-build-isolation # Or build FlashAttention 3 manually cd thirdparty/flash-attention-3 # Follow its README
2. ๐๏ธ Data Preparation
This release provides a small toy data package for verifying inference, data loading, visualization, and training workflows. The toy data is available from Hugging Face and ModelScope.
Use the one-click downloader:
bash tools/download_tool/download_giga_world.sh \
--platform hf \
--target toydata \
--output-dir ./downloads
For ModelScope, replace --platform hf with --platform modelscope. See tools/download_tool/README.md for all options.
After downloading, place or symlink the toy data under example/:
mkdir -p example
cp -r ./downloads/Giga-World-1-Toydata/* ./example/
Expected project structure:
giga-world-release/
โโโ example/
โโโ toy_datapipeline_dataset/ # raw LeRobot-format toy dataset
โ โโโ gt/
โ โโโ depth/
โ โโโ plucker/
โ โโโ sketch/
โ โโโ labels/
โโโ toy_train_dataset/ # model training data
โโโ nano/
โ โโโ dataset_cache.pkl
โ โโโ episode_*.pt
โโโ pro/
โโโ dataset_cache.pkl
โโโ episode_*.pt
toy_train_dataset/ is already in the format used by the training configs: stage_1_post_functrl_wan21.yaml, stage_1_post_functrl_wan22_5b.yaml, and stage_2_dmd_functrl_wan21.yaml.
For raw data visualization, run the web tool and open http://127.0.0.1:8090/ or http://127.0.0.1:8090/calib:
cd tools/data_vis_tools
python app.py --host 0.0.0.0 --port 8090
For offline latent pre-computation, use get_short-latents-giga-ctrl.py or get_short-latents-giga-ctrl-wan22-5b.py. The input data should contain helios_giga_ctrl.jsonl, videos/, and control_videos/; outputs are .pt samples containing precomputed vae_latent, control_latent, prompt_embed, and related metadata. See tools/offload_data/data_format.md for the data format.
3. ๐งฉ Model Preparation
Released model weights are available from:
| Platform | Repository |
|---|---|
| ๐ค Hugging Face | open-gigaai/Giga-World-1 |
| ๐ท ModelScope | GigaAI/Giga-World-1 |
Use the download helper:
- Script: download_giga_world.sh
- Full usage: tools/download_tool/README.md
Download model weights from Hugging Face:
bash tools/download_tool/download_giga_world.sh \
--platform hf \
--target model \
--output-dir ./downloads
Download model weights from ModelScope:
bash tools/download_tool/download_giga_world.sh \
--platform modelscope \
--target model \
--output-dir ./downloads
After downloading, place or symlink the model files under model/:
giga-world-release/
โโโ model/
โ โโโ before_stage1/
โ โ โโโ Wan2p1_1p3B-FunContro-GigaRobo-alpha-diffusers/
โ โ โโโ Wan2p1_1p3B-FunControl-diffusers/
โ โ โโโ Wan2p2_5B-FunControl-diffusers/
โ โโโ stage1/
โ โ โโโ nano/
โ โ โโโ pro/
โ โโโ stage2_distill/ # coming soon
โโโ tools/
โโโ download_tool/
If the downloader saves weights under ./downloads/Giga-World-1/, copy or symlink them into the repository:
mkdir -p model
cp -r ./downloads/Giga-World-1/* ./model/
4. ๐ Training
flowchart LR
%% Base Models
A1["WAN 2.1<br/>1.3B FunControl"]
A2["WAN 2.2<br/>5B FunControl"]
%% Before Stage1
B1["GigaRobo Alpha<br/>Diffusers"]
B2["WAN2.1 1.3B<br/>Diffusers"]
B3["WAN2.2 5B<br/>Diffusers"]
%% Stage1
C1["Nano"]
C2["Pro"]
%% Stage2
D1["Nano Distill"]
D2["Pro Distill"]
%% Connections
A1 -- "Pretrain on Giga Dataset<br/>Convert to Diffusers" --> B1
A1 -- "Convert to Diffusers" --> B2
B1 --> C1
B2 --> C1
C1 --> D1
A2 -- "Convert to Diffusers" --> B3
B3 --> C2
C2 --> D2
subgraph S0["Before Stage 1"]
subgraph S0A["Interchangeable"]
B1
B2
end
B3
end
subgraph S1["Stage 1"]
C1
C2
end
subgraph S2["Stage 2"]
D1
D2
end
classDef base fill:#4F8EF7,color:#fff,stroke:#2D5FD2,stroke-width:3px;
classDef diff fill:#7C4DFF,color:#fff,stroke:#5B2DCC,stroke-width:3px;
classDef stage fill:#00C853,color:#fff,stroke:#009624,stroke-width:3px;
classDef distill fill:#FF6D00,color:#fff,stroke:#DD2C00,stroke-width:3px;
style S0A fill:none,stroke:#FF0000,stroke-width:3px,stroke-dasharray:8 4,color:#FF0000;
class A1,A2 base;
class B1,B2,B3 diff;
class C1,C2 stage;
class D1,D2 distill;
Training entrypoints and launcher scripts are paired (each pair = one accelerate launch command + one YAML).
4.1 Stage-1 Training (Controllable Pre-training)
| Entrypoint / Config | Launcher | Note |
|---|---|---|
| Trainer: train_gigaworld_functrl_uni_stage1.py | Unified trainer handling both Nano and Pro | |
| Config: stage_1_post_functrl_wan21.yaml | train_deepspeed_stage1_functrl_wan21.sh | Nano (1.3B) |
| Config: stage_1_post_functrl_wan22_5b.yaml | train_deepspeed_stage1_functrl_wan22_5b.sh | Pro (5B) |
Launch Nano:
bash scripts/training/stage1/train_deepspeed_stage1_functrl_wan21.sh
Launch Pro:
bash scripts/training/stage1/train_deepspeed_stage1_functrl_wan22_5b.sh
Default output layout:
output/
โโโ exp/
โ โโโ Giga-world-Nano-Train-Stage-1/
โ โโโ Giga-world-Pro-Train-Stage-1/
โโโ logs/
4.2 Stage-2 DMD Training (Acceleration Distillation)
| Entrypoint / Config | Launcher |
|---|---|
| Trainer: train_gigaworld_functrl_uni_stage2_dmd.py | |
| Config: stage_2_dmd_functrl_wan21.yaml | train_deepspeed_stage2_functrl_wan21.sh |
| Config: stage_2_dmd_functrl_wan22_5b.yaml | train_deepspeed_stage2_functrl_wan22_5b.sh |
DMD2 compresses the denoising loop from 20 steps to 4โ6 steps (the Stage-2 config sets num_inference_steps: 6) and aligns with a frozen real score model via a critic_lora.
Launch Nano DMD:
bash scripts/training/stage2/train_deepspeed_stage2_functrl_wan21.sh
Example output:
output/exp/Giga-world-Nano-Train-DMD/
4.3 Training on Other Domains
To adapt GigaWorld-1 to a new domain, no code changes are required. In practice, you only need to construct training data in the same format as the provided GigaWorld data, then launch the existing Stage-1 training pipeline with the corresponding config.
For most new domains, training for a few thousand steps on 8 GPUs is typically sufficient and can usually finish within one day.
5. ๐ฌ Inference
| Script | Mode | Model | Link |
|---|---|---|---|
run_infer_nano_i2v.sh |
i2v | Nano 1.3B | script |
run_infer_nano_t2v.sh |
t2v | Nano 1.3B | script |
run_infer_pro_i2v.sh |
i2v | Pro 5B | script |
run_infer_pro_t2v.sh |
t2v | Pro 5B | script |
Usage:
# Nano i2v: first frame + control video + text prompt
bash scripts/infer/run_infer_nano_i2v.sh
# Pro t2v: text prompt only (omit --image_path โ t2v mode)
bash scripts/infer/run_infer_pro_t2v.sh
The underlying entrypoint infer_giga_world.py exposes the following arguments:
| Argument | Required | Default | Description |
|---|---|---|---|
--config |
โ | โ | Training / inference YAML config (drives model type and hyperparams) |
--base_model_path |
โ | โ | Base diffusers model directory (VAE / T5 / Transformer) |
--transformer_model_name_or_path |
None | Path to the merged transformer; falls back to --base_model_path if None |
|
--checkpoint_path |
None | Optional LoRA / partial checkpoint path | |
--image_path |
None | First frame for i2v; omit to enter t2v mode | |
--prompt |
โ | โ | Text prompt |
--control_video_path |
None | Control video (Plรผcker / Ray Map), optional | |
--output_dir |
โ | โ | Output root directory |
--sample_name |
sample | Output video name prefix | |
--seed |
42 | Random seed | |
--fps |
10 | Output video FPS | |
--num_frames |
99 | Total frames (330 โ 33 s @ 10 FPS) | |
--height |
480 | Output height | |
--width |
1920 | Output width (typically 640ร3 = 1920 for three views) | |
--num_inference_steps |
20 | 20 steps for Stage-1; 4โ6 for Stage-2 / DMD | |
--guidance_scale |
5.0 | Classifier-free guidance strength | |
--enable_tiling |
False | VAE tiling for memory savings |
Inference output example:
| First Frame | Control Video | Generated Rollout |
|---|---|---|
![]() |
๐ฌ control_video.mp4 | ๐ฌ i2v_sample.mp4 |
6. ๐ Model Merge & Checkpoint Conversion
Use uni_merge_lora_for_giga_world_1.py to merge LoRA or partial checkpoints into a standalone transformer for deployment.
The tool supports both wan2.1 and wan2.2_5b, automatically resolves checkpoint files from the specified checkpoint directory, and saves the merged transformer to --save_dir.
python tools/ckpt_tools/uni_merge_lora_for_giga_world_1.py \
--base_model <PATH_TO_BASE_NANO> \
--save_dir <PATH_TO_STAGE1_MERGED_NANO> \
--ckpt_dir /path/to/checkpoint-XXXX \
--model_type wan2.1
For Pro 5B:
python tools/ckpt_tools/uni_merge_lora_for_giga_world_1.py \
--base_model <PATH_TO_BASE_PRO> \
--save_dir <PATH_TO_STAGE1_MERGED_PRO> \
--ckpt_dir /path/to/checkpoint-XXXX \
--model_type wan2.2_5b
7. ๐ Repository Layout
.
โโโ gigaworld/ # Core model, pipeline, data loader, scheduler, and utils
โ โโโ dataset/ # Stage-1 / Stage-2 / DMD data loaders
โ โโโ modules/ # Transformer + custom Triton / Flash kernels
โ โ โโโ gigaworld_kernels/ # fp32_rmsnorm, tiled_linear, triton_norm, triton_rope
โ โ โโโ transformer_gigaworld.py
โ โ โโโ transformer_functrl_gigaworld.py
โ โโโ pipelines/ # i2v / t2v main pipelines
โ โโโ scheduler/ # custom schedulers
โ โโโ utils/ # TrainConfig, EMA, recycle batch, etc.
โ โโโ videoalign/ # reward / VLM training & inference
โโโ infer/
โ โโโ infer_giga_world.py # Python inference entrypoint
โโโ scripts/
โ โโโ accelerate_configs/ # DeepSpeed ZeRO-2 / ZeRO-3 configs
โ โโโ infer/ # i2v / t2v ร Nano / Pro one-click scripts
โ โโโ training/
โ โ โโโ configs/ # Stage-1 / Stage-2 YAMLs
โ โ โโโ stage1/ # Nano / Pro Stage-1 launchers
โ โ โโโ stage2/ # Nano / Pro Stage-2 DMD launchers
โโโ tools/
โ โโโ ckpt_tools/ # LoRA merge and checkpoint utilities
โ โโโ datapipeline/ # LeRobot-style data preprocessing
โ โโโ data_vis_tools/ # Web URDF + camera calibration viewer
โ โโโ download_tool/ # one-click HF / ModelScope downloader
โ โโโ offload_data/ # offline latent pre-computation / format conversion
โ โโโ others/ # misc conversion tools
โโโ assets/ # README figures and demo media
โ โโโ main_page.png # main teaser image
โ โโโ data_vis.gif # data visualization demo
โ โโโ input_image.png # inference first frame
โ โโโ control_video.mp4 # inference control video
โ โโโ i2v_sample.mp4 # generated rollout sample
โโโ example/
โ โโโ toy_train_dataset/ # Nano / Pro toy training datasets
โ โโโ toy_datapipeline_dataset/ # toy preprocessing output (gt / depth / plucker / sketch)
โโโ model/
โ โโโ before_stage1/ # Diffusers-converted base checkpoints
โ โโโ stage1/ # Nano / Pro Stage-1 checkpoints
โ โโโ stage2_distill/ # distilled checkpoints (coming soon)
โโโ train_gigaworld_functrl_uni_stage1.py
โโโ train_gigaworld_functrl_uni_stage2_dmd.py
โโโ requirements.txt
โโโ install.sh
๐ Acknowledgements
GigaWorld-1 stands on the shoulders of a vibrant open-source ecosystem. We are deeply grateful to the following communities and projects that made this work possible:
๐ค Foundation Models & Architectures
- Wan (Alibaba) โ the
wan2.1andwan2.2_5bbackbones that power GigaWorld-1 Nano and Pro - Diffusers โ the modular diffusion framework we extend with custom attention processors and pipelines
- Helios โ a video generation model that achieves minute-scale, high-quality video synthesis
- Genesis โ a generative universal physics engine and robotics/embodied AI simulation platform
- Hugging Face ๐ค โ hosting,
transformers,accelerate, and the entire model & dataset ecosystem - open-gigaai/Giga-World-1 and open-gigaai/Giga-World-1-Toydata โ the public Hugging Face model and toy-data repositories
๐ ๏ธ Training & Acceleration
- PyTorch & DeepSpeed โ the foundation of our distributed training stack
- Accelerate โ the launcher that ties everything together
- PEFT โ the LoRA implementation behind
lora_rank=128andcritic_lora - xFormers โ memory-efficient attention
- Flash-Attention โ fast and memory-efficient exact attention (FA2 / FA3)
- Triton โ custom kernels for RMSNorm, RoPE, and tiled linears (
gigaworld/modules/gigaworld_kernels/)
๐๏ธ Data & Annotation
- Qwen3-VL โ dense long-caption generation from
cam_highvideos - Depth Anything V2 โ monocular depth estimation for all three camera views
- LeRobot โ the LeRobot-style raw data layout our preprocessing pipeline consumes
- Open X-Embodiment & AgiBot โ large-scale robot demonstration datasets
๐ฆฟ Robotics, Visualization & Tooling
- Three.js โ the WebGL renderer behind the URDF Viewer and camera-calibration tool
- Three.js + URDFLoader โ URDF/STL loading and forward kinematics
- WandB โ experiment tracking (offline-by-default in this repo)
- Pandas, NumPy, Pillow, OpenCV โ the daily workhorses
๐ฌ Predecessors & Inspiration
- VideoCrafter, CogVideoX, Open-Sora, LTX-Video โ for showing us what open-source video generation can look like
- Wan-Video / Fun-1.1-1.3B-InP โ base model artifacts
- DMD / DMD2 โ the diffusion distillation theory behind our Stage-2 acceleration
๐ Community
A heartfelt thank you to everyone who has filed an issue, opened a PR, shared a workflow, or simply starred the project. Open source is a relay race โ we are proud to hand the baton forward.
If you find GigaWorld-1 useful, please consider โญ starring the repo and citing the paper (see below).
๐ Citation
@article{team2026gigaworld,
title={GigaWorld-1: A Roadmap to Build World Models for Robot Policy Evaluation},
author={Team, GigaWorld and Ma, Angyuan and Wang, Boyuan and Li, Bohan and Ni, Chaojun and Li, Guo and Huang, Guan and Zhao, Guosheng and Li, Hao and Li, Hengtao and others},
journal={arXiv preprint arXiv:2607.02642},
year={2026}
}
Built with โค๏ธ by the GigaWorld Team, GigaAI ยท CVPR 2026
Released under the Apache 2.0 License.
Explore related projects
Loadingโฆ
