mlx-community/Causal-Forcing-PP-framewise-2step-bf16
The Causal Forcing++ frame-wise two-step generator from zhuhz22/Causal-Forcing (thu-ml/Causal-Forcing, arXiv 2602.02214), converted from its PyTorch pickle to a single bf16 safetensors file for MLX.
It is a frame-causal Wan2.1-T2V-1.3B DiT. It denoises one latent frame at a time with two steps, attending to a KV
cache of the frames before it. It is the DiT inside Apple's
FastFrames-S (arXiv 2611.23226), and this conversion was made for the
Swift/MLX port of that pipeline, xocialize/mlx-fastframes-swift.
Files
| File | Contents |
|---|---|
dit.safetensors | the generator_ema state dict: 825 tensors, 1,418,996,800 parameters, bf16 |
config.json | architecture, source revision, sha256 of the source pickle and of dit.safetensors |
What the conversion does
- Keys are upstream's Wan2.1 / FastFrames names (
blocks.N.self_attn.q.weight,patch_embedding.weight, …), with the FSDP andmodel.prefixes stripped. patch_embedding.weightstays the Conv3d[1536, 16, 1, 2, 2].- The released checkpoint is fp32. It is rounded to bf16 (round to nearest even), the dtype FastFrames runs the DiT in; nothing else changes.
- Source:
causal-forcing++/framewise-2step.ptat revision2f8eb8bb6eeb1238da9d13e5420d342a74d634a6(sha2568f899a01…60ce42), loaded withweights_only=True, converted by the port'sTools/convert_dit.py.
What is not here
FastFrames-S also uses Apple's KV refinement network and pixel decoder. Those weights are under the Apple Machine Learning Research Model License (research use only, non-commercial). They are not in this repository and are not redistributed: fetch them from apple/FastFrames-S under Apple's terms. Prompt encoding uses the umT5-XXL encoder that Wan2.1 uses. This repository is not affiliated with or endorsed by Apple.
Parity
Through the Swift/MLX port, with this file and Apple's add-ons, measured against upstream FastFrames' own code run on the CPU:
- Every component matches to 1–3e-6 in fp32 (attention kept fp32 on both sides).
- The bf16 rollout's first three latent frames agree at cosine ≥ 0.997, with ≥ 31.7 dB pixel PSNR.
On an M5 Max, the full FastFrames-S pipeline renders 81 frames at 832×480 in about 11 s.
Use
Through MLXEngine, the MLXFastFrames package in
mlx-fastframes-swift downloads this repository, Apple's add-ons
and the umT5 encoder on first use.
Licence
Apache-2.0, as released by the Causal Forcing authors (Tsinghua University, Shengshu and UT Austin). The base model,
Wan2.1-T2V-1.3B, is Apache-2.0. See NOTICE.
@article{zhu2026causal,
title={Causal Forcing: Autoregressive Diffusion Distillation Done Right for High-Quality Real-Time Interactive Video Generation},
author={Zhu, Hongzhou and Zhao, Min and He, Guande and Su, Hang and Li, Chongxuan and Zhu, Jun},
journal={arXiv preprint arXiv:2602.02214},
year={2026}
}