Image-to-Image
PyTorch
android

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.45, ONNX Runtime 1.27.1 Download
ONNX w8a16 Universal QAIRT 2.45, ONNX Runtime 1.27.1 Download
ONNX w8a8 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
QNN_DLC w8a8 Universal QAIRT 2.45 Download
TFLITE float Universal QAIRT 2.45 Download
TFLITE w8a8 Universal QAIRT 2.45 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® X2 Elite 47.566 ms 11 - 11 MB NPU
NAFNet-DeBlur ONNX float Snapdragon® X Elite 113.344 ms 142 - 142 MB NPU
NAFNet-DeBlur ONNX float Snapdragon® 8 Gen 3 Mobile 82.045 ms 0 - 1198 MB NPU
NAFNet-DeBlur ONNX float Snapdragon® 8 Gen 1 Mobile 186.905 ms 10 - 863 MB NPU
NAFNet-DeBlur ONNX float Qualcomm® Dragonwing™ IQ-8275 155.433 ms 6 - 12 MB NPU
NAFNet-DeBlur ONNX float Qualcomm® Dragonwing™ QCS8550 (Proxy) 113.109 ms 0 - 161 MB NPU
NAFNet-DeBlur ONNX float Qualcomm® QCS8450 186.905 ms 10 - 863 MB NPU
NAFNet-DeBlur ONNX float Qualcomm® Dragonwing™ IQ-9075 142.197 ms 8 - 13 MB NPU
NAFNet-DeBlur ONNX float Qualcomm® Dragonwing™ IQ-X7181 113.344 ms 142 - 142 MB NPU
NAFNet-DeBlur ONNX float Qualcomm® Dragonwing™ Q-8750 63.649 ms 6 - 937 MB NPU
NAFNet-DeBlur ONNX float Snapdragon® 8 Elite Mobile 63.649 ms 6 - 937 MB NPU
NAFNet-DeBlur ONNX float Snapdragon® 8 Elite Gen 5 Mobile 45.061 ms 6 - 994 MB NPU
NAFNet-DeBlur ONNX w8a16 Snapdragon® X2 Elite 40.631 ms 5 - 5 MB NPU
NAFNet-DeBlur ONNX w8a16 Snapdragon® X Elite 80.454 ms 73 - 73 MB NPU
NAFNet-DeBlur ONNX w8a16 Snapdragon® 8 Gen 3 Mobile 58.203 ms 4 - 887 MB NPU
NAFNet-DeBlur ONNX w8a16 Snapdragon® 8 Gen 1 Mobile 128.52 ms 5 - 956 MB NPU
NAFNet-DeBlur ONNX w8a16 Qualcomm® Dragonwing™ QCS6490 461.226 ms 3 - 7 MB NPU
NAFNet-DeBlur ONNX w8a16 Qualcomm® Dragonwing™ IQ-8275 76.825 ms 3 - 8 MB NPU
NAFNet-DeBlur ONNX w8a16 Qualcomm® Dragonwing™ QCS8550 (Proxy) 78.265 ms 0 - 123 MB NPU
NAFNet-DeBlur ONNX w8a16 Qualcomm® QCS8450 128.52 ms 5 - 956 MB NPU
NAFNet-DeBlur ONNX w8a16 Qualcomm® Dragonwing™ IQ-9075 76.679 ms 3 - 7 MB NPU
NAFNet-DeBlur ONNX w8a16 Qualcomm® Dragonwing™ IQ-X7181 80.454 ms 73 - 73 MB NPU
NAFNet-DeBlur ONNX w8a16 Qualcomm® Dragonwing™ Q-6690 1338.124 ms 0 - 1467 MB NPU
NAFNet-DeBlur ONNX w8a16 Qualcomm® Dragonwing™ Q-7790 124.401 ms 6 - 828 MB NPU
NAFNet-DeBlur ONNX w8a16 Qualcomm® Dragonwing™ Q-8750 49.842 ms 4 - 595 MB NPU
NAFNet-DeBlur ONNX w8a16 Snapdragon® 8 Elite Mobile 49.842 ms 4 - 595 MB NPU
NAFNet-DeBlur ONNX w8a16 Snapdragon® 8 Elite Gen 5 Mobile 36.365 ms 2 - 667 MB NPU
NAFNet-DeBlur ONNX w8a16 Snapdragon® 7 Gen 4 Mobile 124.401 ms 6 - 828 MB NPU
NAFNet-DeBlur ONNX w8a8 Snapdragon® X2 Elite 18.404 ms 4 - 4 MB NPU
NAFNet-DeBlur ONNX w8a8 Snapdragon® X Elite 43.484 ms 73 - 73 MB NPU
NAFNet-DeBlur ONNX w8a8 Snapdragon® 8 Gen 3 Mobile 28.429 ms 2 - 752 MB NPU
NAFNet-DeBlur ONNX w8a8 Snapdragon® 8 Gen 1 Mobile 84.28 ms 0 - 760 MB NPU
NAFNet-DeBlur ONNX w8a8 Qualcomm® Dragonwing™ QCS6490 218.19 ms 1 - 5 MB NPU
NAFNet-DeBlur ONNX w8a8 Qualcomm® Dragonwing™ IQ-8275 37.192 ms 1 - 6 MB NPU
NAFNet-DeBlur ONNX w8a8 Qualcomm® Dragonwing™ QCS8550 (Proxy) 41.63 ms 0 - 83 MB NPU
NAFNet-DeBlur ONNX w8a8 Qualcomm® QCS8450 84.28 ms 0 - 760 MB NPU
NAFNet-DeBlur ONNX w8a8 Qualcomm® Dragonwing™ IQ-9075 41.161 ms 1 - 5 MB NPU
NAFNet-DeBlur ONNX w8a8 Qualcomm® Dragonwing™ IQ-X7181 43.484 ms 73 - 73 MB NPU
NAFNet-DeBlur ONNX w8a8 Qualcomm® Dragonwing™ Q-6690 512.608 ms 0 - 900 MB NPU
NAFNet-DeBlur ONNX w8a8 Qualcomm® Dragonwing™ Q-7790 55.744 ms 2 - 702 MB NPU
NAFNet-DeBlur ONNX w8a8 Qualcomm® Dragonwing™ Q-8750 25.6 ms 3 - 474 MB NPU
NAFNet-DeBlur ONNX w8a8 Snapdragon® 8 Elite Mobile 25.6 ms 3 - 474 MB NPU
NAFNet-DeBlur ONNX w8a8 Snapdragon® 8 Elite Gen 5 Mobile 17.868 ms 0 - 603 MB NPU
NAFNet-DeBlur ONNX w8a8 Snapdragon® 7 Gen 4 Mobile 55.744 ms 2 - 702 MB NPU
NAFNet-DeBlur QNN_DLC float Snapdragon® X2 Elite 47.555 ms 3 - 3 MB NPU
NAFNet-DeBlur QNN_DLC float Snapdragon® X Elite 112.198 ms 3 - 3 MB NPU
NAFNet-DeBlur QNN_DLC float Snapdragon® 8 Gen 3 Mobile 80.139 ms 2 - 1199 MB NPU
NAFNet-DeBlur QNN_DLC float Snapdragon® 8 Gen 1 Mobile 186.219 ms 2 - 839 MB NPU
NAFNet-DeBlur QNN_DLC float Qualcomm® Dragonwing™ IQ-8275 153.633 ms 3 - 10 MB NPU
NAFNet-DeBlur QNN_DLC float Qualcomm® Dragonwing™ QCS8550 (Proxy) 110.715 ms 3 - 6 MB NPU
NAFNet-DeBlur QNN_DLC float Qualcomm® SA8775P 139.975 ms 0 - 916 MB NPU
NAFNet-DeBlur QNN_DLC float Qualcomm® SA8650P 139.975 ms 0 - 916 MB NPU
NAFNet-DeBlur QNN_DLC float Qualcomm® SA8255P 139.975 ms 0 - 916 MB NPU
NAFNet-DeBlur QNN_DLC float Qualcomm® QCS8450 186.219 ms 2 - 839 MB NPU
NAFNet-DeBlur QNN_DLC float Qualcomm® Dragonwing™ IQ-9075 139.658 ms 3 - 10 MB NPU
NAFNet-DeBlur QNN_DLC float Qualcomm® Dragonwing™ IQ-X7181 112.198 ms 3 - 3 MB NPU
NAFNet-DeBlur QNN_DLC float Qualcomm® Dragonwing™ Q-8750 63.273 ms 0 - 947 MB NPU
NAFNet-DeBlur QNN_DLC float Qualcomm® SA7255P 482.924 ms 2 - 913 MB NPU
NAFNet-DeBlur QNN_DLC float Qualcomm® SA8295P 162.337 ms 0 - 632 MB NPU
NAFNet-DeBlur QNN_DLC float Snapdragon® 8 Elite Mobile 63.273 ms 0 - 947 MB NPU
NAFNet-DeBlur QNN_DLC float Snapdragon® 8 Elite Gen 5 Mobile 44.612 ms 3 - 1005 MB NPU
NAFNet-DeBlur QNN_DLC w8a16 Snapdragon® X2 Elite 39.314 ms 1 - 1 MB NPU
NAFNet-DeBlur QNN_DLC w8a16 Snapdragon® X Elite 88.841 ms 1 - 1 MB NPU
NAFNet-DeBlur QNN_DLC w8a16 Snapdragon® 8 Gen 3 Mobile 74.852 ms 1 - 891 MB NPU
NAFNet-DeBlur QNN_DLC w8a16 Snapdragon® 8 Gen 1 Mobile 129.486 ms 1 - 990 MB NPU
NAFNet-DeBlur QNN_DLC w8a16 Qualcomm® Dragonwing™ QCS6490 476.337 ms 1 - 5 MB NPU
NAFNet-DeBlur QNN_DLC w8a16 Qualcomm® Dragonwing™ IQ-8275 89.253 ms 1 - 6 MB NPU
NAFNet-DeBlur QNN_DLC w8a16 Qualcomm® Dragonwing™ QCS8550 (Proxy) 93.683 ms 2 - 5 MB NPU
NAFNet-DeBlur QNN_DLC w8a16 Qualcomm® SA8775P 75.275 ms 2 - 606 MB NPU
NAFNet-DeBlur QNN_DLC w8a16 Qualcomm® SA8650P 75.275 ms 2 - 606 MB NPU
NAFNet-DeBlur QNN_DLC w8a16 Qualcomm® SA8255P 75.275 ms 2 - 606 MB NPU
NAFNet-DeBlur QNN_DLC w8a16 Qualcomm® QCS8450 129.486 ms 1 - 990 MB NPU
NAFNet-DeBlur QNN_DLC w8a16 Qualcomm® Dragonwing™ IQ-9075 75.594 ms 3 - 7 MB NPU
NAFNet-DeBlur QNN_DLC w8a16 Qualcomm® Dragonwing™ IQ-X7181 88.841 ms 1 - 1 MB NPU
NAFNet-DeBlur QNN_DLC w8a16 Qualcomm® Dragonwing™ Q-6690 1306.156 ms 1 - 1429 MB NPU
NAFNet-DeBlur QNN_DLC w8a16 Qualcomm® Dragonwing™ Q-7790 122.518 ms 1 - 875 MB NPU
NAFNet-DeBlur QNN_DLC w8a16 Qualcomm® Dragonwing™ Q-8750 48.387 ms 1 - 569 MB NPU
NAFNet-DeBlur QNN_DLC w8a16 Qualcomm® SA7255P 185.472 ms 2 - 650 MB NPU
NAFNet-DeBlur QNN_DLC w8a16 Qualcomm® SA8295P 103.087 ms 2 - 607 MB NPU
NAFNet-DeBlur QNN_DLC w8a16 Snapdragon® 8 Elite Mobile 48.387 ms 1 - 569 MB NPU
NAFNet-DeBlur QNN_DLC w8a16 Snapdragon® 8 Elite Gen 5 Mobile 36.337 ms 1 - 593 MB NPU
NAFNet-DeBlur QNN_DLC w8a16 Snapdragon® 7 Gen 4 Mobile 122.518 ms 1 - 875 MB NPU
NAFNet-DeBlur QNN_DLC w8a8 Snapdragon® X2 Elite 17.142 ms 1 - 1 MB NPU
NAFNet-DeBlur QNN_DLC w8a8 Snapdragon® X Elite 46.537 ms 1 - 1 MB NPU
NAFNet-DeBlur QNN_DLC w8a8 Snapdragon® 8 Gen 3 Mobile 33.385 ms 1 - 725 MB NPU
NAFNet-DeBlur QNN_DLC w8a8 Snapdragon® 8 Gen 1 Mobile 72.129 ms 1 - 750 MB NPU
NAFNet-DeBlur QNN_DLC w8a8 Qualcomm® Dragonwing™ QCS6490 212.391 ms 1 - 4 MB NPU
NAFNet-DeBlur QNN_DLC w8a8 Qualcomm® Dragonwing™ IQ-8275 42.329 ms 1 - 4 MB NPU
NAFNet-DeBlur QNN_DLC w8a8 Qualcomm® Dragonwing™ QCS8550 (Proxy) 46.553 ms 1 - 530 MB NPU
NAFNet-DeBlur QNN_DLC w8a8 Qualcomm® SA8775P 41.207 ms 1 - 545 MB NPU
NAFNet-DeBlur QNN_DLC w8a8 Qualcomm® SA8650P 41.207 ms 1 - 545 MB NPU
NAFNet-DeBlur QNN_DLC w8a8 Qualcomm® SA8255P 41.207 ms 1 - 545 MB NPU
NAFNet-DeBlur QNN_DLC w8a8 Qualcomm® QCS8450 72.129 ms 1 - 750 MB NPU
NAFNet-DeBlur QNN_DLC w8a8 Qualcomm® Dragonwing™ IQ-9075 41.475 ms 1 - 4 MB NPU
NAFNet-DeBlur QNN_DLC w8a8 Qualcomm® Dragonwing™ IQ-X7181 46.537 ms 1 - 1 MB NPU
NAFNet-DeBlur QNN_DLC w8a8 Qualcomm® Dragonwing™ Q-6690 575.842 ms 1 - 932 MB NPU
NAFNet-DeBlur QNN_DLC w8a8 Qualcomm® Dragonwing™ Q-7790 52.428 ms 1 - 664 MB NPU
NAFNet-DeBlur QNN_DLC w8a8 Qualcomm® Dragonwing™ Q-8750 26.045 ms 1 - 473 MB NPU
NAFNet-DeBlur QNN_DLC w8a8 Qualcomm® SA7255P 89.909 ms 1 - 547 MB NPU
NAFNet-DeBlur QNN_DLC w8a8 Qualcomm® SA8295P 59.199 ms 1 - 543 MB NPU
NAFNet-DeBlur QNN_DLC w8a8 Snapdragon® 8 Elite Mobile 26.045 ms 1 - 473 MB NPU
NAFNet-DeBlur QNN_DLC w8a8 Snapdragon® 8 Elite Gen 5 Mobile 16.256 ms 1 - 564 MB NPU
NAFNet-DeBlur QNN_DLC w8a8 Snapdragon® 7 Gen 4 Mobile 52.428 ms 1 - 664 MB NPU
NAFNet-DeBlur TFLITE float Snapdragon® 8 Gen 3 Mobile 80.127 ms 2 - 1289 MB NPU
NAFNet-DeBlur TFLITE float Snapdragon® 8 Gen 1 Mobile 209.877 ms 3 - 1006 MB NPU
NAFNet-DeBlur TFLITE float Qualcomm® Dragonwing™ IQ-8275 153.749 ms 3 - 155 MB NPU
NAFNet-DeBlur TFLITE float Qualcomm® Dragonwing™ QCS8550 (Proxy) 110.204 ms 3 - 7 MB NPU
NAFNet-DeBlur TFLITE float Qualcomm® SA8775P 140.003 ms 3 - 1005 MB NPU
NAFNet-DeBlur TFLITE float Qualcomm® SA8650P 140.003 ms 3 - 1005 MB NPU
NAFNet-DeBlur TFLITE float Qualcomm® SA8255P 140.003 ms 3 - 1005 MB NPU
NAFNet-DeBlur TFLITE float Qualcomm® QCS8450 209.877 ms 3 - 1006 MB NPU
NAFNet-DeBlur TFLITE float Qualcomm® Dragonwing™ IQ-9075 139.827 ms 2 - 153 MB NPU
NAFNet-DeBlur TFLITE float Qualcomm® Dragonwing™ Q-8750 62.916 ms 3 - 1035 MB NPU
NAFNet-DeBlur TFLITE float Qualcomm® SA7255P 483.176 ms 3 - 1001 MB NPU
NAFNet-DeBlur TFLITE float Qualcomm® SA8295P 162.451 ms 3 - 738 MB NPU
NAFNet-DeBlur TFLITE float Snapdragon® 8 Elite Mobile 62.916 ms 3 - 1035 MB NPU
NAFNet-DeBlur TFLITE float Snapdragon® 8 Elite Gen 5 Mobile 44.644 ms 2 - 1089 MB NPU
NAFNet-DeBlur TFLITE w8a8 Snapdragon® 8 Gen 3 Mobile 57.756 ms 1 - 1034 MB NPU
NAFNet-DeBlur TFLITE w8a8 Snapdragon® 8 Gen 1 Mobile 122.341 ms 0 - 1074 MB NPU
NAFNet-DeBlur TFLITE w8a8 Qualcomm® Dragonwing™ IQ-8275 75.059 ms 1 - 80 MB NPU
NAFNet-DeBlur TFLITE w8a8 Qualcomm® Dragonwing™ QCS8550 (Proxy) 82.051 ms 1 - 4 MB NPU
NAFNet-DeBlur TFLITE w8a8 Qualcomm® SA8775P 80.938 ms 1 - 809 MB NPU
NAFNet-DeBlur TFLITE w8a8 Qualcomm® SA8650P 80.938 ms 1 - 809 MB NPU
NAFNet-DeBlur TFLITE w8a8 Qualcomm® SA8255P 80.938 ms 1 - 809 MB NPU
NAFNet-DeBlur TFLITE w8a8 Qualcomm® QCS8450 122.341 ms 0 - 1074 MB NPU
NAFNet-DeBlur TFLITE w8a8 Qualcomm® Dragonwing™ IQ-9075 80.742 ms 1 - 80 MB NPU
NAFNet-DeBlur TFLITE w8a8 Qualcomm® Dragonwing™ Q-7790 878.111 ms 160 - 541 MB NPU
NAFNet-DeBlur TFLITE w8a8 Qualcomm® Dragonwing™ Q-8750 36.702 ms 1 - 600 MB NPU
NAFNet-DeBlur TFLITE w8a8 Qualcomm® SA7255P 162.18 ms 1 - 810 MB NPU
NAFNet-DeBlur TFLITE w8a8 Qualcomm® SA8295P 112.349 ms 1 - 807 MB NPU
NAFNet-DeBlur TFLITE w8a8 Snapdragon® 8 Elite Mobile 36.702 ms 1 - 600 MB NPU
NAFNet-DeBlur TFLITE w8a8 Snapdragon® 8 Elite Gen 5 Mobile 30.045 ms 1 - 1103 MB NPU
NAFNet-DeBlur TFLITE w8a8 Snapdragon® 7 Gen 4 Mobile 878.111 ms 160 - 541 MB NPU

License

  • The license for the original implementation of NAFNet-DeBlur can be found here.

References

Community

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Paper for qualcomm/NAFNet-DeBlur