CoolFace
Modelpublic

amd/sd1.5-controlnet-canny-amdnpu

sourceHugging Facecreativeml-openrail-mupdated 2mo agoView on Hugging Face
0likes
Model Card

๐Ÿš€ Stable Diffusion 1.5 ControlNet (Canny) on AMD AI PC NPU

ControlNet v1.1 (Canny) adds conditional control to text-to-image diffusion models using Canny edge maps as guidance. It is designed to be used with Stable Diffusion 1.5. For more information about how ControlNet works, please see the ๐Ÿงจ Diffusers ControlNet blog and the ControlNet paper.

More details about this model can be found on the original Hugging Face model card: lllyasviel/control_v11p_sd15_canny.

This model repo contains the optimized ONNX models required to run the Stable Diffusion 1.5 + ControlNet (Canny) image generation pipeline on AMD NPUs.

Model Details

The folder structure is organized to mirror the main components of the ControlNet diffusion pipeline (controlnet, scheduler, text encoder, tokenizer, UNet, VAE decoder, and supporting modules).

text
โ”œโ”€ controlnet/
โ”œโ”€ feature_extractor/
โ”œโ”€ safety_checker/
โ”œโ”€ scheduler/
โ”œโ”€ text_encoder/
โ”œโ”€ tokenizer/
โ”œโ”€ unet/
โ””โ”€ vae_decoder/

The controlnet folder contains the ControlNet model conditioned on Canny edges. It is exported and structured specifically to leverage the AMD NPU accelerator together with the UNet during denoising.

The scheduler folder contains the scheduler configuration (timesteps, betas, alphas, etc.) used during the diffusion sampling process.

The text_encoder folder contains the text encoder model used to convert the input prompt into conditioning embeddings for the diffusion model.

The tokenizer contains the tokenizer configuration and vocabulary files required to preprocess the text prompt before it is fed to the text encoder.

The unet folder contains the UNet model used in the diffusion process. The UNet is exported and structured specifically to leverage the AMD NPU accelerator for the denoising steps.

The vae_decoder folder contains the VAE decoder model used to map latent representations back to the image space. The VAE decoder is also structured to make use of the NPU accelerator for efficient image reconstruction.

The feature_extractor and safety_checker folders contain supporting components used with the Stable Diffusion 1.5 pipeline.

Note: ControlNet, UNet, and VAE decoder models are optimized and structured to run on AMD NPUs. The other components (text encoder, tokenizer, scheduler, feature extractor, and safety checker) are shared between GPU and NPU pipelines, but are provided here for completeness.
Model DetailsDescription
Person or organization developing modelBenjamin Consolvo (AMD), makn87amd (AMD)
Original model authorsLvmin Zhang, Maneesh Agrawala
Model dateMay 2026
Model version1.8.0
Model typeControlNet-conditioned text-to-image generation (Canny edges)
Information about training algorithms, parameters, fairness constraints or other applied approaches, and featuresControlNet v1.1 Canny checkpoint trained on runwayml/stable-diffusion-v1-5. Adds Canny edge conditioning to control image structure during generation. See the original model card for training and usage details.
LicenseCreativeML OpenRAIL-M โ€” see lllyasviel/control_v11p_sd15_canny
Where to send questions or comments about the modelCommunity Tab and AMD Developer Community Discord

โšก Intended Use

Getting Started

To get started with this model, visit github.com/amd/sd-sandbox.

โš“ Ethical Considerations

AMD is committed to conducting our business in a fair, ethical and honest manner and in compliance with all applicable laws, rules and regulations. You can find out more at the AMD Ethics and Compliance page.

โš ๏ธ Caveats and Recommendations

Please visit the original model card for more details on usage, preprocessing (Canny edge extraction), and limitations: lllyasviel/control_v11p_sd15_canny.

๐Ÿ“Œ Citation Details

bibtex
@misc{zhang2023adding,
      title={Adding Conditional Control to Text-to-Image Diffusion Models},
      author={Lvmin Zhang and Maneesh Agrawala},
      year={2023},
      eprint={2302.05543},
      archivePrefix={arXiv},
      primaryClass={cs.CV}
}