Nano World Model trained on RT-1 (Fractal), model seed 0, 300,000 training steps, batch size 64.
The prediction target is flow matching (experiment.diffusion.pred_name: flow), with logit-normal timestep sampling and zero-terminal-SNR disabled. C3 is disabled.
stabilityai/sd-vae-ft-mse (not included).metadata.json contains the training action statistics. Normalize actions using (action - action_mean) / action_std following the NanoWM dataset loader.model.safetensors contains inference backbone weights, with the Lightning model. / compile wrapper prefixes removed.
config.yaml preserves training and model settings, with the cluster resume-checkpoint path cleared.
manifest.json records source hashes and strict-load / tensor-equality verification. SHA256SUMS lists published-file hashes.
No optimizer state, dataset frames, or VAE weights are included. This is an inference export, not a training-resume checkpoint.
In a nano-world-model checkout with flow-matching support and its dependencies installed:
import sys
from pathlib import Path
from huggingface_hub import snapshot_download
from omegaconf import OmegaConf
from safetensors.torch import load_file
sys.path.insert(0, str(Path("/path/to/nano-world-model/src")))
from models import get_models
from diffusion import create_diffusion
folder = Path(snapshot_download("saidaliu27/nanowm-b2-rt1-flow-300k-seed0"))
cfg = OmegaConf.load(folder / "config.yaml")
model = get_models(cfg)
model.load_state_dict(load_file(str(folder / "model.safetensors")), strict=True)
model.eval()
# Use the flow sampler selected by the checkpoint config.
d = cfg.experiment.diffusion
sampler = create_diffusion(
timestep_respacing="", noise_schedule=d.noise_schedule,
pred_name=d.pred_name, diffusion_steps=d.diffusion_steps,
snr_gamma=d.snr_gamma, zero_terminal_snr=d.zero_terminal_snr,
)
The example loads the backbone and flow sampler. For image rollouts use the repository's latent codec and rollout/evaluation utilities with the supplied action normalization metadata. The saved training config's default sampling-step count is 250; the associated uncertainty ablations explicitly override it to 10 steps.