NAFNet-DeNoise: Optimized for Qualcomm Devices
NAFNET is designed for lightweight real-time denoising of images.
This is based on the implementation of NAFNet-DeNoise found here. This repository contains pre-exported model files optimized for Qualcomm® devices. You can use the Qualcomm® AI Hub Models library to export with custom configurations. More details on model performance across various devices, can be found here.
Qualcomm AI Hub Models uses Qualcomm AI Hub Workbench to compile, profile, and evaluate this model. Sign up 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 |
|---|---|---|---|---|
| ONNX | float | Universal | QAIRT 2.51, ONNX Runtime 1.30.0 | Download |
| ONNX | w8a16 | Universal | QAIRT 2.51, ONNX Runtime 1.30.0 | Download |
| QNN_DLC | w8a16 | Universal | QAIRT 2.51 | Download |
For more device-specific assets and performance metrics, visit NAFNet-DeNoise on Qualcomm® AI Hub.
Option 2: Export with Custom Configurations
Use the Qualcomm® AI Hub Models 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 NAFNet-DeNoise on GitHub for usage instructions.
Model Details
Model Type: Model_use_case.image_editing
Model Stats:
- Input resolution: 256x256
- Model checkpoint: NAFNet-SIDD-width64
- Model size (float): 463.93 MB
- Number of parameters: 115.98M
Performance Summary
| Model | Runtime | Precision | Chipset | Inference Time (ms) | Peak Memory Range (MB) | Primary Compute Unit |
|---|---|---|---|---|---|---|
| NAFNet-DeNoise | ONNX | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 14.614 ms | 2 - 496 MB | NPU |
| NAFNet-DeNoise | ONNX | float | Snapdragon® 8 Elite For Galaxy Mobile | 17.782 ms | 8 - 457 MB | NPU |
| NAFNet-DeNoise | ONNX | float | Snapdragon® X2 Elite | 14.952 ms | 4 - 4 MB | NPU |
| NAFNet-DeNoise | ONNX | float | Snapdragon® X Elite | 31.135 ms | 228 - 228 MB | NPU |
| NAFNet-DeNoise | ONNX | float | Snapdragon® 8 Gen 3 Mobile | 22.352 ms | 2 - 797 MB | NPU |
| NAFNet-DeNoise | ONNX | float | Snapdragon® 8 Gen 1 Mobile | 48.674 ms | 3 - 706 MB | NPU |
| NAFNet-DeNoise | ONNX | float | Qualcomm® Dragonwing™ IQ-8275 | 41.003 ms | 2 - 7 MB | NPU |
| NAFNet-DeNoise | ONNX | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 30.514 ms | 2 - 6 MB | NPU |
| NAFNet-DeNoise | ONNX | float | Qualcomm® QCS8450 | 48.674 ms | 3 - 706 MB | NPU |
| NAFNet-DeNoise | ONNX | float | Qualcomm® Dragonwing™ IQ-9075 | 39.06 ms | 2 - 6 MB | NPU |
| NAFNet-DeNoise | ONNX | float | Qualcomm® Dragonwing™ IQ-X7181 | 31.135 ms | 228 - 228 MB | NPU |
| NAFNet-DeNoise | ONNX | float | Qualcomm® Dragonwing™ Q-8750 | 17.782 ms | 8 - 457 MB | NPU |
| NAFNet-DeNoise | ONNX | float | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 12.161 ms | 2 - 450 MB | NPU |
| NAFNet-DeNoise | ONNX | float | Snapdragon® 8 Elite Gen 6 Mobile | 16.102 ms | 2 - 413 MB | NPU |
| NAFNet-DeNoise | ONNX | w8a16 | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 10.498 ms | 1 - 510 MB | NPU |
| NAFNet-DeNoise | ONNX | w8a16 | Snapdragon® 8 Elite For Galaxy Mobile | 16.161 ms | 7 - 458 MB | NPU |
| NAFNet-DeNoise | ONNX | w8a16 | Snapdragon® X2 Elite | 11.747 ms | 1 - 1 MB | NPU |
| NAFNet-DeNoise | ONNX | w8a16 | Snapdragon® X Elite | 28.33 ms | 117 - 117 MB | NPU |
| NAFNet-DeNoise | ONNX | w8a16 | Snapdragon® 8 Gen 3 Mobile | 20.865 ms | 0 - 574 MB | NPU |
| NAFNet-DeNoise | ONNX | w8a16 | Snapdragon® 8 Gen 1 Mobile | 36.774 ms | 1 - 591 MB | NPU |
| NAFNet-DeNoise | ONNX | w8a16 | Qualcomm® Dragonwing™ QCS6490 | 87.375 ms | 2 - 5 MB | NPU |
| NAFNet-DeNoise | ONNX | w8a16 | Qualcomm® Dragonwing™ IQ-8275 | 26.81 ms | 2 - 6 MB | NPU |
| NAFNet-DeNoise | ONNX | w8a16 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 28.123 ms | 2 - 6 MB | NPU |
| NAFNet-DeNoise | ONNX | w8a16 | Qualcomm® QCS8450 | 36.774 ms | 1 - 591 MB | NPU |
| NAFNet-DeNoise | ONNX | w8a16 | Qualcomm® Dragonwing™ IQ-9075 | 27.961 ms | 2 - 5 MB | NPU |
| NAFNet-DeNoise | ONNX | w8a16 | Qualcomm® Dragonwing™ IQ-X7181 | 28.33 ms | 117 - 117 MB | NPU |
| NAFNet-DeNoise | ONNX | w8a16 | Qualcomm® Dragonwing™ Q-6690 | 243.295 ms | 1 - 674 MB | NPU |
| NAFNet-DeNoise | ONNX | w8a16 | Qualcomm® Dragonwing™ Q-7790 | 43.749 ms | 1 - 526 MB | NPU |
| NAFNet-DeNoise | ONNX | w8a16 | Qualcomm® Dragonwing™ Q-8750 | 16.161 ms | 7 - 458 MB | NPU |
| NAFNet-DeNoise | ONNX | w8a16 | Snapdragon® 7 Gen 4 Mobile | 43.749 ms | 1 - 526 MB | NPU |
| NAFNet-DeNoise | ONNX | w8a16 | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 7.606 ms | 1 - 505 MB | NPU |
| NAFNet-DeNoise | ONNX | w8a16 | Snapdragon® 8 Elite Gen 6 Mobile | 11.304 ms | 1 - 481 MB | NPU |
| NAFNet-DeNoise | QNN_DLC | w8a16 | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 11.207 ms | 0 - 493 MB | NPU |
| NAFNet-DeNoise | QNN_DLC | w8a16 | Snapdragon® 8 Elite For Galaxy Mobile | 15.688 ms | 6 - 468 MB | NPU |
| NAFNet-DeNoise | QNN_DLC | w8a16 | Snapdragon® X2 Elite | 12.914 ms | 0 - 0 MB | NPU |
| NAFNet-DeNoise | QNN_DLC | w8a16 | Snapdragon® X Elite | 28.611 ms | 0 - 0 MB | NPU |
| NAFNet-DeNoise | QNN_DLC | w8a16 | Snapdragon® 8 Gen 3 Mobile | 20.997 ms | 0 - 565 MB | NPU |
| NAFNet-DeNoise | QNN_DLC | w8a16 | Snapdragon® 8 Gen 1 Mobile | 38.193 ms | 0 - 578 MB | NPU |
| NAFNet-DeNoise | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ QCS6490 | 86.262 ms | 1 - 4 MB | NPU |
| NAFNet-DeNoise | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ IQ-8275 | 26.924 ms | 1 - 5 MB | NPU |
| NAFNet-DeNoise | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 28.213 ms | 0 - 3 MB | NPU |
| NAFNet-DeNoise | QNN_DLC | w8a16 | Qualcomm® SA8775P | 26.793 ms | 0 - 459 MB | NPU |
| NAFNet-DeNoise | QNN_DLC | w8a16 | Qualcomm® SA8650P | 26.793 ms | 0 - 459 MB | NPU |
| NAFNet-DeNoise | QNN_DLC | w8a16 | Qualcomm® SA8255P | 26.793 ms | 0 - 459 MB | NPU |
| NAFNet-DeNoise | QNN_DLC | w8a16 | Qualcomm® QCS8450 | 38.193 ms | 0 - 578 MB | NPU |
| NAFNet-DeNoise | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ IQ-9075 | 26.414 ms | 1 - 4 MB | NPU |
| NAFNet-DeNoise | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ IQ-X7181 | 28.611 ms | 0 - 0 MB | NPU |
| NAFNet-DeNoise | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ Q-6690 | 271.886 ms | 1 - 632 MB | NPU |
| NAFNet-DeNoise | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ Q-7790 | 47.858 ms | 0 - 551 MB | NPU |
| NAFNet-DeNoise | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ Q-8750 | 15.688 ms | 6 - 468 MB | NPU |
| NAFNet-DeNoise | QNN_DLC | w8a16 | Qualcomm® SA8295P | 36.331 ms | 1 - 460 MB | NPU |
| NAFNet-DeNoise | QNN_DLC | w8a16 | Snapdragon® 7 Gen 4 Mobile | 47.858 ms | 0 - 551 MB | NPU |
| NAFNet-DeNoise | QNN_DLC | w8a16 | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 7.607 ms | 0 - 511 MB | NPU |
| NAFNet-DeNoise | QNN_DLC | w8a16 | Snapdragon® 8 Elite Gen 6 Mobile | 8.599 ms | 0 - 458 MB | NPU |
License
- The license for the original implementation of NAFNet-DeNoise can be found here.
References
Community
- Join our AI Hub Slack community to collaborate, post questions and learn more about on-device AI.
- For questions or feedback please reach out to us.