Instructions to use OzzyGT/hi3d_v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use OzzyGT/hi3d_v1 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("OzzyGT/hi3d_v1", 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 OzzyGT/hi3d_v1: direct link, hf CLI and curl.
- Browser
- Download file 410 Bytes
-
https://huggingface.co/OzzyGT/hi3d_v1/resolve/main/vae/config.json
- Command line
-
hf download hf://OzzyGT/hi3d_v1/vae/config.json
-
curl -L -o config.json https://huggingface.co/OzzyGT/hi3d_v1/resolve/main/vae/config.json
410 Bytes
| { | |
| "_class_name": "Hi3DVAEModel", | |
| "_diffusers_version": "0.42.0.dev0", | |
| "auto_map": { | |
| "AutoModel": "autoencoder_hi3d.Hi3DVAEModel" | |
| }, | |
| "channels": [ | |
| 128, | |
| 256, | |
| 512, | |
| 512 | |
| ], | |
| "depths": [ | |
| 2, | |
| 2, | |
| 2, | |
| 2 | |
| ], | |
| "mid_depth": 2, | |
| "mid_num_head": 32, | |
| "mlp_ratio": 4.0, | |
| "order": [ | |
| "z", | |
| "z-trans" | |
| ], | |
| "out_channels": 32, | |
| "patch_size": 48, | |
| "z_channels": 32 | |
| } | |