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.45, ONNX Runtime 1.27.1 | Download |
| ONNX | w8a16 | Universal | QAIRT 2.45, ONNX Runtime 1.27.1 | Download |
| QNN_DLC | float | Universal | QAIRT 2.45 | Download |
| QNN_DLC | w8a16 | Universal | QAIRT 2.45 | Download |
| TFLITE | float | Universal | QAIRT 2.45 | 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® X2 Elite | 14.908 ms | 4 - 4 MB | NPU |
| NAFNet-DeNoise | ONNX | float | Snapdragon® X Elite | 33.93 ms | 228 - 228 MB | NPU |
| NAFNet-DeNoise | ONNX | float | Snapdragon® 8 Gen 3 Mobile | 27.674 ms | 2 - 850 MB | NPU |
| NAFNet-DeNoise | ONNX | float | Snapdragon® 8 Gen 1 Mobile | 62.218 ms | 3 - 722 MB | NPU |
| NAFNet-DeNoise | ONNX | float | Qualcomm® Dragonwing™ IQ-8275 | 45.779 ms | 2 - 6 MB | NPU |
| NAFNet-DeNoise | ONNX | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 35.093 ms | 0 - 258 MB | NPU |
| NAFNet-DeNoise | ONNX | float | Qualcomm® QCS8450 | 62.218 ms | 3 - 722 MB | NPU |
| NAFNet-DeNoise | ONNX | float | Qualcomm® Dragonwing™ IQ-9075 | 42.77 ms | 2 - 5 MB | NPU |
| NAFNet-DeNoise | ONNX | float | Qualcomm® Dragonwing™ IQ-X7181 | 33.93 ms | 228 - 228 MB | NPU |
| NAFNet-DeNoise | ONNX | float | Qualcomm® Dragonwing™ Q-8750 | 20.144 ms | 2 - 502 MB | NPU |
| NAFNet-DeNoise | ONNX | float | Snapdragon® 8 Elite Mobile | 20.144 ms | 2 - 502 MB | NPU |
| NAFNet-DeNoise | ONNX | float | Snapdragon® 8 Elite Gen 5 Mobile | 14.475 ms | 2 - 539 MB | NPU |
| NAFNet-DeNoise | ONNX | w8a16 | Snapdragon® X2 Elite | 11.778 ms | 1 - 1 MB | NPU |
| NAFNet-DeNoise | ONNX | w8a16 | Snapdragon® X Elite | 28.53 ms | 118 - 118 MB | NPU |
| NAFNet-DeNoise | ONNX | w8a16 | Snapdragon® 8 Gen 3 Mobile | 20.69 ms | 0 - 594 MB | NPU |
| NAFNet-DeNoise | ONNX | w8a16 | Snapdragon® 8 Gen 1 Mobile | 45.173 ms | 1 - 612 MB | NPU |
| NAFNet-DeNoise | ONNX | w8a16 | Qualcomm® Dragonwing™ QCS6490 | 132.744 ms | 1 - 4 MB | NPU |
| NAFNet-DeNoise | ONNX | w8a16 | Qualcomm® Dragonwing™ IQ-8275 | 26.838 ms | 1 - 5 MB | NPU |
| NAFNet-DeNoise | ONNX | w8a16 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 28.281 ms | 0 - 131 MB | NPU |
| NAFNet-DeNoise | ONNX | w8a16 | Qualcomm® QCS8450 | 45.173 ms | 1 - 612 MB | NPU |
| NAFNet-DeNoise | ONNX | w8a16 | Qualcomm® Dragonwing™ IQ-9075 | 28.049 ms | 1 - 4 MB | NPU |
| NAFNet-DeNoise | ONNX | w8a16 | Qualcomm® Dragonwing™ IQ-X7181 | 28.53 ms | 118 - 118 MB | NPU |
| NAFNet-DeNoise | ONNX | w8a16 | Qualcomm® Dragonwing™ Q-6690 | 266.658 ms | 0 - 870 MB | NPU |
| NAFNet-DeNoise | ONNX | w8a16 | Qualcomm® Dragonwing™ Q-7790 | 33.911 ms | 1 - 589 MB | NPU |
| NAFNet-DeNoise | ONNX | w8a16 | Qualcomm® Dragonwing™ Q-8750 | 16.334 ms | 1 - 470 MB | NPU |
| NAFNet-DeNoise | ONNX | w8a16 | Snapdragon® 8 Elite Mobile | 16.334 ms | 1 - 470 MB | NPU |
| NAFNet-DeNoise | ONNX | w8a16 | Snapdragon® 8 Elite Gen 5 Mobile | 11.259 ms | 1 - 547 MB | NPU |
| NAFNet-DeNoise | ONNX | w8a16 | Snapdragon® 7 Gen 4 Mobile | 33.911 ms | 1 - 589 MB | NPU |
| NAFNet-DeNoise | QNN_DLC | float | Snapdragon® X2 Elite | 15.592 ms | 1 - 1 MB | NPU |
| NAFNet-DeNoise | QNN_DLC | float | Snapdragon® X Elite | 35.784 ms | 1 - 1 MB | NPU |
| NAFNet-DeNoise | QNN_DLC | float | Snapdragon® 8 Gen 3 Mobile | 28.314 ms | 0 - 890 MB | NPU |
| NAFNet-DeNoise | QNN_DLC | float | Snapdragon® 8 Gen 1 Mobile | 61.05 ms | 0 - 729 MB | NPU |
| NAFNet-DeNoise | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-8275 | 47.424 ms | 1 - 5 MB | NPU |
| NAFNet-DeNoise | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-8275 | 135.955 ms | 1 - 546 MB | NPU |
| NAFNet-DeNoise | QNN_DLC | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 38.357 ms | 1 - 16 MB | NPU |
| NAFNet-DeNoise | QNN_DLC | float | Qualcomm® SA8775P | 43.559 ms | 1 - 558 MB | NPU |
| NAFNet-DeNoise | QNN_DLC | float | Qualcomm® SA8650P | 43.559 ms | 1 - 558 MB | NPU |
| NAFNet-DeNoise | QNN_DLC | float | Qualcomm® SA8255P | 43.559 ms | 1 - 558 MB | NPU |
| NAFNet-DeNoise | QNN_DLC | float | Qualcomm® QCS8450 | 61.05 ms | 0 - 729 MB | NPU |
| NAFNet-DeNoise | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-9075 | 50.771 ms | 1 - 4 MB | NPU |
| NAFNet-DeNoise | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-X7181 | 35.784 ms | 1 - 1 MB | NPU |
| NAFNet-DeNoise | QNN_DLC | float | Qualcomm® Dragonwing™ Q-8750 | 20.318 ms | 1 - 542 MB | NPU |
| NAFNet-DeNoise | QNN_DLC | float | Qualcomm® SA7255P | 135.955 ms | 1 - 546 MB | NPU |
| NAFNet-DeNoise | QNN_DLC | float | Qualcomm® SA8295P | 48.02 ms | 1 - 398 MB | NPU |
| NAFNet-DeNoise | QNN_DLC | float | Snapdragon® 8 Elite Mobile | 20.318 ms | 1 - 542 MB | NPU |
| NAFNet-DeNoise | QNN_DLC | float | Snapdragon® 8 Elite Gen 5 Mobile | 14.733 ms | 0 - 622 MB | NPU |
| NAFNet-DeNoise | QNN_DLC | w8a16 | Snapdragon® X2 Elite | 13.258 ms | 0 - 0 MB | NPU |
| NAFNet-DeNoise | QNN_DLC | w8a16 | Snapdragon® X Elite | 28.828 ms | 0 - 0 MB | NPU |
| NAFNet-DeNoise | QNN_DLC | w8a16 | Snapdragon® 8 Gen 3 Mobile | 20.829 ms | 0 - 583 MB | NPU |
| NAFNet-DeNoise | QNN_DLC | w8a16 | Snapdragon® 8 Gen 1 Mobile | 46.392 ms | 0 - 594 MB | NPU |
| NAFNet-DeNoise | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ QCS6490 | 130.624 ms | 0 - 3 MB | NPU |
| NAFNet-DeNoise | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ IQ-8275 | 26.768 ms | 0 - 3 MB | NPU |
| NAFNet-DeNoise | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ IQ-8275 | 57.588 ms | 1 - 477 MB | NPU |
| NAFNet-DeNoise | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 28.637 ms | 1 - 525 MB | NPU |
| NAFNet-DeNoise | QNN_DLC | w8a16 | Qualcomm® SA8775P | 28.072 ms | 0 - 476 MB | NPU |
| NAFNet-DeNoise | QNN_DLC | w8a16 | Qualcomm® SA8650P | 28.072 ms | 0 - 476 MB | NPU |
| NAFNet-DeNoise | QNN_DLC | w8a16 | Qualcomm® SA8255P | 28.072 ms | 0 - 476 MB | NPU |
| NAFNet-DeNoise | QNN_DLC | w8a16 | Qualcomm® QCS8450 | 46.392 ms | 0 - 594 MB | NPU |
| NAFNet-DeNoise | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ IQ-9075 | 28.202 ms | 0 - 3 MB | NPU |
| NAFNet-DeNoise | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ IQ-X7181 | 28.828 ms | 0 - 0 MB | NPU |
| NAFNet-DeNoise | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ Q-6690 | 383.415 ms | 1 - 919 MB | NPU |
| NAFNet-DeNoise | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ Q-7790 | 48.499 ms | 0 - 629 MB | NPU |
| NAFNet-DeNoise | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ Q-8750 | 16.342 ms | 0 - 479 MB | NPU |
| NAFNet-DeNoise | QNN_DLC | w8a16 | Qualcomm® SA7255P | 57.588 ms | 1 - 477 MB | NPU |
| NAFNet-DeNoise | QNN_DLC | w8a16 | Qualcomm® SA8295P | 36.84 ms | 1 - 474 MB | NPU |
| NAFNet-DeNoise | QNN_DLC | w8a16 | Snapdragon® 8 Elite Mobile | 16.342 ms | 0 - 479 MB | NPU |
| NAFNet-DeNoise | QNN_DLC | w8a16 | Snapdragon® 8 Elite Gen 5 Mobile | 11.475 ms | 0 - 520 MB | NPU |
| NAFNet-DeNoise | QNN_DLC | w8a16 | Snapdragon® 7 Gen 4 Mobile | 48.499 ms | 0 - 629 MB | NPU |
| NAFNet-DeNoise | TFLITE | float | Snapdragon® 8 Gen 3 Mobile | 28.84 ms | 0 - 1120 MB | NPU |
| NAFNet-DeNoise | TFLITE | float | Snapdragon® 8 Gen 1 Mobile | 64.184 ms | 1 - 961 MB | NPU |
| NAFNet-DeNoise | TFLITE | float | Qualcomm® Dragonwing™ IQ-8275 | 48.276 ms | 1 - 234 MB | NPU |
| NAFNet-DeNoise | TFLITE | float | Qualcomm® Dragonwing™ IQ-8275 | 136.565 ms | 1 - 764 MB | NPU |
| NAFNet-DeNoise | TFLITE | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 36.542 ms | 1 - 4 MB | NPU |
| NAFNet-DeNoise | TFLITE | float | Qualcomm® SA8775P | 43.698 ms | 1 - 777 MB | NPU |
| NAFNet-DeNoise | TFLITE | float | Qualcomm® SA8650P | 43.698 ms | 1 - 777 MB | NPU |
| NAFNet-DeNoise | TFLITE | float | Qualcomm® SA8255P | 43.698 ms | 1 - 777 MB | NPU |
| NAFNet-DeNoise | TFLITE | float | Qualcomm® QCS8450 | 64.184 ms | 1 - 961 MB | NPU |
| NAFNet-DeNoise | TFLITE | float | Qualcomm® Dragonwing™ IQ-9075 | 44.022 ms | 1 - 233 MB | NPU |
| NAFNet-DeNoise | TFLITE | float | Qualcomm® Dragonwing™ Q-8750 | 20.349 ms | 1 - 765 MB | NPU |
| NAFNet-DeNoise | TFLITE | float | Qualcomm® SA7255P | 136.565 ms | 1 - 764 MB | NPU |
| NAFNet-DeNoise | TFLITE | float | Qualcomm® SA8295P | 50.78 ms | 1 - 629 MB | NPU |
| NAFNet-DeNoise | TFLITE | float | Snapdragon® 8 Elite Mobile | 20.349 ms | 1 - 765 MB | NPU |
| NAFNet-DeNoise | TFLITE | float | Snapdragon® 8 Elite Gen 5 Mobile | 14.816 ms | 1 - 849 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.
