FastWan2.2 TI2V 5B FullAttn Diffusers

ProviderFastVideo
Categorytext-to-video
Licenseapache-2.0
Downloads556
Stars4

Overview

FastWan2.2 TI2V 5B is a specialized Text-to-Image-to-Video (TI2V) diffusion model designed for high-fidelity cinematic generation. With a 5-billion parameter architecture utilizing Full Attention, it prioritizes temporal consistency and spatial detail over the aggressive compression found in smaller models. For developers, the primary draw is its integration with the Diffusers library, allowing for seamless deployment into existing PyTorch pipelines without custom CUDA kernels. It is particularly suited for production workflows requiring precise control over motion dynamics and visual stability. Compared to standard T2V models, the TI2V approach provides a more reliable anchor for visual identity, making it an ideal choice for animating static assets or creating consistent character sequences.

Highlights

  • Native Diffusers integration for streamlined PyTorch deployment
  • Full Attention mechanism ensures superior temporal consistency
  • Optimized for high-fidelity Text-to-Image-to-Video workflows
  • Permissive Apache-2.0 license for commercial application
  • Robust 5B parameter scale balances quality and performance

Usage

Install
# Install Hugging Face transformers
pip install transformers torch
SDK Usage
# Load model with transformers
from transformers import AutoModel, AutoTokenizer

model = AutoModel.from_pretrained("FastVideo/FastWan2.2-TI2V-5B-FullAttn-Diffusers")
tokenizer = AutoTokenizer.from_pretrained("FastVideo/FastWan2.2-TI2V-5B-FullAttn-Diffusers")

Hugging Face Download

We recommend downloading the model via the Hugging Face CLI or Hub SDK.

Guidance:Before downloading, install huggingface_hub with:

Guidance
pip install -U huggingface_hub

CLI Download

Download the full repository

Download the full repository
huggingface-cli download FastVideo/FastWan2.2-TI2V-5B-FullAttn-Diffusers

Download a single file to a local folder (e.g. config.json into ./dir)

Download a single file to a local folder (e.g. config.json into ./dir)
huggingface-cli download FastVideo/FastWan2.2-TI2V-5B-FullAttn-Diffusers config.json --local-dir ./dir

See the official docs for more CLI options

SDK Download

SDK Download
# 模型下载
from huggingface_hub import snapshot_download
model_dir = snapshot_download('FastVideo/FastWan2.2-TI2V-5B-FullAttn-Diffusers')

Git Download

Make sure git-lfs is installed first

Git Download
git lfs install
git clone https://huggingface.co/FastVideo/FastWan2.2-TI2V-5B-FullAttn-Diffusers

To skip LFS large-file downloads, use:

Skip LFS
GIT_LFS_SKIP_SMUDGE=1 git clone https://huggingface.co/FastVideo/FastWan2.2-TI2V-5B-FullAttn-Diffusers

Model files are hosted on the Hugging Face Hub — download directly via HF CLI / SDK / Git, not through this site.

PyTorch / Transformers Usage

Install Transformers

Install Transformers
pip install -U transformers torch

Load the model and run inference

Load the model and run inference
from transformers import AutoModelForCausalLM, AutoTokenizer

model = AutoModelForCausalLM.from_pretrained('FastVideo/FastWan2.2-TI2V-5B-FullAttn-Diffusers')
tokenizer = AutoTokenizer.from_pretrained('FastVideo/FastWan2.2-TI2V-5B-FullAttn-Diffusers')

Model Download

We recommend downloading the model via the ModelScope CLI or SDK.

Guidance:Before downloading, install ModelScope with:

Guidance
pip install modelscope

CLI Download

Download the full repository

Download the full repository
modelscope download --model FastVideo/FastWan2.2-TI2V-5B-FullAttn-Diffusers

Download a single file to a local folder (e.g. README.md into ./dir)

Download a single file to a local folder (e.g. README.md into ./dir)
modelscope download --model FastVideo/FastWan2.2-TI2V-5B-FullAttn-Diffusers README.md --local_dir ./dir

See the docs for more CLI options

SDK Download

SDK Download
# 模型下载
from modelscope import snapshot_download
model_dir = snapshot_download('FastVideo/FastWan2.2-TI2V-5B-FullAttn-Diffusers')

Git Download

Make sure git-lfs is installed first

Git Download
git lfs install
git clone https://www.modelscope.cn/FastVideo/FastWan2.2-TI2V-5B-FullAttn-Diffusers.git

To skip LFS large-file downloads, use:

Skip LFS
GIT_LFS_SKIP_SMUDGE=1 git clone https://www.modelscope.cn/FastVideo/FastWan2.2-TI2V-5B-FullAttn-Diffusers.git

