NAFNet-DeBlur: Optimized for Qualcomm Devices
NAFNET is designed for lightweight real-time deblurring of images.
This is based on the implementation of NAFNet-DeBlur 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.50, ONNX Runtime 1.27.1 | Download |
| ONNX | w8a16 | Universal | QAIRT 2.50, ONNX Runtime 1.27.1 | Download |
| ONNX | w8a8 | Universal | QAIRT 2.50, ONNX Runtime 1.27.1 | Download |
| QNN_DLC | float | Universal | QAIRT 2.50 | Download |
| QNN_DLC | w8a16 | Universal | QAIRT 2.50 | Download |
| QNN_DLC | w8a8 | Universal | QAIRT 2.50 | Download |
| TFLITE | float | Universal | QAIRT 2.50 | Download |
| TFLITE | w8a8 | Universal | QAIRT 2.50 | Download |
For more device-specific assets and performance metrics, visit NAFNet-DeBlur 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-DeBlur on GitHub for usage instructions.
Model Details
Model Type: Model_use_case.image_editing
Model Stats:
- Input resolution: 360x640
- Model checkpoint: NAFNet-REDS-width64
- Model size (float): 271.55 MB
- Number of parameters: 67.89M
Performance Summary
| Model | Runtime | Precision | Chipset | Inference Time (ms) | Peak Memory Range (MB) | Primary Compute Unit |
|---|---|---|---|---|---|---|
| NAFNet-DeBlur | ONNX | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 45.571 ms | 8 - 693 MB | NPU |
| NAFNet-DeBlur | ONNX | float | Snapdragon® 8 Elite For Galaxy Mobile | 61.752 ms | 7 - 633 MB | NPU |
| NAFNet-DeBlur | ONNX | float | Snapdragon® X2 Elite | 48.473 ms | 8 - 8 MB | NPU |
| NAFNet-DeBlur | ONNX | float | Snapdragon® X Elite | 105.088 ms | 138 - 138 MB | NPU |
| NAFNet-DeBlur | ONNX | float | Snapdragon® 8 Gen 3 Mobile | 87.548 ms | 9 - 971 MB | NPU |
| NAFNet-DeBlur | ONNX | float | Snapdragon® 8 Gen 1 Mobile | 166.001 ms | 9 - 797 MB | NPU |
| NAFNet-DeBlur | ONNX | float | Qualcomm® Dragonwing™ IQ-8275 | 147.051 ms | 6 - 12 MB | NPU |
| NAFNet-DeBlur | ONNX | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 102.862 ms | 0 - 160 MB | NPU |
| NAFNet-DeBlur | ONNX | float | Qualcomm® QCS8450 | 166.001 ms | 9 - 797 MB | NPU |
| NAFNet-DeBlur | ONNX | float | Qualcomm® Dragonwing™ IQ-9075 | 133.266 ms | 7 - 13 MB | NPU |
| NAFNet-DeBlur | ONNX | float | Qualcomm® Dragonwing™ IQ-X7181 | 105.088 ms | 138 - 138 MB | NPU |
| NAFNet-DeBlur | ONNX | float | Qualcomm® Dragonwing™ Q-8750 | 61.752 ms | 7 - 633 MB | NPU |
| NAFNet-DeBlur | ONNX | w8a16 | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 35.655 ms | 2 - 590 MB | NPU |
| NAFNet-DeBlur | ONNX | w8a16 | Snapdragon® 8 Elite For Galaxy Mobile | 58.505 ms | 4 - 602 MB | NPU |
| NAFNet-DeBlur | ONNX | w8a16 | Snapdragon® X2 Elite | 41.33 ms | 5 - 5 MB | NPU |
| NAFNet-DeBlur | ONNX | w8a16 | Snapdragon® X Elite | 78.77 ms | 73 - 73 MB | NPU |
| NAFNet-DeBlur | ONNX | w8a16 | Snapdragon® 8 Gen 3 Mobile | 57.06 ms | 4 - 853 MB | NPU |
| NAFNet-DeBlur | ONNX | w8a16 | Snapdragon® 8 Gen 1 Mobile | 103.898 ms | 5 - 889 MB | NPU |
| NAFNet-DeBlur | ONNX | w8a16 | Qualcomm® Dragonwing™ QCS6490 | 334.032 ms | 3 - 7 MB | NPU |
| NAFNet-DeBlur | ONNX | w8a16 | Qualcomm® Dragonwing™ IQ-8275 | 74.723 ms | 3 - 8 MB | NPU |
| NAFNet-DeBlur | ONNX | w8a16 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 76.726 ms | 0 - 1084 MB | NPU |
| NAFNet-DeBlur | ONNX | w8a16 | Qualcomm® QCS8450 | 103.898 ms | 5 - 889 MB | NPU |
| NAFNet-DeBlur | ONNX | w8a16 | Qualcomm® Dragonwing™ IQ-9075 | 75.558 ms | 3 - 7 MB | NPU |
| NAFNet-DeBlur | ONNX | w8a16 | Qualcomm® Dragonwing™ IQ-X7181 | 78.77 ms | 73 - 73 MB | NPU |
| NAFNet-DeBlur | ONNX | w8a16 | Qualcomm® Dragonwing™ Q-6690 | 1312.466 ms | 0 - 1086 MB | NPU |
| NAFNet-DeBlur | ONNX | w8a16 | Qualcomm® Dragonwing™ Q-7790 | 138.598 ms | 4 - 860 MB | NPU |
| NAFNet-DeBlur | ONNX | w8a16 | Qualcomm® Dragonwing™ Q-8750 | 58.505 ms | 4 - 602 MB | NPU |
| NAFNet-DeBlur | ONNX | w8a16 | Snapdragon® 7 Gen 4 Mobile | 138.598 ms | 4 - 860 MB | NPU |
| NAFNet-DeBlur | ONNX | w8a8 | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 16.415 ms | 0 - 563 MB | NPU |
| NAFNet-DeBlur | ONNX | w8a8 | Snapdragon® 8 Elite For Galaxy Mobile | 26.03 ms | 2 - 450 MB | NPU |
| NAFNet-DeBlur | ONNX | w8a8 | Snapdragon® X2 Elite | 15.868 ms | 4 - 4 MB | NPU |
| NAFNet-DeBlur | ONNX | w8a8 | Snapdragon® X Elite | 43.312 ms | 73 - 73 MB | NPU |
| NAFNet-DeBlur | ONNX | w8a8 | Snapdragon® 8 Gen 3 Mobile | 28.436 ms | 0 - 711 MB | NPU |
| NAFNet-DeBlur | ONNX | w8a8 | Snapdragon® 8 Gen 1 Mobile | 62.276 ms | 0 - 735 MB | NPU |
| NAFNet-DeBlur | ONNX | w8a8 | Qualcomm® Dragonwing™ QCS6490 | 158.701 ms | 1 - 5 MB | NPU |
| NAFNet-DeBlur | ONNX | w8a8 | Qualcomm® Dragonwing™ IQ-8275 | 36.585 ms | 1 - 6 MB | NPU |
| NAFNet-DeBlur | ONNX | w8a8 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 41.893 ms | 0 - 82 MB | NPU |
| NAFNet-DeBlur | ONNX | w8a8 | Qualcomm® QCS8450 | 62.276 ms | 0 - 735 MB | NPU |
| NAFNet-DeBlur | ONNX | w8a8 | Qualcomm® Dragonwing™ IQ-9075 | 41.436 ms | 1 - 5 MB | NPU |
| NAFNet-DeBlur | ONNX | w8a8 | Qualcomm® Dragonwing™ IQ-X7181 | 43.312 ms | 73 - 73 MB | NPU |
| NAFNet-DeBlur | ONNX | w8a8 | Qualcomm® Dragonwing™ Q-6690 | 640.284 ms | 0 - 762 MB | NPU |
| NAFNet-DeBlur | ONNX | w8a8 | Qualcomm® Dragonwing™ Q-7790 | 55.605 ms | 2 - 640 MB | NPU |
| NAFNet-DeBlur | ONNX | w8a8 | Qualcomm® Dragonwing™ Q-8750 | 26.03 ms | 2 - 450 MB | NPU |
| NAFNet-DeBlur | ONNX | w8a8 | Snapdragon® 7 Gen 4 Mobile | 55.605 ms | 2 - 640 MB | NPU |
| NAFNet-DeBlur | QNN_DLC | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 46.143 ms | 3 - 776 MB | NPU |
| NAFNet-DeBlur | QNN_DLC | float | Snapdragon® 8 Elite For Galaxy Mobile | 58.197 ms | 0 - 657 MB | NPU |
| NAFNet-DeBlur | QNN_DLC | float | Snapdragon® X2 Elite | 46.907 ms | 3 - 3 MB | NPU |
| NAFNet-DeBlur | QNN_DLC | float | Snapdragon® X Elite | 108.738 ms | 3 - 3 MB | NPU |
| NAFNet-DeBlur | QNN_DLC | float | Snapdragon® 8 Gen 3 Mobile | 77.883 ms | 3 - 878 MB | NPU |
| NAFNet-DeBlur | QNN_DLC | float | Snapdragon® 8 Gen 1 Mobile | 154.949 ms | 2 - 709 MB | NPU |
| NAFNet-DeBlur | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-8275 | 144.466 ms | 3 - 11 MB | NPU |
| NAFNet-DeBlur | QNN_DLC | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 107.091 ms | 3 - 5 MB | NPU |
| NAFNet-DeBlur | QNN_DLC | float | Qualcomm® QCS8450 | 154.949 ms | 2 - 709 MB | NPU |
| NAFNet-DeBlur | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-9075 | 132.67 ms | 3 - 10 MB | NPU |
| NAFNet-DeBlur | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-X7181 | 108.738 ms | 3 - 3 MB | NPU |
| NAFNet-DeBlur | QNN_DLC | float | Qualcomm® Dragonwing™ Q-8750 | 58.197 ms | 0 - 657 MB | NPU |
| NAFNet-DeBlur | QNN_DLC | float | Qualcomm® SA8295P | 144.771 ms | 0 - 457 MB | NPU |
| NAFNet-DeBlur | QNN_DLC | w8a16 | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 34.406 ms | 1 - 566 MB | NPU |
| NAFNet-DeBlur | QNN_DLC | w8a16 | Snapdragon® 8 Elite For Galaxy Mobile | 59.885 ms | 1 - 583 MB | NPU |
| NAFNet-DeBlur | QNN_DLC | w8a16 | Snapdragon® X2 Elite | 41.684 ms | 1 - 1 MB | NPU |
| NAFNet-DeBlur | QNN_DLC | w8a16 | Snapdragon® X Elite | 78.051 ms | 1 - 1 MB | NPU |
| NAFNet-DeBlur | QNN_DLC | w8a16 | Snapdragon® 8 Gen 3 Mobile | 55.474 ms | 1 - 811 MB | NPU |
| NAFNet-DeBlur | QNN_DLC | w8a16 | Snapdragon® 8 Gen 1 Mobile | 103.947 ms | 1 - 818 MB | NPU |
| NAFNet-DeBlur | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ QCS6490 | 330.653 ms | 1 - 6 MB | NPU |
| NAFNet-DeBlur | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ IQ-8275 | 72.021 ms | 1 - 7 MB | NPU |
| NAFNet-DeBlur | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 76.42 ms | 1 - 740 MB | NPU |
| NAFNet-DeBlur | QNN_DLC | w8a16 | Qualcomm® SA8650P | 74.818 ms | 2 - 579 MB | NPU |
| NAFNet-DeBlur | QNN_DLC | w8a16 | Qualcomm® SA8255P | 74.818 ms | 2 - 579 MB | NPU |
| NAFNet-DeBlur | QNN_DLC | w8a16 | Qualcomm® QCS8450 | 103.947 ms | 1 - 818 MB | NPU |
| NAFNet-DeBlur | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ IQ-9075 | 74.311 ms | 1 - 6 MB | NPU |
| NAFNet-DeBlur | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ IQ-X7181 | 78.051 ms | 1 - 1 MB | NPU |
| NAFNet-DeBlur | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ Q-6690 | 1315.097 ms | 2 - 1055 MB | NPU |
| NAFNet-DeBlur | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ Q-7790 | 119.616 ms | 1 - 763 MB | NPU |
| NAFNet-DeBlur | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ Q-8750 | 59.885 ms | 1 - 583 MB | NPU |
| NAFNet-DeBlur | QNN_DLC | w8a16 | Qualcomm® SA8295P | 102.282 ms | 2 - 578 MB | NPU |
| NAFNet-DeBlur | QNN_DLC | w8a16 | Snapdragon® 7 Gen 4 Mobile | 119.616 ms | 1 - 763 MB | NPU |
| NAFNet-DeBlur | QNN_DLC | w8a8 | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 16.157 ms | 1 - 525 MB | NPU |
| NAFNet-DeBlur | QNN_DLC | w8a8 | Snapdragon® 8 Elite For Galaxy Mobile | 20.319 ms | 1 - 445 MB | NPU |
| NAFNet-DeBlur | QNN_DLC | w8a8 | Snapdragon® X2 Elite | 16.811 ms | 1 - 1 MB | NPU |
| NAFNet-DeBlur | QNN_DLC | w8a8 | Snapdragon® X Elite | 43.69 ms | 1 - 1 MB | NPU |
| NAFNet-DeBlur | QNN_DLC | w8a8 | Snapdragon® 8 Gen 3 Mobile | 28.123 ms | 1 - 687 MB | NPU |
| NAFNet-DeBlur | QNN_DLC | w8a8 | Snapdragon® 8 Gen 1 Mobile | 62.904 ms | 1 - 711 MB | NPU |
| NAFNet-DeBlur | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ QCS6490 | 150.731 ms | 1 - 4 MB | NPU |
| NAFNet-DeBlur | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ IQ-8275 | 36.261 ms | 1 - 5 MB | NPU |
| NAFNet-DeBlur | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 42.053 ms | 1 - 3 MB | NPU |
| NAFNet-DeBlur | QNN_DLC | w8a8 | Qualcomm® SA8775P | 40.856 ms | 1 - 509 MB | NPU |
| NAFNet-DeBlur | QNN_DLC | w8a8 | Qualcomm® SA8650P | 40.856 ms | 1 - 509 MB | NPU |
| NAFNet-DeBlur | QNN_DLC | w8a8 | Qualcomm® SA8255P | 40.856 ms | 1 - 509 MB | NPU |
| NAFNet-DeBlur | QNN_DLC | w8a8 | Qualcomm® QCS8450 | 62.904 ms | 1 - 711 MB | NPU |
| NAFNet-DeBlur | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ IQ-9075 | 41.228 ms | 1 - 4 MB | NPU |
| NAFNet-DeBlur | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ IQ-X7181 | 43.69 ms | 1 - 1 MB | NPU |
| NAFNet-DeBlur | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ Q-6690 | 498.273 ms | 1 - 743 MB | NPU |
| NAFNet-DeBlur | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ Q-7790 | 52.017 ms | 1 - 588 MB | NPU |
| NAFNet-DeBlur | QNN_DLC | w8a8 | Qualcomm® Dragonwing™ Q-8750 | 20.319 ms | 1 - 445 MB | NPU |
| NAFNet-DeBlur | QNN_DLC | w8a8 | Qualcomm® SA8295P | 58.436 ms | 1 - 509 MB | NPU |
| NAFNet-DeBlur | QNN_DLC | w8a8 | Snapdragon® 7 Gen 4 Mobile | 52.017 ms | 1 - 588 MB | NPU |
| NAFNet-DeBlur | TFLITE | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 45.937 ms | 2 - 862 MB | NPU |
| NAFNet-DeBlur | TFLITE | float | Snapdragon® 8 Elite For Galaxy Mobile | 58.837 ms | 1 - 747 MB | NPU |
| NAFNet-DeBlur | TFLITE | float | Snapdragon® 8 Gen 3 Mobile | 78.528 ms | 2 - 971 MB | NPU |
| NAFNet-DeBlur | TFLITE | float | Snapdragon® 8 Gen 1 Mobile | 154.773 ms | 3 - 808 MB | NPU |
| NAFNet-DeBlur | TFLITE | float | Qualcomm® Dragonwing™ IQ-8275 | 144.611 ms | 3 - 142 MB | NPU |
| NAFNet-DeBlur | TFLITE | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 106.809 ms | 3 - 7 MB | NPU |
| NAFNet-DeBlur | TFLITE | float | Qualcomm® SA8775P | 954.379 ms | 2 - 45 MB | GPU |
| NAFNet-DeBlur | TFLITE | float | Qualcomm® SA8650P | 954.379 ms | 2 - 45 MB | GPU |
| NAFNet-DeBlur | TFLITE | float | Qualcomm® SA8255P | 954.379 ms | 2 - 45 MB | GPU |
| NAFNet-DeBlur | TFLITE | float | Qualcomm® QCS8450 | 154.773 ms | 3 - 808 MB | NPU |
| NAFNet-DeBlur | TFLITE | float | Qualcomm® Dragonwing™ IQ-9075 | 130.988 ms | 2 - 141 MB | NPU |
| NAFNet-DeBlur | TFLITE | float | Qualcomm® Dragonwing™ Q-8750 | 58.837 ms | 1 - 747 MB | NPU |
| NAFNet-DeBlur | TFLITE | float | Qualcomm® SA7255P | 2444.875 ms | 0 - 44 MB | GPU |
| NAFNet-DeBlur | TFLITE | float | Qualcomm® SA8295P | 144.886 ms | 3 - 555 MB | NPU |
| NAFNet-DeBlur | TFLITE | w8a8 | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 26.11 ms | 1 - 705 MB | NPU |
| NAFNet-DeBlur | TFLITE | w8a8 | Snapdragon® 8 Elite For Galaxy Mobile | 39.784 ms | 1 - 532 MB | NPU |
| NAFNet-DeBlur | TFLITE | w8a8 | Snapdragon® 8 Gen 3 Mobile | 55.864 ms | 0 - 776 MB | NPU |
| NAFNet-DeBlur | TFLITE | w8a8 | Snapdragon® 8 Gen 1 Mobile | 105.998 ms | 1 - 818 MB | NPU |
| NAFNet-DeBlur | TFLITE | w8a8 | Qualcomm® Dragonwing™ IQ-8275 | 74.006 ms | 1 - 78 MB | NPU |
| NAFNet-DeBlur | TFLITE | w8a8 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 78.497 ms | 1 - 10 MB | NPU |
| NAFNet-DeBlur | TFLITE | w8a8 | Qualcomm® SA8775P | 80.367 ms | 1 - 559 MB | NPU |
| NAFNet-DeBlur | TFLITE | w8a8 | Qualcomm® SA8650P | 80.367 ms | 1 - 559 MB | NPU |
| NAFNet-DeBlur | TFLITE | w8a8 | Qualcomm® SA8255P | 80.367 ms | 1 - 559 MB | NPU |
| NAFNet-DeBlur | TFLITE | w8a8 | Qualcomm® QCS8450 | 105.998 ms | 1 - 818 MB | NPU |
| NAFNet-DeBlur | TFLITE | w8a8 | Qualcomm® Dragonwing™ IQ-9075 | 79.752 ms | 0 - 77 MB | NPU |
| NAFNet-DeBlur | TFLITE | w8a8 | Qualcomm® Dragonwing™ Q-7790 | 859.786 ms | 133 - 508 MB | NPU |
| NAFNet-DeBlur | TFLITE | w8a8 | Qualcomm® Dragonwing™ Q-8750 | 39.784 ms | 1 - 532 MB | NPU |
| NAFNet-DeBlur | TFLITE | w8a8 | Qualcomm® SA7255P | 2481.052 ms | 3 - 50 MB | GPU |
| NAFNet-DeBlur | TFLITE | w8a8 | Qualcomm® SA8295P | 101.991 ms | 1 - 560 MB | NPU |
| NAFNet-DeBlur | TFLITE | w8a8 | Snapdragon® 7 Gen 4 Mobile | 859.786 ms | 133 - 508 MB | NPU |
License
- The license for the original implementation of NAFNet-DeBlur 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.
