|
Download README.md from qualcomm/ControlNet-Canny: direct link, hf CLI and curl.
- Browser
- Download file 22.2 kB
-
https://huggingface.co/qualcomm/ControlNet-Canny/resolve/112cfdb701a42f02410cdcaa05a14e6cef3e2fb7/README.md
- Command line
-
hf download hf://qualcomm/ControlNet-Canny@112cfdb701a42f02410cdcaa05a14e6cef3e2fb7/README.md
-
curl -L -o README.md https://huggingface.co/qualcomm/ControlNet-Canny/resolve/112cfdb701a42f02410cdcaa05a14e6cef3e2fb7/README.md
22.2 kB
| library_name: pytorch | |
| license: apache-2.0 | |
| tags: | |
| - generative_ai | |
| - android | |
| pipeline_tag: unconditional-image-generation | |
|  | |
| # ControlNet-Canny: Optimized for Qualcomm Devices | |
| On-device, high-resolution image synthesis from text and image prompts. ControlNet guides Stable-diffusion with provided input image to generate accurate images from given input prompt. | |
| This is based on the implementation of ControlNet-Canny found [here](https://github.com/lllyasviel/ControlNet). | |
| This repository contains pre-exported model files optimized for Qualcomm® devices. You can use the [Qualcomm® AI Hub Models](https://github.com/qualcomm/ai-hub-models/blob/v0.64.0/src/qai_hub_models/models/controlnet_canny) library to export with custom configurations. More details on model performance across various devices, can be found [here](#performance-summary). | |
| Qualcomm AI Hub Models uses [Qualcomm AI Hub Workbench](https://workbench.aihub.qualcomm.com) to compile, profile, and evaluate this model. [Sign up](https://myaccount.qualcomm.com/signup) to run these models on a hosted Qualcomm® device. | |
| ## Getting Started | |
| There are two ways to deploy this model on your device: | |
| ### Option 1: Download Pre-Exported Models | |
| Below are pre-exported model assets ready for deployment. | |
| | Runtime | Precision | Chipset | SDK Versions | Download | | |
| |---|---|---|---|---| | |
| | PRECOMPILED_QNN_ONNX | w8a16 | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | QAIRT 2.50, ONNX Runtime 1.30.0 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/controlnet_canny/releases/v0.64.0/controlnet_canny-precompiled_qnn_onnx-w8a16-qualcomm_snapdragon_8_elite_gen5_for_galaxy.zip) | |
| | PRECOMPILED_QNN_ONNX | w8a16 | Snapdragon® 8 Elite For Galaxy Mobile | QAIRT 2.50, ONNX Runtime 1.30.0 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/controlnet_canny/releases/v0.64.0/controlnet_canny-precompiled_qnn_onnx-w8a16-qualcomm_snapdragon_8_elite_for_galaxy.zip) | |
| | PRECOMPILED_QNN_ONNX | w8a16 | Snapdragon® X2 Elite | QAIRT 2.50, ONNX Runtime 1.30.0 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/controlnet_canny/releases/v0.64.0/controlnet_canny-precompiled_qnn_onnx-w8a16-qualcomm_snapdragon_x2_elite.zip) | |
| | PRECOMPILED_QNN_ONNX | w8a16 | Snapdragon® X Elite | QAIRT 2.50, ONNX Runtime 1.30.0 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/controlnet_canny/releases/v0.64.0/controlnet_canny-precompiled_qnn_onnx-w8a16-qualcomm_snapdragon_x_elite.zip) | |
| | PRECOMPILED_QNN_ONNX | w8a16 | Snapdragon® 8 Gen 3 Mobile | QAIRT 2.50, ONNX Runtime 1.30.0 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/controlnet_canny/releases/v0.64.0/controlnet_canny-precompiled_qnn_onnx-w8a16-qualcomm_snapdragon_8gen3.zip) | |
| | PRECOMPILED_QNN_ONNX | w8a16 | Qualcomm® Dragonwing™ IQ-8275 | QAIRT 2.50, ONNX Runtime 1.30.0 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/controlnet_canny/releases/v0.64.0/controlnet_canny-precompiled_qnn_onnx-w8a16-qualcomm_qcs8275.zip) | |
| | PRECOMPILED_QNN_ONNX | w8a16 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | QAIRT 2.50, ONNX Runtime 1.30.0 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/controlnet_canny/releases/v0.64.0/controlnet_canny-precompiled_qnn_onnx-w8a16-qualcomm_qcs8550_proxy.zip) | |
| | PRECOMPILED_QNN_ONNX | w8a16 | Qualcomm® Dragonwing™ Q-6690 | QAIRT 2.50, ONNX Runtime 1.30.0 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/controlnet_canny/releases/v0.64.0/controlnet_canny-precompiled_qnn_onnx-w8a16-qualcomm_qcm6690.zip) | |
| | PRECOMPILED_QNN_ONNX | w8a16 | Qualcomm® Dragonwing™ IQ-9075 | QAIRT 2.50, ONNX Runtime 1.30.0 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/controlnet_canny/releases/v0.64.0/controlnet_canny-precompiled_qnn_onnx-w8a16-qualcomm_qcs9075.zip) | |
| | PRECOMPILED_QNN_ONNX | w8a16 | Snapdragon® 7 Gen 4 Mobile | QAIRT 2.50, ONNX Runtime 1.30.0 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/controlnet_canny/releases/v0.64.0/controlnet_canny-precompiled_qnn_onnx-w8a16-qualcomm_snapdragon_7gen4.zip) | |
| | QNN_CONTEXT_BINARY | w8a16 | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | QAIRT 2.50 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/controlnet_canny/releases/v0.64.0/controlnet_canny-qnn_context_binary-w8a16-qualcomm_snapdragon_8_elite_gen5_for_galaxy.zip) | |
| | QNN_CONTEXT_BINARY | w8a16 | Snapdragon® 8 Elite For Galaxy Mobile | QAIRT 2.50 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/controlnet_canny/releases/v0.64.0/controlnet_canny-qnn_context_binary-w8a16-qualcomm_snapdragon_8_elite_for_galaxy.zip) | |
| | QNN_CONTEXT_BINARY | w8a16 | Snapdragon® X2 Elite | QAIRT 2.50 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/controlnet_canny/releases/v0.64.0/controlnet_canny-qnn_context_binary-w8a16-qualcomm_snapdragon_x2_elite.zip) | |
| | QNN_CONTEXT_BINARY | w8a16 | Snapdragon® X Elite | QAIRT 2.50 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/controlnet_canny/releases/v0.64.0/controlnet_canny-qnn_context_binary-w8a16-qualcomm_snapdragon_x_elite.zip) | |
| | QNN_CONTEXT_BINARY | w8a16 | Snapdragon® 8 Gen 3 Mobile | QAIRT 2.50 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/controlnet_canny/releases/v0.64.0/controlnet_canny-qnn_context_binary-w8a16-qualcomm_snapdragon_8gen3.zip) | |
| | QNN_CONTEXT_BINARY | w8a16 | Qualcomm® Dragonwing™ IQ-8275 | QAIRT 2.50 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/controlnet_canny/releases/v0.64.0/controlnet_canny-qnn_context_binary-w8a16-qualcomm_qcs8275.zip) | |
| | QNN_CONTEXT_BINARY | w8a16 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | QAIRT 2.50 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/controlnet_canny/releases/v0.64.0/controlnet_canny-qnn_context_binary-w8a16-qualcomm_qcs8550_proxy.zip) | |
| | QNN_CONTEXT_BINARY | w8a16 | Qualcomm® SA8775P | QAIRT 2.50 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/controlnet_canny/releases/v0.64.0/controlnet_canny-qnn_context_binary-w8a16-qualcomm_sa8775p.zip) | |
| | QNN_CONTEXT_BINARY | w8a16 | Qualcomm® Dragonwing™ Q-6690 | QAIRT 2.50 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/controlnet_canny/releases/v0.64.0/controlnet_canny-qnn_context_binary-w8a16-qualcomm_qcm6690.zip) | |
| | QNN_CONTEXT_BINARY | w8a16 | Qualcomm® Dragonwing™ IQ-9075 | QAIRT 2.50 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/controlnet_canny/releases/v0.64.0/controlnet_canny-qnn_context_binary-w8a16-qualcomm_qcs9075.zip) | |
| | QNN_CONTEXT_BINARY | w8a16 | Qualcomm® SA7255P | QAIRT 2.50 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/controlnet_canny/releases/v0.64.0/controlnet_canny-qnn_context_binary-w8a16-qualcomm_sa7255p.zip) | |
| | QNN_CONTEXT_BINARY | w8a16 | Snapdragon® 7 Gen 4 Mobile | QAIRT 2.50 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/controlnet_canny/releases/v0.64.0/controlnet_canny-qnn_context_binary-w8a16-qualcomm_snapdragon_7gen4.zip) | |
| For more device-specific assets and performance metrics, visit **[ControlNet-Canny on Qualcomm® AI Hub](https://aihub.qualcomm.com/models/controlnet_canny)**. | |
| ### Option 2: Export with Custom Configurations | |
| Use the [Qualcomm® AI Hub Models](https://github.com/qualcomm/ai-hub-models/blob/v0.64.0/src/qai_hub_models/models/controlnet_canny) Python library to compile and export the model with your own: | |
| - Custom weights (e.g., fine-tuned checkpoints) | |
| - Custom input shapes | |
| - Target device and runtime configurations | |
| This option is ideal if you need to customize the model beyond the default configuration provided here. | |
| See our repository for [ControlNet-Canny on GitHub](https://github.com/qualcomm/ai-hub-models/blob/v0.64.0/src/qai_hub_models/models/controlnet_canny) for usage instructions. | |
| ## Model Details | |
| **Model Type:** Model_use_case.image_generation | |
| **Model Stats:** | |
| - Conditioning Input: Canny-Edge | |
| - ControlNet Number of parameters: 361M | |
| - Input: Text prompt and input image as a reference | |
| - Model size: 1.4GB | |
| - Text Encoder Number of parameters: 340M | |
| - UNet Number of parameters: 865M | |
| - VAE Decoder Number of parameters: 83M | |
| ## Performance Summary | |
| | Model | Runtime | Precision | Chipset | Inference Time (ms) | Peak Memory Range (MB) | Primary Compute Unit | |
| |---|---|---|---|---|---|--- | |
| | controlnet | PRECOMPILED_QNN_ONNX | w8a16 | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 23.993 ms | 32 - 43 MB | NPU | |
| | controlnet | PRECOMPILED_QNN_ONNX | w8a16 | Snapdragon® 8 Elite For Galaxy Mobile | 42.684 ms | 32 - 44 MB | NPU | |
| | controlnet | PRECOMPILED_QNN_ONNX | w8a16 | Snapdragon® X2 Elite | 29.194 ms | 34 - 34 MB | NPU | |
| | controlnet | PRECOMPILED_QNN_ONNX | w8a16 | Snapdragon® X Elite | 65.636 ms | 351 - 351 MB | NPU | |
| | controlnet | PRECOMPILED_QNN_ONNX | w8a16 | Snapdragon® 8 Gen 3 Mobile | 54.069 ms | 32 - 44 MB | NPU | |
| | controlnet | PRECOMPILED_QNN_ONNX | w8a16 | Qualcomm® Dragonwing™ IQ-8275 | 65.964 ms | 30 - 35 MB | NPU | |
| | controlnet | PRECOMPILED_QNN_ONNX | w8a16 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 71.191 ms | 0 - 384 MB | NPU | |
| | controlnet | PRECOMPILED_QNN_ONNX | w8a16 | Qualcomm® Dragonwing™ IQ-9075 | 55.356 ms | 31 - 35 MB | NPU | |
| | controlnet | PRECOMPILED_QNN_ONNX | w8a16 | Qualcomm® Dragonwing™ IQ-X7181 | 65.636 ms | 351 - 351 MB | NPU | |
| | controlnet | PRECOMPILED_QNN_ONNX | w8a16 | Qualcomm® Dragonwing™ Q-6690 | 1222.907 ms | 14 - 24 MB | NPU | |
| | controlnet | PRECOMPILED_QNN_ONNX | w8a16 | Qualcomm® Dragonwing™ Q-7790 | 114.246 ms | 33 - 44 MB | NPU | |
| | controlnet | PRECOMPILED_QNN_ONNX | w8a16 | Qualcomm® Dragonwing™ Q-8750 | 42.684 ms | 32 - 44 MB | NPU | |
| | controlnet | PRECOMPILED_QNN_ONNX | w8a16 | Snapdragon® 7 Gen 4 Mobile | 114.246 ms | 33 - 44 MB | NPU | |
| | controlnet | QNN_CONTEXT_BINARY | w8a16 | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 23.397 ms | 2 - 10 MB | NPU | |
| | controlnet | QNN_CONTEXT_BINARY | w8a16 | Snapdragon® 8 Elite For Galaxy Mobile | 43.042 ms | 2 - 9 MB | NPU | |
| | controlnet | QNN_CONTEXT_BINARY | w8a16 | Snapdragon® X2 Elite | 29.704 ms | 2 - 2 MB | NPU | |
| | controlnet | QNN_CONTEXT_BINARY | w8a16 | Snapdragon® X Elite | 65.882 ms | 2 - 2 MB | NPU | |
| | controlnet | QNN_CONTEXT_BINARY | w8a16 | Snapdragon® 8 Gen 3 Mobile | 52.854 ms | 2 - 10 MB | NPU | |
| | controlnet | QNN_CONTEXT_BINARY | w8a16 | Qualcomm® Dragonwing™ IQ-8275 | 65.216 ms | 0 - 17 MB | NPU | |
| | controlnet | QNN_CONTEXT_BINARY | w8a16 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 70.469 ms | 2 - 3 MB | NPU | |
| | controlnet | QNN_CONTEXT_BINARY | w8a16 | Qualcomm® SA8650P | 70.402 ms | 2 - 10 MB | NPU | |
| | controlnet | QNN_CONTEXT_BINARY | w8a16 | Qualcomm® SA8255P | 70.402 ms | 2 - 10 MB | NPU | |
| | controlnet | QNN_CONTEXT_BINARY | w8a16 | Qualcomm® Dragonwing™ IQ-9075 | 54.46 ms | 2 - 19 MB | NPU | |
| | controlnet | QNN_CONTEXT_BINARY | w8a16 | Qualcomm® Dragonwing™ IQ-X7181 | 65.882 ms | 2 - 2 MB | NPU | |
| | controlnet | QNN_CONTEXT_BINARY | w8a16 | Qualcomm® Dragonwing™ Q-6690 | 962.79 ms | 0 - 6 MB | NPU | |
| | controlnet | QNN_CONTEXT_BINARY | w8a16 | Qualcomm® Dragonwing™ Q-7790 | 113.301 ms | 4 - 10 MB | NPU | |
| | controlnet | QNN_CONTEXT_BINARY | w8a16 | Qualcomm® Dragonwing™ Q-8750 | 43.042 ms | 2 - 9 MB | NPU | |
| | controlnet | QNN_CONTEXT_BINARY | w8a16 | Snapdragon® 7 Gen 4 Mobile | 113.301 ms | 4 - 10 MB | NPU | |
| | text_encoder | PRECOMPILED_QNN_ONNX | w8a16 | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 1.554 ms | 0 - 12 MB | NPU | |
| | text_encoder | PRECOMPILED_QNN_ONNX | w8a16 | Snapdragon® 8 Elite For Galaxy Mobile | 1.733 ms | 0 - 11 MB | NPU | |
| | text_encoder | PRECOMPILED_QNN_ONNX | w8a16 | Snapdragon® X2 Elite | 1.609 ms | 1 - 1 MB | NPU | |
| | text_encoder | PRECOMPILED_QNN_ONNX | w8a16 | Snapdragon® X Elite | 3.152 ms | 157 - 157 MB | NPU | |
| | text_encoder | PRECOMPILED_QNN_ONNX | w8a16 | Snapdragon® 8 Gen 3 Mobile | 2.18 ms | 0 - 10 MB | NPU | |
| | text_encoder | PRECOMPILED_QNN_ONNX | w8a16 | Qualcomm® Dragonwing™ IQ-8275 | 3.076 ms | 0 - 4 MB | NPU | |
| | text_encoder | PRECOMPILED_QNN_ONNX | w8a16 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 3.04 ms | 0 - 162 MB | NPU | |
| | text_encoder | PRECOMPILED_QNN_ONNX | w8a16 | Qualcomm® Dragonwing™ IQ-9075 | 3.156 ms | 0 - 3 MB | NPU | |
| | text_encoder | PRECOMPILED_QNN_ONNX | w8a16 | Qualcomm® Dragonwing™ IQ-X7181 | 3.152 ms | 157 - 157 MB | NPU | |
| | text_encoder | PRECOMPILED_QNN_ONNX | w8a16 | Qualcomm® Dragonwing™ Q-6690 | 21.213 ms | 0 - 9 MB | NPU | |
| | text_encoder | PRECOMPILED_QNN_ONNX | w8a16 | Qualcomm® Dragonwing™ Q-7790 | 3.31 ms | 0 - 6 MB | NPU | |
| | text_encoder | PRECOMPILED_QNN_ONNX | w8a16 | Qualcomm® Dragonwing™ Q-8750 | 1.733 ms | 0 - 11 MB | NPU | |
| | text_encoder | PRECOMPILED_QNN_ONNX | w8a16 | Snapdragon® 7 Gen 4 Mobile | 3.31 ms | 0 - 6 MB | NPU | |
| | text_encoder | QNN_CONTEXT_BINARY | w8a16 | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 1.56 ms | 0 - 8 MB | NPU | |
| | text_encoder | QNN_CONTEXT_BINARY | w8a16 | Snapdragon® 8 Elite For Galaxy Mobile | 1.732 ms | 0 - 8 MB | NPU | |
| | text_encoder | QNN_CONTEXT_BINARY | w8a16 | Snapdragon® X2 Elite | 1.882 ms | 1 - 1 MB | NPU | |
| | text_encoder | QNN_CONTEXT_BINARY | w8a16 | Snapdragon® X Elite | 3.342 ms | 1 - 1 MB | NPU | |
| | text_encoder | QNN_CONTEXT_BINARY | w8a16 | Snapdragon® 8 Gen 3 Mobile | 2.201 ms | 0 - 8 MB | NPU | |
| | text_encoder | QNN_CONTEXT_BINARY | w8a16 | Qualcomm® Dragonwing™ IQ-8275 | 3.051 ms | 0 - 3 MB | NPU | |
| | text_encoder | QNN_CONTEXT_BINARY | w8a16 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 3.041 ms | 0 - 1 MB | NPU | |
| | text_encoder | QNN_CONTEXT_BINARY | w8a16 | Qualcomm® SA8650P | 3.52 ms | 0 - 5 MB | NPU | |
| | text_encoder | QNN_CONTEXT_BINARY | w8a16 | Qualcomm® SA8255P | 3.52 ms | 0 - 5 MB | NPU | |
| | text_encoder | QNN_CONTEXT_BINARY | w8a16 | Qualcomm® Dragonwing™ IQ-9075 | 3.157 ms | 0 - 2 MB | NPU | |
| | text_encoder | QNN_CONTEXT_BINARY | w8a16 | Qualcomm® Dragonwing™ IQ-X7181 | 3.342 ms | 1 - 1 MB | NPU | |
| | text_encoder | QNN_CONTEXT_BINARY | w8a16 | Qualcomm® Dragonwing™ Q-6690 | 21.12 ms | 0 - 6 MB | NPU | |
| | text_encoder | QNN_CONTEXT_BINARY | w8a16 | Qualcomm® Dragonwing™ Q-7790 | 3.281 ms | 0 - 6 MB | NPU | |
| | text_encoder | QNN_CONTEXT_BINARY | w8a16 | Qualcomm® Dragonwing™ Q-8750 | 1.732 ms | 0 - 8 MB | NPU | |
| | text_encoder | QNN_CONTEXT_BINARY | w8a16 | Snapdragon® 7 Gen 4 Mobile | 3.281 ms | 0 - 6 MB | NPU | |
| | unet | PRECOMPILED_QNN_ONNX | w8a16 | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 51.12 ms | 6 - 18 MB | NPU | |
| | unet | PRECOMPILED_QNN_ONNX | w8a16 | Snapdragon® 8 Elite For Galaxy Mobile | 61.279 ms | 7 - 19 MB | NPU | |
| | unet | PRECOMPILED_QNN_ONNX | w8a16 | Snapdragon® X2 Elite | 45.96 ms | 13 - 13 MB | NPU | |
| | unet | PRECOMPILED_QNN_ONNX | w8a16 | Snapdragon® X Elite | 110.249 ms | 828 - 828 MB | NPU | |
| | unet | PRECOMPILED_QNN_ONNX | w8a16 | Snapdragon® 8 Gen 3 Mobile | 76.948 ms | 13 - 26 MB | NPU | |
| | unet | PRECOMPILED_QNN_ONNX | w8a16 | Qualcomm® Dragonwing™ IQ-8275 | 103.389 ms | 13 - 30 MB | NPU | |
| | unet | PRECOMPILED_QNN_ONNX | w8a16 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 108.402 ms | 0 - 883 MB | NPU | |
| | unet | PRECOMPILED_QNN_ONNX | w8a16 | Qualcomm® Dragonwing™ IQ-9075 | 103.299 ms | 12 - 28 MB | NPU | |
| | unet | PRECOMPILED_QNN_ONNX | w8a16 | Qualcomm® Dragonwing™ IQ-X7181 | 110.249 ms | 828 - 828 MB | NPU | |
| | unet | PRECOMPILED_QNN_ONNX | w8a16 | Qualcomm® Dragonwing™ Q-6690 | 1795.149 ms | 13 - 24 MB | NPU | |
| | unet | PRECOMPILED_QNN_ONNX | w8a16 | Qualcomm® Dragonwing™ Q-7790 | 163.843 ms | 13 - 24 MB | NPU | |
| | unet | PRECOMPILED_QNN_ONNX | w8a16 | Qualcomm® Dragonwing™ Q-8750 | 61.279 ms | 7 - 19 MB | NPU | |
| | unet | PRECOMPILED_QNN_ONNX | w8a16 | Snapdragon® 7 Gen 4 Mobile | 163.843 ms | 13 - 24 MB | NPU | |
| | unet | QNN_CONTEXT_BINARY | w8a16 | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 49.24 ms | 8 - 16 MB | NPU | |
| | unet | QNN_CONTEXT_BINARY | w8a16 | Snapdragon® 8 Elite For Galaxy Mobile | 58.328 ms | 20 - 28 MB | NPU | |
| | unet | QNN_CONTEXT_BINARY | w8a16 | Snapdragon® X2 Elite | 46.665 ms | 12 - 12 MB | NPU | |
| | unet | QNN_CONTEXT_BINARY | w8a16 | Snapdragon® X Elite | 110.501 ms | 13 - 13 MB | NPU | |
| | unet | QNN_CONTEXT_BINARY | w8a16 | Snapdragon® 8 Gen 3 Mobile | 76.576 ms | 15 - 23 MB | NPU | |
| | unet | QNN_CONTEXT_BINARY | w8a16 | Qualcomm® Dragonwing™ IQ-8275 | 102.086 ms | 3 - 18 MB | NPU | |
| | unet | QNN_CONTEXT_BINARY | w8a16 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 107.795 ms | 13 - 15 MB | NPU | |
| | unet | QNN_CONTEXT_BINARY | w8a16 | Qualcomm® SA8650P | 107.02 ms | 11 - 19 MB | NPU | |
| | unet | QNN_CONTEXT_BINARY | w8a16 | Qualcomm® SA8255P | 107.02 ms | 11 - 19 MB | NPU | |
| | unet | QNN_CONTEXT_BINARY | w8a16 | Qualcomm® Dragonwing™ IQ-9075 | 102.752 ms | 11 - 26 MB | NPU | |
| | unet | QNN_CONTEXT_BINARY | w8a16 | Qualcomm® Dragonwing™ IQ-X7181 | 110.501 ms | 13 - 13 MB | NPU | |
| | unet | QNN_CONTEXT_BINARY | w8a16 | Qualcomm® Dragonwing™ Q-6690 | 1943.011 ms | 0 - 7 MB | NPU | |
| | unet | QNN_CONTEXT_BINARY | w8a16 | Qualcomm® Dragonwing™ Q-7790 | 162.931 ms | 11 - 17 MB | NPU | |
| | unet | QNN_CONTEXT_BINARY | w8a16 | Qualcomm® Dragonwing™ Q-8750 | 58.328 ms | 20 - 28 MB | NPU | |
| | unet | QNN_CONTEXT_BINARY | w8a16 | Snapdragon® 7 Gen 4 Mobile | 162.931 ms | 11 - 17 MB | NPU | |
| | vae | PRECOMPILED_QNN_ONNX | w8a16 | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 78.89 ms | 3 - 10 MB | NPU | |
| | vae | PRECOMPILED_QNN_ONNX | w8a16 | Snapdragon® 8 Elite For Galaxy Mobile | 126.311 ms | 3 - 14 MB | NPU | |
| | vae | PRECOMPILED_QNN_ONNX | w8a16 | Snapdragon® X2 Elite | 90.096 ms | 4 - 4 MB | NPU | |
| | vae | PRECOMPILED_QNN_ONNX | w8a16 | Snapdragon® X Elite | 217.503 ms | 59 - 59 MB | NPU | |
| | vae | PRECOMPILED_QNN_ONNX | w8a16 | Snapdragon® 8 Gen 3 Mobile | 152.848 ms | 3 - 11 MB | NPU | |
| | vae | PRECOMPILED_QNN_ONNX | w8a16 | Qualcomm® Dragonwing™ IQ-8275 | 210.539 ms | 3 - 7 MB | NPU | |
| | vae | PRECOMPILED_QNN_ONNX | w8a16 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 221.692 ms | 0 - 66 MB | NPU | |
| | vae | PRECOMPILED_QNN_ONNX | w8a16 | Qualcomm® Dragonwing™ IQ-9075 | 189.378 ms | 3 - 6 MB | NPU | |
| | vae | PRECOMPILED_QNN_ONNX | w8a16 | Qualcomm® Dragonwing™ IQ-X7181 | 217.503 ms | 59 - 59 MB | NPU | |
| | vae | PRECOMPILED_QNN_ONNX | w8a16 | Qualcomm® Dragonwing™ Q-6690 | 5608.177 ms | 0 - 7 MB | NPU | |
| | vae | PRECOMPILED_QNN_ONNX | w8a16 | Qualcomm® Dragonwing™ Q-7790 | 381.228 ms | 5 - 11 MB | NPU | |
| | vae | PRECOMPILED_QNN_ONNX | w8a16 | Qualcomm® Dragonwing™ Q-8750 | 126.311 ms | 3 - 14 MB | NPU | |
| | vae | PRECOMPILED_QNN_ONNX | w8a16 | Snapdragon® 7 Gen 4 Mobile | 381.228 ms | 5 - 11 MB | NPU | |
| | vae | QNN_CONTEXT_BINARY | w8a16 | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 79.356 ms | 0 - 8 MB | NPU | |
| | vae | QNN_CONTEXT_BINARY | w8a16 | Snapdragon® 8 Elite For Galaxy Mobile | 126.902 ms | 0 - 8 MB | NPU | |
| | vae | QNN_CONTEXT_BINARY | w8a16 | Snapdragon® X2 Elite | 90.762 ms | 0 - 0 MB | NPU | |
| | vae | QNN_CONTEXT_BINARY | w8a16 | Snapdragon® X Elite | 217.938 ms | 0 - 0 MB | NPU | |
| | vae | QNN_CONTEXT_BINARY | w8a16 | Snapdragon® 8 Gen 3 Mobile | 151.325 ms | 1 - 8 MB | NPU | |
| | vae | QNN_CONTEXT_BINARY | w8a16 | Qualcomm® Dragonwing™ IQ-8275 | 210.494 ms | 0 - 4 MB | NPU | |
| | vae | QNN_CONTEXT_BINARY | w8a16 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 221.435 ms | 1 - 3 MB | NPU | |
| | vae | QNN_CONTEXT_BINARY | w8a16 | Qualcomm® SA8650P | 243.787 ms | 0 - 9 MB | NPU | |
| | vae | QNN_CONTEXT_BINARY | w8a16 | Qualcomm® SA8255P | 243.787 ms | 0 - 9 MB | NPU | |
| | vae | QNN_CONTEXT_BINARY | w8a16 | Qualcomm® Dragonwing™ IQ-9075 | 189.329 ms | 0 - 4 MB | NPU | |
| | vae | QNN_CONTEXT_BINARY | w8a16 | Qualcomm® Dragonwing™ IQ-X7181 | 217.938 ms | 0 - 0 MB | NPU | |
| | vae | QNN_CONTEXT_BINARY | w8a16 | Qualcomm® Dragonwing™ Q-6690 | 5481.563 ms | 0 - 6 MB | NPU | |
| | vae | QNN_CONTEXT_BINARY | w8a16 | Qualcomm® Dragonwing™ Q-7790 | 381.007 ms | 0 - 7 MB | NPU | |
| | vae | QNN_CONTEXT_BINARY | w8a16 | Qualcomm® Dragonwing™ Q-8750 | 126.902 ms | 0 - 8 MB | NPU | |
| | vae | QNN_CONTEXT_BINARY | w8a16 | Snapdragon® 7 Gen 4 Mobile | 381.007 ms | 0 - 7 MB | NPU | |
| ## License | |
| * The license for the original implementation of ControlNet-Canny can be found | |
| [here](https://github.com/lllyasviel/ControlNet/blob/main/LICENSE). | |
| ## References | |
| * [Adding Conditional Control to Text-to-Image Diffusion Models](https://arxiv.org/abs/2302.05543) | |
| * [Source Model Implementation](https://github.com/lllyasviel/ControlNet) | |
| ## Community | |
| * Join [our AI Hub Slack community](https://aihub.qualcomm.com/community/slack) to collaborate, post questions and learn more about on-device AI. | |
| * For questions or feedback please [reach out to us](mailto:ai-hub-support@qti.qualcomm.com). | |
| ## Usage and Limitations | |
| This model may not be used for or in connection with any of the following applications: | |
| - Accessing essential private and public services and benefits; | |
| - Administration of justice and democratic processes; | |
| - Assessing or recognizing the emotional state of a person; | |
| - Biometric and biometrics-based systems, including categorization of persons based on sensitive characteristics; | |
| - Education and vocational training; | |
| - Employment and workers management; | |
| - Exploitation of the vulnerabilities of persons resulting in harmful behavior; | |
| - General purpose social scoring; | |
| - Law enforcement; | |
| - Management and operation of critical infrastructure; | |
| - Migration, asylum and border control management; | |
| - Predictive policing; | |
| - Real-time remote biometric identification in public spaces; | |
| - Recommender systems of social media platforms; | |
| - Scraping of facial images (from the internet or otherwise); and/or | |
| - Subliminal manipulation | |