Image-to-Image
PyTorch
android

Real-ESRGAN-General-x4v3: Optimized for Qualcomm Devices

Real-ESRGAN is a machine learning model that upscales an image with minimal loss in quality.

This is based on the implementation of Real-ESRGAN-General-x4v3 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 w8a8 Universal QAIRT 2.45, ONNX Runtime 1.27.1 Download
QNN_DLC float 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 Real-ESRGAN-General-x4v3 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 Real-ESRGAN-General-x4v3 on GitHub for usage instructions.

Model Details

Model Type: Model_use_case.super_resolution

Model Stats:

  • Input resolution: 128x128
  • Model checkpoint: realesr-general-x4v3
  • Model size (float): 4.65 MB
  • Model size (w8a8): 1.25 MB
  • Number of parameters: 1.21M

Performance Summary

Model Runtime Precision Chipset Inference Time (ms) Peak Memory Range (MB) Primary Compute Unit
Real-ESRGAN-General-x4v3 ONNX float Snapdragon® X2 Elite 3.411 ms 8 - 8 MB NPU
Real-ESRGAN-General-x4v3 ONNX float Snapdragon® X Elite 6.249 ms 6 - 6 MB NPU
Real-ESRGAN-General-x4v3 ONNX float Snapdragon® 8 Gen 3 Mobile 4.526 ms 8 - 195 MB NPU
Real-ESRGAN-General-x4v3 ONNX float Snapdragon® 8 Gen 1 Mobile 10.569 ms 6 - 213 MB NPU
Real-ESRGAN-General-x4v3 ONNX float Qualcomm® Dragonwing™ IQ-8275 10.632 ms 6 - 10 MB NPU
Real-ESRGAN-General-x4v3 ONNX float Qualcomm® Dragonwing™ QCS8550 (Proxy) 5.975 ms 6 - 11 MB NPU
Real-ESRGAN-General-x4v3 ONNX float Qualcomm® QCS8450 10.569 ms 6 - 213 MB NPU
Real-ESRGAN-General-x4v3 ONNX float Qualcomm® Dragonwing™ IQ-9075 10.121 ms 8 - 11 MB NPU
Real-ESRGAN-General-x4v3 ONNX float Qualcomm® Dragonwing™ IQ-X7181 6.249 ms 6 - 6 MB NPU
Real-ESRGAN-General-x4v3 ONNX float Qualcomm® Dragonwing™ Q-8750 3.584 ms 0 - 153 MB NPU
Real-ESRGAN-General-x4v3 ONNX float Snapdragon® 8 Elite Mobile 3.584 ms 0 - 153 MB NPU
Real-ESRGAN-General-x4v3 ONNX float Snapdragon® 8 Elite Gen 5 Mobile 2.713 ms 0 - 153 MB NPU
Real-ESRGAN-General-x4v3 ONNX w8a8 Snapdragon® X2 Elite 0.865 ms 3 - 3 MB NPU
Real-ESRGAN-General-x4v3 ONNX w8a8 Snapdragon® X Elite 1.769 ms 2 - 2 MB NPU
Real-ESRGAN-General-x4v3 ONNX w8a8 Snapdragon® 8 Gen 3 Mobile 1.198 ms 0 - 171 MB NPU
Real-ESRGAN-General-x4v3 ONNX w8a8 Snapdragon® 8 Gen 1 Mobile 2.635 ms 1 - 76 MB NPU
Real-ESRGAN-General-x4v3 ONNX w8a8 Qualcomm® Dragonwing™ QCS6490 7.132 ms 2 - 4 MB NPU
Real-ESRGAN-General-x4v3 ONNX w8a8 Qualcomm® Dragonwing™ IQ-8275 1.976 ms 0 - 3 MB NPU
Real-ESRGAN-General-x4v3 ONNX w8a8 Qualcomm® Dragonwing™ QCS8550 (Proxy) 1.706 ms 0 - 3 MB NPU
Real-ESRGAN-General-x4v3 ONNX w8a8 Qualcomm® QCS8450 2.635 ms 1 - 76 MB NPU
Real-ESRGAN-General-x4v3 ONNX w8a8 Qualcomm® Dragonwing™ IQ-9075 1.908 ms 0 - 3 MB NPU
Real-ESRGAN-General-x4v3 ONNX w8a8 Qualcomm® Dragonwing™ IQ-X7181 1.769 ms 2 - 2 MB NPU
Real-ESRGAN-General-x4v3 ONNX w8a8 Qualcomm® Dragonwing™ Q-6690 25.381 ms 2 - 157 MB NPU
Real-ESRGAN-General-x4v3 ONNX w8a8 Qualcomm® Dragonwing™ Q-7790 2.452 ms 0 - 154 MB NPU
Real-ESRGAN-General-x4v3 ONNX w8a8 Qualcomm® Dragonwing™ Q-8750 0.96 ms 0 - 46 MB NPU
Real-ESRGAN-General-x4v3 ONNX w8a8 Snapdragon® 8 Elite Mobile 0.96 ms 0 - 46 MB NPU
Real-ESRGAN-General-x4v3 ONNX w8a8 Snapdragon® 8 Elite Gen 5 Mobile 0.709 ms 0 - 44 MB NPU
Real-ESRGAN-General-x4v3 ONNX w8a8 Snapdragon® 7 Gen 4 Mobile 2.452 ms 0 - 154 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC float Snapdragon® X2 Elite 3.555 ms 0 - 0 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC float Snapdragon® X Elite 6.43 ms 0 - 0 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC float Snapdragon® 8 Gen 3 Mobile 4.289 ms 0 - 181 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC float Snapdragon® 8 Gen 1 Mobile 8.893 ms 0 - 89 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC float Qualcomm® Dragonwing™ IQ-8275 10.312 ms 0 - 6 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC float Qualcomm® Dragonwing™ IQ-8275 33.169 ms 0 - 150 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC float Qualcomm® Dragonwing™ QCS8550 (Proxy) 5.846 ms 0 - 14 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC float Qualcomm® SA8775P 9.409 ms 0 - 153 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC float Qualcomm® SA8650P 9.409 ms 0 - 153 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC float Qualcomm® SA8255P 9.409 ms 0 - 153 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC float Qualcomm® QCS8450 8.893 ms 0 - 89 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC float Qualcomm® Dragonwing™ IQ-9075 9.42 ms 0 - 5 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC float Qualcomm® Dragonwing™ IQ-X7181 6.43 ms 0 - 0 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC float Qualcomm® Dragonwing™ Q-8750 3.212 ms 0 - 154 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC float Qualcomm® SA7255P 33.169 ms 0 - 150 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC float Qualcomm® SA8295P 9.768 ms 0 - 50 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC float Snapdragon® 8 Elite Mobile 3.212 ms 0 - 154 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC float Snapdragon® 8 Elite Gen 5 Mobile 2.357 ms 0 - 162 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Snapdragon® X2 Elite 0.969 ms 0 - 0 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Snapdragon® X Elite 1.977 ms 0 - 0 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Snapdragon® 8 Gen 3 Mobile 1.244 ms 0 - 163 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Snapdragon® 8 Gen 1 Mobile 2.795 ms 0 - 69 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Qualcomm® Dragonwing™ QCS6490 6.28 ms 0 - 2 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Qualcomm® Dragonwing™ IQ-8275 1.98 ms 0 - 3 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Qualcomm® Dragonwing™ IQ-8275 5.668 ms 0 - 149 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Qualcomm® Dragonwing™ QCS8550 (Proxy) 1.748 ms 0 - 2 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Qualcomm® SA8775P 2.052 ms 0 - 151 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Qualcomm® SA8650P 2.052 ms 0 - 151 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Qualcomm® SA8255P 2.052 ms 0 - 151 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Qualcomm® QCS8450 2.795 ms 0 - 69 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Qualcomm® Dragonwing™ IQ-9075 1.906 ms 0 - 2 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Qualcomm® Dragonwing™ IQ-X7181 1.977 ms 0 - 0 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Qualcomm® Dragonwing™ Q-6690 25.115 ms 0 - 147 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Qualcomm® Dragonwing™ Q-7790 2.363 ms 0 - 147 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Qualcomm® Dragonwing™ Q-8750 0.907 ms 0 - 35 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Qualcomm® SA7255P 5.668 ms 0 - 149 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Qualcomm® SA8295P 3.23 ms 0 - 45 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Snapdragon® 8 Elite Mobile 0.907 ms 0 - 35 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Snapdragon® 8 Elite Gen 5 Mobile 0.678 ms 0 - 36 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Snapdragon® 7 Gen 4 Mobile 2.363 ms 0 - 147 MB NPU
Real-ESRGAN-General-x4v3 TFLITE float Snapdragon® 8 Gen 3 Mobile 4.292 ms 0 - 187 MB NPU
Real-ESRGAN-General-x4v3 TFLITE float Snapdragon® 8 Gen 1 Mobile 8.943 ms 3 - 94 MB NPU
Real-ESRGAN-General-x4v3 TFLITE float Qualcomm® Dragonwing™ IQ-8275 10.312 ms 3 - 11 MB NPU
Real-ESRGAN-General-x4v3 TFLITE float Qualcomm® Dragonwing™ IQ-8275 33.227 ms 3 - 157 MB NPU
Real-ESRGAN-General-x4v3 TFLITE float Qualcomm® Dragonwing™ QCS8550 (Proxy) 5.981 ms 3 - 5 MB NPU
Real-ESRGAN-General-x4v3 TFLITE float Qualcomm® SA8775P 9.463 ms 3 - 159 MB NPU
Real-ESRGAN-General-x4v3 TFLITE float Qualcomm® SA8650P 9.463 ms 3 - 159 MB NPU
Real-ESRGAN-General-x4v3 TFLITE float Qualcomm® SA8255P 9.463 ms 3 - 159 MB NPU
Real-ESRGAN-General-x4v3 TFLITE float Qualcomm® QCS8450 8.943 ms 3 - 94 MB NPU
Real-ESRGAN-General-x4v3 TFLITE float Qualcomm® Dragonwing™ IQ-9075 9.148 ms 3 - 11 MB NPU
Real-ESRGAN-General-x4v3 TFLITE float Qualcomm® Dragonwing™ Q-8750 3.262 ms 0 - 160 MB NPU
Real-ESRGAN-General-x4v3 TFLITE float Qualcomm® SA7255P 33.227 ms 3 - 157 MB NPU
Real-ESRGAN-General-x4v3 TFLITE float Qualcomm® SA8295P 9.762 ms 3 - 57 MB NPU
Real-ESRGAN-General-x4v3 TFLITE float Snapdragon® 8 Elite Mobile 3.262 ms 0 - 160 MB NPU
Real-ESRGAN-General-x4v3 TFLITE float Snapdragon® 8 Elite Gen 5 Mobile 2.378 ms 0 - 163 MB NPU
Real-ESRGAN-General-x4v3 TFLITE w8a8 Snapdragon® 8 Gen 3 Mobile 1.245 ms 0 - 164 MB NPU
Real-ESRGAN-General-x4v3 TFLITE w8a8 Snapdragon® 8 Gen 1 Mobile 2.721 ms 0 - 69 MB NPU
Real-ESRGAN-General-x4v3 TFLITE w8a8 Qualcomm® Dragonwing™ QCS6490 6.134 ms 1 - 5 MB NPU
Real-ESRGAN-General-x4v3 TFLITE w8a8 Qualcomm® Dragonwing™ IQ-8275 1.981 ms 0 - 5 MB NPU
Real-ESRGAN-General-x4v3 TFLITE w8a8 Qualcomm® Dragonwing™ IQ-8275 5.701 ms 1 - 150 MB NPU
Real-ESRGAN-General-x4v3 TFLITE w8a8 Qualcomm® Dragonwing™ QCS8550 (Proxy) 1.763 ms 0 - 2 MB NPU
Real-ESRGAN-General-x4v3 TFLITE w8a8 Qualcomm® SA8775P 2.077 ms 0 - 152 MB NPU
Real-ESRGAN-General-x4v3 TFLITE w8a8 Qualcomm® SA8650P 2.077 ms 0 - 152 MB NPU
Real-ESRGAN-General-x4v3 TFLITE w8a8 Qualcomm® SA8255P 2.077 ms 0 - 152 MB NPU
Real-ESRGAN-General-x4v3 TFLITE w8a8 Qualcomm® QCS8450 2.721 ms 0 - 69 MB NPU
Real-ESRGAN-General-x4v3 TFLITE w8a8 Qualcomm® Dragonwing™ IQ-9075 1.913 ms 0 - 4 MB NPU
Real-ESRGAN-General-x4v3 TFLITE w8a8 Qualcomm® Dragonwing™ Q-6690 26.029 ms 1 - 149 MB NPU
Real-ESRGAN-General-x4v3 TFLITE w8a8 Qualcomm® Dragonwing™ Q-7790 2.359 ms 0 - 152 MB NPU
Real-ESRGAN-General-x4v3 TFLITE w8a8 Qualcomm® Dragonwing™ Q-8750 0.914 ms 0 - 35 MB NPU
Real-ESRGAN-General-x4v3 TFLITE w8a8 Qualcomm® SA7255P 5.701 ms 1 - 150 MB NPU
Real-ESRGAN-General-x4v3 TFLITE w8a8 Qualcomm® SA8295P 3.232 ms 0 - 46 MB NPU
Real-ESRGAN-General-x4v3 TFLITE w8a8 Snapdragon® 8 Elite Mobile 0.914 ms 0 - 35 MB NPU
Real-ESRGAN-General-x4v3 TFLITE w8a8 Snapdragon® 8 Elite Gen 5 Mobile 0.679 ms 0 - 37 MB NPU
Real-ESRGAN-General-x4v3 TFLITE w8a8 Snapdragon® 7 Gen 4 Mobile 2.359 ms 0 - 152 MB NPU

License

  • The license for the original implementation of Real-ESRGAN-General-x4v3 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. 🙋 1 Ask for provider support

Paper for qualcomm/Real-ESRGAN-General-x4v3