Instructions to use huangdffs/6m with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use huangdffs/6m with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("huangdffs/6m", 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 vae/config.json from huangdffs/6m: direct link, hf CLI and curl.
- Browser
- Download file 490 Bytes
-
https://huggingface.co/huangdffs/6m/resolve/main/vae/config.json
- Command line
-
hf download hf://huangdffs/6m/vae/config.json
-
curl -L -o config.json https://huggingface.co/huangdffs/6m/resolve/main/vae/config.json
490 Bytes
| { | |
| "_class_name": "VAE", | |
| "_diffusers_version": "0.42.1", | |
| "lat_mu": [ | |
| -0.3819608688354492, | |
| 0.3119221031665802, | |
| -0.14898143708705902, | |
| -0.2355513572692871, | |
| -0.17596988379955292, | |
| 0.09997887164354324, | |
| -0.15801511704921722, | |
| -0.11001387983560562 | |
| ], | |
| "lat_sd": [ | |
| 0.712928295135498, | |
| 0.5267994403839111, | |
| 0.5918855667114258, | |
| 0.5884412527084351, | |
| 0.8827427625656128, | |
| 0.7264829874038696, | |
| 0.580340564250946, | |
| 0.7959872484207153 | |
| ] | |
| } | |