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