ModelScope 模型页直接下载模型文件;无需将模型文件放在本站服务器。

Notebook Quickstart

Install the ModelScope library

Install the ModelScope library
pip install "modelscope[audio,cv,nlp,multi-modal,science]" -f https://modelscope.oss-cn-beijing.aliyuncs.com/releases/repo.html

Load the model and run inference

Load the model and run inference
from modelscope.pipelines import pipeline
from modelscope.utils.constant import Tasks

p = pipeline('text-generation', 'FastVideo/FastWan2.2-TI2V-5B-FullAttn-Diffusers')

Full Documentation

来源: HuggingFace

---
license: apache-2.0
pipeline_tag: text-to-video
library_name: diffusers
---

FastVideo FastWan2.2-TI2V-5B-FullAttn-Diffusers Model

<p align="center"> <img src="https://raw.githubusercontent.com/hao-ai-lab/FastVideo/main/assets/logo.png" width="200"/> </p> <div> <div align="center"> <a href="https://github.com/hao-ai-lab/FastVideo" target="_blank">FastVideo Team</a>&emsp; </div>

<div align="center">
<a href="https://huggingface.co/papers/2505.13389">HF Paper (VSA)</a> | <a href="https://arxiv.org/pdf/2505.13389">arXiv Paper (VSA)</a> |
<a href="https://github.com/hao-ai-lab/FastVideo">Github</a> |
<a href="https://hao-ai-lab.github.io/FastVideo">Project Page</a>
</div>
</div>

Online Demo

You can try our models here

Introduction

We're excited to introduce the FastWan2.2 series—a new line of models finetuned with our novel Sparse-distill strategy. This approach jointly integrates DMD and VSA in a single training process, combining the benefits of both distillation to shorten diffusion steps and sparse attention to reduce attention computations, enabling even faster video generation.

FastWan2.2-TI2V-5B-Full-Diffusers is built upon Wan-AI/Wan2.2-TI2V-5B-Diffusers. It supports efficient 3-step inference and produces high-quality videos at 121×704×1280 resolution. For training, we used simulated forward for the generator model, making the process data-free. The current FastWan2.2-TI2V-5B-Full-Diffusers model is trained using only DMD.

---

Model Overview

  • 3-step inference is supported.
  • Our model is trained on 121×704×1280 resolution, but it supports generating videos with any resolution.(quality may degrade)
  • Finetuning and inference scripts are available in the FastVideo repository:
- 1 Node/GPU debugging finetuning script - Slurm training example script - Inference script
python
num_gpus=1
export FASTVIDEO_ATTENTION_BACKEND=FLASH_ATTN
export MODEL_BASE=FastVideo/FastWan2.2-TI2V-5B-Full-Diffusers

export MODEL_BASE=hunyuanvideo-community/HunyuanVideo

You can either use --prompt or --prompt-txt, but not both.

fastvideo generate \ --model-path $MODEL_BASE \ --sp-size $num_gpus \ --tp-size 1 \ --num-gpus $num_gpus \ --height 704 \ --width 1280 \ --num-frames 121 \ --num-inference-steps 3 \ --fps 24 \ --prompt-txt assets/prompt.txt \ --negative-prompt "Bright tones, overexposed, static, blurred details, subtitles, style, works, paintings, images, static, overall gray, worst quality, low quality, JPEG compression residue, ugly, incomplete, extra fingers, poorly drawn hands, poorly drawn faces, deformed, disfigured, misshapen limbs, fused fingers, still picture, messy background, three legs, many people in the background, walking backwards" \ --seed 1024 \ --output-path outputs_video_dmd/ \ --dmd-denoising-steps "1000,757,522"
  • Try it out on FastVideo — we support a wide range of GPUs from H100 to 4090, and also support Mac users!

Training Infrastructure

Training was conducted on 8 nodes with 64 H200 GPUs in total, using a global batch size = 64, and training runs for 3000 steps (~12 hours)

If you use the FastWan2.2-TI2V-5B-FullAttn-Diffusers model for your research, please cite our paper:

code
@article{zhang2025vsa,
title={VSA: Faster Video Diffusion with Trainable Sparse Attention},
author={Zhang, Peiyuan and Huang, Haofeng and Chen, Yongqi and Lin, Will and Liu, Zhengzhong and Stoica, Ion and Xing, Eric and Zhang, Hao},
journal={arXiv preprint arXiv:2505.13389},
year={2025}
}
@article{zhang2025fast,
title={Fast video generation with sliding tile attention},
author={Zhang, Peiyuan and Chen, Yongqi and Su, Runlong and Ding, Hangliang and Stoica, Ion and Liu, Zhengzhong and Zhang, Hao},
journal={arXiv preprint arXiv:2502.04507},
year={2025}
}

Join our Telegram