Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

diffusers
/
controlnet-canny-sdxl-1.0-small

Text-to-Image
Diffusers
Safetensors
stable-diffusion-xl
stable-diffusion-xl-diffusers
controlnet
Model card Files Files and versions
xet
Community
1

Instructions to use diffusers/controlnet-canny-sdxl-1.0-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use diffusers/controlnet-canny-sdxl-1.0-small with Diffusers:

    pip install -U diffusers transformers accelerate
    from diffusers import ControlNetModel, StableDiffusionControlNetPipeline
    
    controlnet = ControlNetModel.from_pretrained("diffusers/controlnet-canny-sdxl-1.0-small")
    pipe = StableDiffusionControlNetPipeline.from_pretrained(
    	"stabilityai/stable-diffusion-xl-base-1.0", controlnet=controlnet
    )
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
controlnet-canny-sdxl-1.0-small
Ctrl+K
Ctrl+K
  • 2 contributors
History: 4 commits
valhalla's picture
valhalla
Create README.md
7a251ef almost 3 years ago
  • .gitattributes
    1.75 kB
    Upload 4 files almost 3 years ago
  • README.md
    3.46 kB
    Create README.md almost 3 years ago
  • cann-small-couple.png
    5.94 MB
    xet
    Upload 4 files almost 3 years ago
  • cann-small-hf-ofice.png
    5.67 MB
    xet
    Upload 4 files almost 3 years ago
  • cann-small-megatron.png
    3.27 MB
    xet
    Upload 4 files almost 3 years ago
  • cann-small-woman.png
    5.23 MB
    xet
    Upload 4 files almost 3 years ago
  • config.json
    1.26 kB
    add model almost 3 years ago
  • diffusion_pytorch_model.bin

    Detected Pickle imports (3)

    • "collections.OrderedDict",
    • "torch.FloatStorage",
    • "torch._utils._rebuild_tensor_v2"

    What is a pickle import?

    640 MB
    xet
    add model almost 3 years ago
  • diffusion_pytorch_model.fp16.bin

    Detected Pickle imports (3)

    • "collections.OrderedDict",
    • "torch.HalfStorage",
    • "torch._utils._rebuild_tensor_v2"

    What is a pickle import?

    320 MB
    xet
    add model almost 3 years ago
  • diffusion_pytorch_model.fp16.safetensors
    320 MB
    xet
    add model almost 3 years ago
  • diffusion_pytorch_model.safetensors
    640 MB
    xet
    add model almost 3 years ago