import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("Gluttony10/Wan-diffusers", dtype=torch.bfloat16, device_map="cuda")
prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
Wan-diffusers
基于通义万相Wan的diffusers推理项目
一键包详见 bilibili@十字鱼
更新内容
250729 添加A14B_i2v模型 250728 添加5B模型
安装依赖
git clone https://github.com/gluttony-10/Wan-diffusers
cd Wan-diffusers
conda create -n Wan python=3.10
conda activate Wan
pip install torch torchvision --extra-index-url https://download.pytorch.org/whl/cu128
pip install -r requirements.txt
下载模型
python download.py
开始运行
python glut.py
参考项目
- Downloads last month
- 57
Hardware compatibility
Log In to add your hardware
4-bit
8-bit
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support