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 64.094 ms 11 - 11 MB NPU
NAFNet-DeBlur ONNX float Snapdragon® X Elite 113.026 ms 142 - 142 MB NPU
NAFNet-DeBlur ONNX float Snapdragon® 8 Gen 3 Mobile 81.937 ms 10 - 1207 MB NPU
NAFNet-DeBlur ONNX float Snapdragon® 8 Gen 1 Mobile 192.236 ms 9 - 864 MB NPU
NAFNet-DeBlur ONNX float Qualcomm® Dragonwing™ IQ-8275 155.621 ms 6 - 12 MB NPU
NAFNet-DeBlur ONNX float Qualcomm® Dragonwing™ QCS8550 (Proxy) 110.81 ms 0 - 161 MB NPU
NAFNet-DeBlur ONNX float Qualcomm® QCS8450 192.236 ms 9 - 864 MB NPU
NAFNet-DeBlur ONNX float Qualcomm® Dragonwing™ IQ-9075 142.136 ms 7 - 12 MB NPU
NAFNet-DeBlur ONNX float Qualcomm® Dragonwing™ IQ-X7181 113.026 ms 142 - 142 MB NPU
NAFNet-DeBlur ONNX float Qualcomm® Dragonwing™ Q-8750 63.6 ms 6 - 938 MB NPU
NAFNet-DeBlur ONNX float Snapdragon® 8 Elite Mobile 63.6 ms 6 - 938 MB NPU
NAFNet-DeBlur ONNX float Snapdragon® 8 Elite Gen 5 Mobile 45.036 ms 6 - 994 MB NPU
NAFNet-DeBlur ONNX w8a16 Snapdragon® X2 Elite 40.785 ms 5 - 5 MB NPU
NAFNet-DeBlur ONNX w8a16 Snapdragon® X Elite 80.506 ms 74 - 74 MB NPU
NAFNet-DeBlur ONNX w8a16 Snapdragon® 8 Gen 3 Mobile 58.554 ms 4 - 888 MB NPU
NAFNet-DeBlur ONNX w8a16 Snapdragon® 8 Gen 1 Mobile 131.914 ms 4 - 953 MB NPU
NAFNet-DeBlur ONNX w8a16 Qualcomm® Dragonwing™ QCS6490 460.711 ms 3 - 7 MB NPU
NAFNet-DeBlur ONNX w8a16 Qualcomm® Dragonwing™ IQ-8275 76.781 ms 3 - 8 MB NPU
NAFNet-DeBlur ONNX w8a16 Qualcomm® Dragonwing™ QCS8550 (Proxy) 78.468 ms 0 - 82 MB NPU
NAFNet-DeBlur ONNX w8a16 Qualcomm® QCS8450 131.914 ms 4 - 953 MB NPU
NAFNet-DeBlur ONNX w8a16 Qualcomm® Dragonwing™ IQ-9075 94.6 ms 3 - 7 MB NPU
NAFNet-DeBlur ONNX w8a16 Qualcomm® Dragonwing™ IQ-X7181 80.506 ms 74 - 74 MB NPU
NAFNet-DeBlur ONNX w8a16 Qualcomm® Dragonwing™ Q-6690 1307.453 ms 0 - 1468 MB NPU
NAFNet-DeBlur ONNX w8a16 Qualcomm® Dragonwing™ Q-7790 124.719 ms 4 - 829 MB NPU
NAFNet-DeBlur ONNX w8a16 Qualcomm® Dragonwing™ Q-8750 49.657 ms 4 - 594 MB NPU
NAFNet-DeBlur ONNX w8a16 Snapdragon® 8 Elite Mobile 49.657 ms 4 - 594 MB NPU
NAFNet-DeBlur ONNX w8a16 Snapdragon® 8 Elite Gen 5 Mobile 36.498 ms 2 - 667 MB NPU
NAFNet-DeBlur ONNX w8a16 Snapdragon® 7 Gen 4 Mobile 124.719 ms 4 - 829 MB NPU
NAFNet-DeBlur ONNX w8a8 Snapdragon® X2 Elite 18.397 ms 4 - 4 MB NPU
NAFNet-DeBlur ONNX w8a8 Snapdragon® X Elite 43.597 ms 74 - 74 MB NPU
NAFNet-DeBlur ONNX w8a8 Snapdragon® 8 Gen 3 Mobile 28.666 ms 0 - 749 MB NPU
NAFNet-DeBlur ONNX w8a8 Snapdragon® 8 Gen 1 Mobile 83.642 ms 0 - 761 MB NPU
NAFNet-DeBlur ONNX w8a8 Qualcomm® Dragonwing™ QCS6490 217.814 ms 1 - 5 MB NPU
NAFNet-DeBlur ONNX w8a8 Qualcomm® Dragonwing™ IQ-8275 37.006 ms 1 - 6 MB NPU
NAFNet-DeBlur ONNX w8a8 Qualcomm® Dragonwing™ QCS8550 (Proxy) 41.647 ms 0 - 82 MB NPU
NAFNet-DeBlur ONNX w8a8 Qualcomm® QCS8450 83.642 ms 0 - 761 MB NPU
NAFNet-DeBlur ONNX w8a8 Qualcomm® Dragonwing™ IQ-9075 41.235 ms 1 - 5 MB NPU
NAFNet-DeBlur ONNX w8a8 Qualcomm® Dragonwing™ IQ-X7181 43.597 ms 74 - 74 MB NPU
NAFNet-DeBlur ONNX w8a8 Qualcomm® Dragonwing™ Q-6690 514.255 ms 0 - 894 MB NPU
NAFNet-DeBlur ONNX w8a8 Qualcomm® Dragonwing™ Q-7790 55.395 ms 2 - 710 MB NPU
NAFNet-DeBlur ONNX w8a8 Qualcomm® Dragonwing™ Q-8750 25.201 ms 2 - 476 MB NPU
NAFNet-DeBlur ONNX w8a8 Snapdragon® 8 Elite Mobile 25.201 ms 2 - 476 MB NPU
NAFNet-DeBlur ONNX w8a8 Snapdragon® 8 Elite Gen 5 Mobile 17.834 ms 0 - 603 MB NPU
NAFNet-DeBlur ONNX w8a8 Snapdragon® 7 Gen 4 Mobile 55.395 ms 2 - 710 MB NPU
NAFNet-DeBlur QNN_DLC float Snapdragon® X2 Elite 47.395 ms 3 - 3 MB NPU
NAFNet-DeBlur QNN_DLC float Snapdragon® X Elite 112.337 ms 3 - 3 MB NPU
NAFNet-DeBlur QNN_DLC float Snapdragon® 8 Gen 3 Mobile 80.842 ms 3 - 1200 MB NPU
NAFNet-DeBlur QNN_DLC float Snapdragon® 8 Gen 1 Mobile 184.27 ms 2 - 840 MB NPU
NAFNet-DeBlur QNN_DLC float Qualcomm® Dragonwing™ IQ-8275 153.966 ms 3 - 10 MB NPU
NAFNet-DeBlur QNN_DLC float Qualcomm® Dragonwing™ IQ-8275 483.559 ms 2 - 913 MB NPU
NAFNet-DeBlur QNN_DLC float Qualcomm® Dragonwing™ QCS8550 (Proxy) 109.795 ms 3 - 6 MB NPU
NAFNet-DeBlur QNN_DLC float Qualcomm® SA8775P 139.981 ms 0 - 915 MB NPU
NAFNet-DeBlur QNN_DLC float Qualcomm® SA8650P 139.981 ms 0 - 915 MB NPU
NAFNet-DeBlur QNN_DLC float Qualcomm® SA8255P 139.981 ms 0 - 915 MB NPU
NAFNet-DeBlur QNN_DLC float Qualcomm® QCS8450 184.27 ms 2 - 840 MB NPU
NAFNet-DeBlur QNN_DLC float Qualcomm® Dragonwing™ IQ-9075 139.587 ms 5 - 12 MB NPU
NAFNet-DeBlur QNN_DLC float Qualcomm® Dragonwing™ IQ-X7181 112.337 ms 3 - 3 MB NPU
NAFNet-DeBlur QNN_DLC float Qualcomm® Dragonwing™ Q-8750 63.138 ms 0 - 947 MB NPU
NAFNet-DeBlur QNN_DLC float Qualcomm® SA7255P 483.559 ms 2 - 913 MB NPU
NAFNet-DeBlur QNN_DLC float Qualcomm® SA8295P 162.472 ms 0 - 632 MB NPU
NAFNet-DeBlur QNN_DLC float Snapdragon® 8 Elite Mobile 63.138 ms 0 - 947 MB NPU
NAFNet-DeBlur QNN_DLC float Snapdragon® 8 Elite Gen 5 Mobile 44.616 ms 0 - 1002 MB NPU
NAFNet-DeBlur QNN_DLC w8a16 Snapdragon® X2 Elite 39.343 ms 1 - 1 MB NPU
NAFNet-DeBlur QNN_DLC w8a16 Snapdragon® X Elite 88.8 ms 1 - 1 MB NPU
NAFNet-DeBlur QNN_DLC w8a16 Snapdragon® 8 Gen 3 Mobile 74.659 ms 1 - 890 MB NPU
NAFNet-DeBlur QNN_DLC w8a16 Snapdragon® 8 Gen 1 Mobile 127.625 ms 1 - 991 MB NPU
NAFNet-DeBlur QNN_DLC w8a16 Qualcomm® Dragonwing™ QCS6490 475.512 ms 3 - 7 MB NPU
NAFNet-DeBlur QNN_DLC w8a16 Qualcomm® Dragonwing™ IQ-8275 89.269 ms 1 - 6 MB NPU
NAFNet-DeBlur QNN_DLC w8a16 Qualcomm® Dragonwing™ IQ-8275 186.359 ms 2 - 650 MB NPU
NAFNet-DeBlur QNN_DLC w8a16 Qualcomm® Dragonwing™ QCS8550 (Proxy) 96.845 ms 2 - 927 MB NPU
NAFNet-DeBlur QNN_DLC w8a16 Qualcomm® SA8775P 75.296 ms 2 - 606 MB NPU
NAFNet-DeBlur QNN_DLC w8a16 Qualcomm® SA8650P 75.296 ms 2 - 606 MB NPU
NAFNet-DeBlur QNN_DLC w8a16 Qualcomm® SA8255P 75.296 ms 2 - 606 MB NPU
NAFNet-DeBlur QNN_DLC w8a16 Qualcomm® QCS8450 127.625 ms 1 - 991 MB NPU
NAFNet-DeBlur QNN_DLC w8a16 Qualcomm® Dragonwing™ IQ-9075 75.571 ms 1 - 6 MB NPU
NAFNet-DeBlur QNN_DLC w8a16 Qualcomm® Dragonwing™ IQ-X7181 88.8 ms 1 - 1 MB NPU
NAFNet-DeBlur QNN_DLC w8a16 Qualcomm® Dragonwing™ Q-6690 1238.714 ms 1 - 1428 MB NPU
NAFNet-DeBlur QNN_DLC w8a16 Qualcomm® Dragonwing™ Q-7790 122.136 ms 1 - 880 MB NPU
NAFNet-DeBlur QNN_DLC w8a16 Qualcomm® Dragonwing™ Q-8750 48.34 ms 1 - 568 MB NPU
NAFNet-DeBlur QNN_DLC w8a16 Qualcomm® SA7255P 186.359 ms 2 - 650 MB NPU
NAFNet-DeBlur QNN_DLC w8a16 Qualcomm® SA8295P 103.144 ms 2 - 607 MB NPU
NAFNet-DeBlur QNN_DLC w8a16 Snapdragon® 8 Elite Mobile 48.34 ms 1 - 568 MB NPU
NAFNet-DeBlur QNN_DLC w8a16 Snapdragon® 8 Elite Gen 5 Mobile 36.309 ms 1 - 593 MB NPU
NAFNet-DeBlur QNN_DLC w8a16 Snapdragon® 7 Gen 4 Mobile 122.136 ms 1 - 880 MB NPU
NAFNet-DeBlur QNN_DLC w8a8 Snapdragon® X2 Elite 24.027 ms 1 - 1 MB NPU
NAFNet-DeBlur QNN_DLC w8a8 Snapdragon® X Elite 46.53 ms 1 - 1 MB NPU
NAFNet-DeBlur QNN_DLC w8a8 Snapdragon® 8 Gen 3 Mobile 33.629 ms 1 - 727 MB NPU
NAFNet-DeBlur QNN_DLC w8a8 Snapdragon® 8 Gen 1 Mobile 73.794 ms 1 - 751 MB NPU
NAFNet-DeBlur QNN_DLC w8a8 Qualcomm® Dragonwing™ QCS6490 212.17 ms 1 - 4 MB NPU
NAFNet-DeBlur QNN_DLC w8a8 Qualcomm® Dragonwing™ IQ-8275 42.073 ms 1 - 4 MB NPU
NAFNet-DeBlur QNN_DLC w8a8 Qualcomm® Dragonwing™ IQ-8275 89.743 ms 1 - 547 MB NPU
NAFNet-DeBlur QNN_DLC w8a8 Qualcomm® Dragonwing™ QCS8550 (Proxy) 46.324 ms 1 - 3 MB NPU
NAFNet-DeBlur QNN_DLC w8a8 Qualcomm® SA8775P 41.206 ms 1 - 546 MB NPU
NAFNet-DeBlur QNN_DLC w8a8 Qualcomm® SA8650P 41.206 ms 1 - 546 MB NPU
NAFNet-DeBlur QNN_DLC w8a8 Qualcomm® SA8255P 41.206 ms 1 - 546 MB NPU
NAFNet-DeBlur QNN_DLC w8a8 Qualcomm® QCS8450 73.794 ms 1 - 751 MB NPU
NAFNet-DeBlur QNN_DLC w8a8 Qualcomm® Dragonwing™ IQ-9075 41.525 ms 1 - 4 MB NPU
NAFNet-DeBlur QNN_DLC w8a8 Qualcomm® Dragonwing™ IQ-X7181 46.53 ms 1 - 1 MB NPU
NAFNet-DeBlur QNN_DLC w8a8 Qualcomm® Dragonwing™ Q-6690 552.566 ms 1 - 925 MB NPU
NAFNet-DeBlur QNN_DLC w8a8 Qualcomm® Dragonwing™ Q-7790 52.799 ms 1 - 663 MB NPU
NAFNet-DeBlur QNN_DLC w8a8 Qualcomm® Dragonwing™ Q-8750 26.288 ms 1 - 476 MB NPU
NAFNet-DeBlur QNN_DLC w8a8 Qualcomm® SA7255P 89.743 ms 1 - 547 MB NPU
NAFNet-DeBlur QNN_DLC w8a8 Qualcomm® SA8295P 59.185 ms 1 - 543 MB NPU
NAFNet-DeBlur QNN_DLC w8a8 Snapdragon® 8 Elite Mobile 26.288 ms 1 - 476 MB NPU
NAFNet-DeBlur QNN_DLC w8a8 Snapdragon® 8 Elite Gen 5 Mobile 16.26 ms 1 - 564 MB NPU
NAFNet-DeBlur QNN_DLC w8a8 Snapdragon® 7 Gen 4 Mobile 52.799 ms 1 - 663 MB NPU
NAFNet-DeBlur TFLITE float Snapdragon® 8 Gen 3 Mobile 80.869 ms 1 - 1289 MB NPU
NAFNet-DeBlur TFLITE float Snapdragon® 8 Gen 1 Mobile 211.046 ms 4 - 1006 MB NPU
NAFNet-DeBlur TFLITE float Qualcomm® Dragonwing™ IQ-8275 153.83 ms 3 - 155 MB NPU
NAFNet-DeBlur TFLITE float Qualcomm® Dragonwing™ IQ-8275 482.993 ms 3 - 1002 MB NPU
NAFNet-DeBlur TFLITE float Qualcomm® Dragonwing™ QCS8550 (Proxy) 110.705 ms 3 - 6 MB NPU
NAFNet-DeBlur TFLITE float Qualcomm® SA8775P 139.957 ms 3 - 1005 MB NPU
NAFNet-DeBlur TFLITE float Qualcomm® SA8650P 139.957 ms 3 - 1005 MB NPU
NAFNet-DeBlur TFLITE float Qualcomm® SA8255P 139.957 ms 3 - 1005 MB NPU
NAFNet-DeBlur TFLITE float Qualcomm® QCS8450 211.046 ms 4 - 1006 MB NPU
NAFNet-DeBlur TFLITE float Qualcomm® Dragonwing™ IQ-9075 139.764 ms 2 - 153 MB NPU
NAFNet-DeBlur TFLITE float Qualcomm® Dragonwing™ Q-8750 63.079 ms 0 - 1032 MB NPU
NAFNet-DeBlur TFLITE float Qualcomm® SA7255P 482.993 ms 3 - 1002 MB NPU
NAFNet-DeBlur TFLITE float Qualcomm® SA8295P 162.44 ms 3 - 738 MB NPU
NAFNet-DeBlur TFLITE float Snapdragon® 8 Elite Mobile 63.079 ms 0 - 1032 MB NPU
NAFNet-DeBlur TFLITE float Snapdragon® 8 Elite Gen 5 Mobile 44.714 ms 2 - 1089 MB NPU
NAFNet-DeBlur TFLITE w8a8 Snapdragon® 8 Gen 3 Mobile 57.818 ms 1 - 1035 MB NPU
NAFNet-DeBlur TFLITE w8a8 Snapdragon® 8 Gen 1 Mobile 121.701 ms 0 - 1073 MB NPU
NAFNet-DeBlur TFLITE w8a8 Qualcomm® Dragonwing™ IQ-8275 75.056 ms 1 - 80 MB NPU
NAFNet-DeBlur TFLITE w8a8 Qualcomm® Dragonwing™ IQ-8275 162.178 ms 1 - 808 MB NPU
NAFNet-DeBlur TFLITE w8a8 Qualcomm® Dragonwing™ QCS8550 (Proxy) 82.151 ms 1 - 4 MB NPU
NAFNet-DeBlur TFLITE w8a8 Qualcomm® SA8775P 80.933 ms 1 - 810 MB NPU
NAFNet-DeBlur TFLITE w8a8 Qualcomm® SA8650P 80.933 ms 1 - 810 MB NPU
NAFNet-DeBlur TFLITE w8a8 Qualcomm® SA8255P 80.933 ms 1 - 810 MB NPU
NAFNet-DeBlur TFLITE w8a8 Qualcomm® QCS8450 121.701 ms 0 - 1073 MB NPU
NAFNet-DeBlur TFLITE w8a8 Qualcomm® Dragonwing™ IQ-9075 80.743 ms 0 - 79 MB NPU
NAFNet-DeBlur TFLITE w8a8 Qualcomm® Dragonwing™ Q-7790 882.048 ms 150 - 532 MB NPU
NAFNet-DeBlur TFLITE w8a8 Qualcomm® Dragonwing™ Q-8750 36.681 ms 1 - 603 MB NPU
NAFNet-DeBlur TFLITE w8a8 Qualcomm® SA7255P 162.178 ms 1 - 808 MB NPU
NAFNet-DeBlur TFLITE w8a8 Qualcomm® SA8295P 112.533 ms 1 - 806 MB NPU
NAFNet-DeBlur TFLITE w8a8 Snapdragon® 8 Elite Mobile 36.681 ms 1 - 603 MB NPU
NAFNet-DeBlur TFLITE w8a8 Snapdragon® 8 Elite Gen 5 Mobile 30.042 ms 1 - 1103 MB NPU
NAFNet-DeBlur TFLITE w8a8 Snapdragon® 7 Gen 4 Mobile 882.048 ms 150 - 532 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