# o2laf (inference-only fork for the demo Space) Trimmed copy of [showlab/O2LaF](https://github.com/showlab/O2LaF) (MIT; files adapted from NVIDIA AnyFlow keep their Apache-2.0 headers). This fork keeps only what the demo uses: the `wan_dit` action encoder, the world models, sampling and the attention visualiser. Changes from upstream: - Training, data loading, export, CLIs and the V-JEPA 2 / ST-transformer encoders are removed. - The action encoder runs its mask through SDPA with a dense boolean mask instead of `torch.compile(flex_attention)`, so there is no compilation step. - The action encoder's LoRA is merged into its weights at load time. - With `unconditional_mode='full'`, classifier-free guidance runs both branches as one batch-2 forward.