O2LaF-Demo / O2LaF /README.md
blanchon's picture
fix first-frame anchor + atomic crash; load models once; vendor trimmed o2laf
19583ce
|
Raw History Blame Contribute Delete
762 Bytes

A newer version of the Gradio SDK is available: 6.32.0

Upgrade

o2laf (inference-only fork for the demo Space)

Trimmed copy of 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.