Instructions to use lllyasviel/sd-controlnet-hed with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use lllyasviel/sd-controlnet-hed with Diffusers:
pip install -U diffusers transformers accelerate
from diffusers import ControlNetModel, StableDiffusionControlNetPipeline controlnet = ControlNetModel.from_pretrained("lllyasviel/sd-controlnet-hed") pipe = StableDiffusionControlNetPipeline.from_pretrained( "runwayml/stable-diffusion-v1-5", controlnet=controlnet ) - Notebooks
- Google Colab
- Kaggle
Adding `safetensors` variant of this model
#3
by patrickvonplaten - opened
No description provided.
@lllyasviel this is the safetensors version of the controlnet model - it should enable much faster model loading time :-)
patrickvonplaten changed pull request status to merged