Instructions to use Wan-AI/Wan2.2-TI2V-5B-Diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Wan-AI/Wan2.2-TI2V-5B-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("Wan-AI/Wan2.2-TI2V-5B-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
需要Wan2.2-TI2V-5B-Diffusers的图生视频示例
#2
by Gluttony10 - opened
需要Wan2.2-TI2V-5B-Diffusers的图生视频diffusers代码示例
感谢!
5B diffusers 图生视频,生成代码是上面的12006。
请问为什么这么虚,可能是哪里的问题?
test code on diffusers 0.35.0 dev failed.
there are some bugs:
- AttributeError: 'NoneType' object has no attribute 'expected_components'
- cannot import name 'PipelineBlock' from 'diffusers.modular_pipelines'
to fix them in YiYiXu/WanImageProcessor:
- rename
config.json->modular_config.json - rename
PipelineBlock->ModularPipelineBlocksinblock.py
This comment has been hidden
