Instructions to use MonsterMMORPG/Wan_GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use MonsterMMORPG/Wan_GGUF with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("MonsterMMORPG/Wan_GGUF", 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
Download RMBG2/preprocessor_config.json from MonsterMMORPG/Wan_GGUF: direct link, hf CLI and curl.
- Browser
- Download file 391 Bytes
-
https://huggingface.co/MonsterMMORPG/Wan_GGUF/resolve/main/RMBG2/preprocessor_config.json
- Command line
-
hf download hf://MonsterMMORPG/Wan_GGUF/RMBG2/preprocessor_config.json
-
curl -L -o preprocessor_config.json https://huggingface.co/MonsterMMORPG/Wan_GGUF/resolve/main/RMBG2/preprocessor_config.json
391 Bytes
| { | |
| "do_normalize": true, | |
| "do_rescale": true, | |
| "do_resize": true, | |
| "feature_extractor_type": "ViTFeatureExtractor", | |
| "image_mean": [ | |
| 0.485, | |
| 0.456, | |
| 0.406 | |
| ], | |
| "image_processor_type": "ViTFeatureExtractor", | |
| "image_std": [ | |
| 0.229, | |
| 0.224, | |
| 0.225 | |
| ], | |
| "resample": 2, | |
| "rescale_factor": 0.00392156862745098, | |
| "size": { | |
| "height": 1024, | |
| "width": 1024 | |
| } | |
| } |