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.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 45.89 ms 3 - 775 MB NPU
NAFNet-DeBlur QNN_DLC float Snapdragon® 8 Elite For Galaxy Mobile 58.314 ms 2 - 657 MB NPU
NAFNet-DeBlur QNN_DLC float Snapdragon® X2 Elite 47.136 ms 3 - 3 MB NPU
NAFNet-DeBlur QNN_DLC float Snapdragon® X Elite 108.772 ms 3 - 3 MB NPU
NAFNet-DeBlur QNN_DLC float Snapdragon® 8 Gen 3 Mobile 77.677 ms 3 - 878 MB NPU
NAFNet-DeBlur QNN_DLC float Snapdragon® 8 Gen 1 Mobile 154.9 ms 3 - 712 MB NPU
NAFNet-DeBlur QNN_DLC float Qualcomm® Dragonwing™ IQ-8275 144.983 ms 3 - 11 MB NPU
NAFNet-DeBlur QNN_DLC float Qualcomm® Dragonwing™ QCS8550 (Proxy) 105.957 ms 3 - 6 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 154.9 ms 3 - 712 MB NPU
NAFNet-DeBlur QNN_DLC float Qualcomm® Dragonwing™ IQ-9075 133.444 ms 5 - 12 MB NPU
NAFNet-DeBlur QNN_DLC float Qualcomm® Dragonwing™ IQ-X7181 108.772 ms 3 - 3 MB NPU
NAFNet-DeBlur QNN_DLC float Qualcomm® Dragonwing™ Q-8750 58.314 ms 2 - 657 MB NPU
NAFNet-DeBlur QNN_DLC float Qualcomm® SA8295P 144.954 ms 0 - 457 MB NPU
NAFNet-DeBlur QNN_DLC w8a16 Snapdragon® 8 Elite Gen 5 For Galaxy Mobile 34.415 ms 1 - 566 MB NPU
NAFNet-DeBlur QNN_DLC w8a16 Snapdragon® 8 Elite For Galaxy Mobile 60.28 ms 5 - 587 MB NPU
NAFNet-DeBlur QNN_DLC w8a16 Snapdragon® X2 Elite 42.329 ms 1 - 1 MB NPU
NAFNet-DeBlur QNN_DLC w8a16 Snapdragon® X Elite 77.9 ms 1 - 1 MB NPU
NAFNet-DeBlur QNN_DLC w8a16 Snapdragon® 8 Gen 3 Mobile 55.466 ms 1 - 811 MB NPU
NAFNet-DeBlur QNN_DLC w8a16 Snapdragon® 8 Gen 1 Mobile 105.333 ms 3 - 820 MB NPU
NAFNet-DeBlur QNN_DLC w8a16 Qualcomm® Dragonwing™ QCS6490 330.38 ms 1 - 6 MB NPU
NAFNet-DeBlur QNN_DLC w8a16 Qualcomm® Dragonwing™ IQ-8275 72.009 ms 1 - 7 MB NPU
NAFNet-DeBlur QNN_DLC w8a16 Qualcomm® Dragonwing™ QCS8550 (Proxy) 76.72 ms 2 - 4 MB NPU
NAFNet-DeBlur QNN_DLC w8a16 Qualcomm® SA8775P 74.818 ms 2 - 579 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 105.333 ms 3 - 820 MB NPU
NAFNet-DeBlur QNN_DLC w8a16 Qualcomm® Dragonwing™ IQ-9075 74.159 ms 3 - 8 MB NPU
NAFNet-DeBlur QNN_DLC w8a16 Qualcomm® Dragonwing™ IQ-X7181 77.9 ms 1 - 1 MB NPU
NAFNet-DeBlur QNN_DLC w8a16 Qualcomm® Dragonwing™ Q-6690 1351.963 ms 1 - 1054 MB NPU
NAFNet-DeBlur QNN_DLC w8a16 Qualcomm® Dragonwing™ Q-7790 118.496 ms 1 - 763 MB NPU
NAFNet-DeBlur QNN_DLC w8a16 Qualcomm® Dragonwing™ Q-8750 60.28 ms 5 - 587 MB NPU
NAFNet-DeBlur QNN_DLC w8a16 Qualcomm® SA8295P 102.357 ms 2 - 577 MB NPU
NAFNet-DeBlur QNN_DLC w8a16 Snapdragon® 7 Gen 4 Mobile 118.496 ms 1 - 763 MB NPU
NAFNet-DeBlur QNN_DLC w8a8 Snapdragon® 8 Elite Gen 5 For Galaxy Mobile 16.16 ms 1 - 528 MB NPU
NAFNet-DeBlur QNN_DLC w8a8 Snapdragon® 8 Elite For Galaxy Mobile 20.393 ms 1 - 445 MB NPU
NAFNet-DeBlur QNN_DLC w8a8 Snapdragon® X2 Elite 16.777 ms 1 - 1 MB NPU
NAFNet-DeBlur QNN_DLC w8a8 Snapdragon® X Elite 43.624 ms 1 - 1 MB NPU
NAFNet-DeBlur QNN_DLC w8a8 Snapdragon® 8 Gen 3 Mobile 28.116 ms 1 - 683 MB NPU
NAFNet-DeBlur QNN_DLC w8a8 Snapdragon® 8 Gen 1 Mobile 64.574 ms 1 - 713 MB NPU
NAFNet-DeBlur QNN_DLC w8a8 Qualcomm® Dragonwing™ QCS6490 150.512 ms 1 - 4 MB NPU
NAFNet-DeBlur QNN_DLC w8a8 Qualcomm® Dragonwing™ IQ-8275 36.151 ms 1 - 5 MB NPU
NAFNet-DeBlur QNN_DLC w8a8 Qualcomm® Dragonwing™ QCS8550 (Proxy) 41.828 ms 1 - 3 MB NPU
NAFNet-DeBlur QNN_DLC w8a8 Qualcomm® QCS8450 64.574 ms 1 - 713 MB NPU
NAFNet-DeBlur QNN_DLC w8a8 Qualcomm® Dragonwing™ IQ-9075 40.987 ms 3 - 6 MB NPU
NAFNet-DeBlur QNN_DLC w8a8 Qualcomm® Dragonwing™ IQ-X7181 43.624 ms 1 - 1 MB NPU
NAFNet-DeBlur QNN_DLC w8a8 Qualcomm® Dragonwing™ Q-6690 514.073 ms 1 - 747 MB NPU
NAFNet-DeBlur QNN_DLC w8a8 Qualcomm® Dragonwing™ Q-7790 51.666 ms 1 - 587 MB NPU
NAFNet-DeBlur QNN_DLC w8a8 Qualcomm® Dragonwing™ Q-8750 20.393 ms 1 - 445 MB NPU
NAFNet-DeBlur QNN_DLC w8a8 Qualcomm® SA8295P 58.409 ms 1 - 509 MB NPU
NAFNet-DeBlur QNN_DLC w8a8 Snapdragon® 7 Gen 4 Mobile 51.666 ms 1 - 587 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® 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 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® 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® 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

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