Instructions to use Gluttony10/Wan-diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Gluttony10/Wan-diffusers with Diffusers:
pip install -U diffusers transformers accelerate
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] - Notebooks
- Google Colab
- Kaggle
Upload README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,29 @@
|
|
| 1 |
-
-
|
| 2 |
-
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Wan-diffusers
|
| 2 |
+
|
| 3 |
+
基于通义万相Wan的diffusers推理项目
|
| 4 |
+
|
| 5 |
+
一键包详见 [bilibili@十字鱼](https://space.bilibili.com/893892)
|
| 6 |
+
|
| 7 |
+
## 更新内容
|
| 8 |
+
250729 添加A14B_i2v模型
|
| 9 |
+
250728 添加5B模型
|
| 10 |
+
## 安装依赖
|
| 11 |
+
```
|
| 12 |
+
git clone https://github.com/gluttony-10/Wan-diffusers
|
| 13 |
+
cd Wan-diffusers
|
| 14 |
+
conda create -n Wan python=3.10
|
| 15 |
+
conda activate Wan
|
| 16 |
+
pip install torch torchvision --extra-index-url https://download.pytorch.org/whl/cu128
|
| 17 |
+
pip install -r requirements.txt
|
| 18 |
+
```
|
| 19 |
+
## 下载模型
|
| 20 |
+
```
|
| 21 |
+
python download.py
|
| 22 |
+
```
|
| 23 |
+
## 开始运行
|
| 24 |
+
```
|
| 25 |
+
python glut.py
|
| 26 |
+
```
|
| 27 |
+
## 参考项目
|
| 28 |
+
https://github.com/Wan-Video/Wan2.2
|
| 29 |
+
|