Downloads · 30 days
149
2% of all-time downloads
wangkanai/wan22-fp16-i2v-gguf
wan22-fp16-i2v-gguf is a image-to-video model from wangkanai. Use it for the image-to-video task on the model card, and read the license before you ship it in a product. It is set up for diffusers. The card lists the license as other.
This repository contains GGUF quantized versions of the Wan 2.2 Image-to-Video A14B model, optimized for efficient inference with reduced VRAM requirements while maintaining high-quality video generation capabilities.
Downloads · 30 days
149
2% of all-time downloads
All-time downloads
7.3K
Public
Repo size
32.9 GB
Likes
5
Public
Click a slice to open those files.
.gguf32.9 GB · 100%
From the Hugging Face model README
This repository contains GGUF quantized versions of the Wan 2.2 Image-to-Video A14B model, optimized for efficient inference with reduced VRAM requirements while maintaining high-quality video generation capabilities.
Wan 2.2 is an advanced large-scale video generative model that uses a Mixture-of-Experts (MoE) architecture specifically designed for image-to-video synthesis. The A14B variant features a dual-expert design with approximately 14 billion parameters per expert:
The model generates videos at 480P and 720P resolutions from static images, with support for text-guided prompts to control the generation process. Wan 2.2 incorporates meticulously curated aesthetic data with detailed labels for lighting, composition, contrast, and color tone, enabling precise cinematic-style video generation.
This repository contains three GGUF model files optimized for different use cases:
diffusion_models/wan/
├── wan22-i2v-a14b-high.gguf (15 GB) - Full FP16 high-noise expert
├── wan22-i2v-a14b-high-q4-k-s.gguf (8.2 GB) - Q4_K_S quantized high-noise expert
└── wan22-i2v-a14b-low-q4-k-s.gguf (8.2 GB) - Q4_K_S quantized low-noise expert
Total Repository Size: 31 GB
Quantization Format: Q4_K_S (4-bit K-quant Small) provides an optimal balance between model size, memory usage, and generation quality.
| Configuration | VRAM | Disk Space | RAM |
|---|---|---|---|
| Full FP16 | 24 GB | 31 GB | 32 GB |
| Q4_K_S Quantized | 12 GB | 31 GB | 16 GB |
| Mixed (FP16 + Q4_K_S) | 18 GB | 31 GB | 24 GB |
The most common way to use these GGUF models is through ComfyUI with the ComfyUI-GGUF custom node.
Installation:
# Navigate to ComfyUI custom nodes directory
cd ComfyUI/custom_nodes
# Clone the GGUF node
git clone https://github.com/city96/ComfyUI-GGUF
# Install dependencies
cd ComfyUI-GGUF
pip install -r requirements.txt
Model Setup:
# Copy models to ComfyUI directory
cp E:\huggingface\wan22-fp16-i2v-gguf\diffusion_models\wan\*.gguf ComfyUI\models\unet\
Workflow Configuration:
wan22-i2v-a14b-high-q4-k-s.gguf (for high-noise expert)For direct Python usage with absolute paths:
from diffusers import DiffusionPipeline
import torch
# Note: GGUF models require conversion or specialized loaders
# For native Diffusers support, use the base model:
# pipe = DiffusionPipeline.from_pretrained("Wan-AI/Wan2.2-I2V-A14B-Diffusers")
# For GGUF files, use ComfyUI or llama.cpp-based loaders
# Example using custom GGUF loader (requires compatible library):
from comfyui_gguf_loader import load_gguf_model
model_path = r"E:\huggingface\wan22-fp16-i2v-gguf\diffusion_models\wan\wan22-i2v-a14b-high-q4-k-s.gguf"
model = load_gguf_model(model_path, device="cuda", dtype=torch.float16)
# Generate video from image
image = load_image("input_image.jpg")
video = model.generate(
image=image,
prompt="A serene landscape with gentle wind moving through grass",
num_frames=48,
resolution="720p",
guidance_scale=8.0,
num_inference_steps=75
)
# Save video
video.save("output_video.mp4")
# Memory-optimized configuration for 12GB VRAM
config = {
"model_path": r"E:\huggingface\wan22-fp16-i2v-gguf\diffusion_models\wan\wan22-i2v-a14b-high-q4-k-s.gguf",
"vae_tiling": True, # Reduce VAE memory usage
"enable_xformers": True, # Memory-efficient attention
"gradient_checkpointing": True,
"low_vram_mode": True,
"chunk_size": 2, # Process video in chunks
}
Q4_K_S Quantization:
torch.compile() for 15-25% speedup (PyTorch 2.0+)Good Prompts:
Avoid:
This model is released under a custom Wan license. Please refer to the original Wan 2.2 model repository for complete licensing terms.
Users are accountable for the content they generate and must not:
Please consult the original Wan 2.2 license for commercial use terms and conditions.
If you use Wan 2.2 models in your research or applications, please cite:
@article{wan2025,
title={Wan: Open and Advanced Large-Scale Video Generative Models},
author={Team Wan and Contributors},
journal={arXiv preprint arXiv:2503.20314},
year={2025}
}
Issue: Out of memory errors Solution: Use Q4_K_S quantized models, enable VAE tiling, reduce resolution to 480P
Issue: Slow generation speed Solution: Use quantized models, enable xFormers, reduce inference steps to 50-75
Issue: Poor video quality Solution: Increase inference steps to 75-100, use higher guidance scale (8-9), improve input image quality
Issue: Model fails to load Solution: Verify GGUF loader compatibility, check file integrity, ensure sufficient disk space
Issue: Inconsistent motion Solution: Use clearer motion prompts, adjust guidance scale, increase inference steps
For issues, questions, or contributions:
Model Version: v2.2 README Version: v1.3 Last Updated: 2025-10-14 Format: GGUF (FP16 + Q4_K_S) Base Model: Wan-AI/Wan2.2-I2V-A14B