Instructions to use callgg/wan2-encoder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use callgg/wan2-encoder with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("callgg/wan2-encoder", 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
Update model_index.json
Browse files- model_index.json +8 -0
model_index.json
CHANGED
|
@@ -3,6 +3,14 @@
|
|
| 3 |
"_diffusers_version": "0.35.0.dev0",
|
| 4 |
"boundary_ratio": 0.9,
|
| 5 |
"scheduler": [
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
"diffusers",
|
| 7 |
"UniPCMultistepScheduler"
|
| 8 |
],
|
|
|
|
| 3 |
"_diffusers_version": "0.35.0.dev0",
|
| 4 |
"boundary_ratio": 0.9,
|
| 5 |
"scheduler": [
|
| 6 |
+
"image_encoder": [
|
| 7 |
+
null,
|
| 8 |
+
null
|
| 9 |
+
],
|
| 10 |
+
"image_processor": [
|
| 11 |
+
null,
|
| 12 |
+
null
|
| 13 |
+
],
|
| 14 |
"diffusers",
|
| 15 |
"UniPCMultistepScheduler"
|
| 16 |
],
|