Instructions to use Tencent-Hunyuan/HunyuanDiT-v1.2-ControlNet-Diffusers-Depth with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Tencent-Hunyuan/HunyuanDiT-v1.2-ControlNet-Diffusers-Depth with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Tencent-Hunyuan/HunyuanDiT-v1.2-ControlNet-Diffusers-Depth", 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
Commit History
-
Update README.md
Verified signaturec09e53a
-
Upload diffusion_pytorch_model.safetensors with huggingface_hub
Verified signature340601c -
Upload README.md with huggingface_hub
Verified signaturefec11a4 -
Upload depth.jpg with huggingface_hub
Verified signature5045b0e -
Upload README.md with huggingface_hub
Verified signature7150d6e -
Upload config.json with huggingface_hub
Verified signaturebde1415 -
initial commit
Verified signature148ba33