gatilin's picture
Document FastFrames-L component bundle and tests
be2154d verified
|
Raw History Blame Contribute Delete
2.84 kB
---
license: apple-amlr
license_link: https://huggingface.co/apple/FastFrames-L/blob/main/LICENSE
base_model: apple/FastFrames-L
tags:
- video-generation
- diffusion-transformer
- kv-cache
- pixel-decoder
- extracted-component
---
# FastFrames-L video diffusion components
This repository preserves the three original `fastframes-l/` component files from [apple/FastFrames-L](https://huggingface.co/apple/FastFrames-L), source revision `d18ec5f054bb03f6b8e561a63d52af3142b5b81d`. They are copied without conversion or fine-tuning:
- `dit.safetensors`: causal video generator based on Wan2.1-T2V-14B, 1,095 BF16 tensors, 28,577,096,680 bytes.
- `kv_refiner.safetensors`: KV cache refinement network, 66 BF16 tensors, 1,780,342,784 bytes.
- `pixel_decoder.safetensors`: bridged decoder (5120 → 1536), 32 FP32 tensors, 286,952,688 bytes.
This is a component bundle, not a complete text-to-video distribution: the separate Wan text encoder and tokenizer, inference code and runtime dependencies are needed. Follow the [official FastFrames implementation and checkpoint instructions](https://github.com/apple-aiml-research/ml-fastframes). The intermediate training checkpoints are not included.
## Verification
All three files were copied server-side from the pinned upstream repository, and destination LFS SHA-256 and byte sizes were checked against the source. The decoder and refiner were also downloaded from the official ModelScope mirror and fully hashed locally. Full `dit.safetensors` was **not** independently downloaded or locally hashed. Its safetensors header was compared against the upstream Wan2.1-T2V-14B model on the meta device: all 1,095 names and shapes match. This is a structural audit, not a full model load or forward pass.
The first DiT self-attention module passed strict loading and a synthetic CPU forward using a bidirectional PyTorch SDPA fallback; this is not the production causal inference path. The bridged pixel decoder and KV refiner also passed strict loading and small synthetic CPU forward tests; see `validation_attention.json`, `validation_decoder.json` and `validation_refiner.json`. These tests do not establish end-to-end generation quality, real-video behavior, GPU parity, or complete DiT correctness. A small subset of the official code, pinned at `a65c59240e01cf1de86197fa771ca09b38cf592a`, is included for these tests; inference requires the original project and its dependencies.
## License and attribution
The model weights are subject to the Apple Machine Learning Research Model License Agreement in [LICENSE](LICENSE), which limits use and distribution to non-commercial research. Included Apple code is covered by [LICENSE-CODE](LICENSE-CODE); Wan-derived code retains the notices in [ACKNOWLEDGEMENTS](ACKNOWLEDGEMENTS). The separate dependencies have their own licenses.