Update README.md
Browse files
README.md
CHANGED
|
@@ -16,8 +16,8 @@ from diffusers.utils import export_to_video, load_image
|
|
| 16 |
|
| 17 |
dtype = torch.bfloat16
|
| 18 |
device = "cuda:2"
|
| 19 |
-
vae = AutoencoderKLWan.from_pretrained("FastDM/Wan2.2-T2V-A14B-Merge-Lightning-V1.
|
| 20 |
-
pipe = WanPipeline.from_pretrained("FastDM/Wan2.2-T2V-A14B-Merge-Lightning-V1.
|
| 21 |
pipe.to(device)
|
| 22 |
|
| 23 |
height = 720
|
|
@@ -42,5 +42,5 @@ export_to_video(output, "t2v_out.mp4", fps=16)
|
|
| 42 |
|
| 43 |
test command:
|
| 44 |
```
|
| 45 |
-
python gen.py --model-path FastDM/Wan2.2-T2V-A14B-Merge-Lightning-V1.
|
| 46 |
```
|
|
|
|
| 16 |
|
| 17 |
dtype = torch.bfloat16
|
| 18 |
device = "cuda:2"
|
| 19 |
+
vae = AutoencoderKLWan.from_pretrained("FastDM/Wan2.2-T2V-A14B-Merge-Lightning-V1.0-Diffusers", subfolder="vae", torch_dtype=torch.float32)
|
| 20 |
+
pipe = WanPipeline.from_pretrained("FastDM/Wan2.2-T2V-A14B-Merge-Lightning-V1.0-Diffusers", vae=vae, torch_dtype=dtype)
|
| 21 |
pipe.to(device)
|
| 22 |
|
| 23 |
height = 720
|
|
|
|
| 42 |
|
| 43 |
test command:
|
| 44 |
```
|
| 45 |
+
python gen.py --model-path FastDM/Wan2.2-T2V-A14B-Merge-Lightning-V1.0-Diffusers --architecture wan --guidance-scale 1.0 --height 720 --width 1280 --steps 4 --use-fp8 --output-path ./wan-a14b-lightningv1.1-fp8-guid1.mp4 --num-frames 81 --fps 16 --prompts "Two anthropomorphic cats in comfy boxing gear and bright gloves fight intensely on a spotlighted stage."
|
| 46 |
```
|