Instructions to use DazMashaly/ctrlNet with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use DazMashaly/ctrlNet with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("DazMashaly/ctrlNet", 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 diffusion_pytorch_model.safetensors from DazMashaly/ctrlNet: direct link, hf CLI and curl.
- Browser
- Download file 728 MB
-
https://huggingface.co/DazMashaly/ctrlNet/resolve/main/diffusion_pytorch_model.safetensors
- Command line
-
hf download hf://DazMashaly/ctrlNet/diffusion_pytorch_model.safetensors
-
curl -L -o diffusion_pytorch_model.safetensors https://huggingface.co/DazMashaly/ctrlNet/resolve/main/diffusion_pytorch_model.safetensors
728 MB
- Xet hash:
- 414d34e7646469d9a7a40cf998cf19ce8c9f8291541e16a6a93f6429acedcfbf
- Size of remote file:
- 728 MB
- SHA256:
- 2e13b7fc6e8fb6932e286a4863cbbaac09be1ee37eb943b8fe2df29338cc4f52
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.