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.25.0 Download
ONNX w8a8 Universal QAIRT 2.45, ONNX Runtime 1.25.0 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:

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

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.388 ms 213 - 213 MB NPU
Real-ESRGAN-General-x4v3 ONNX float Snapdragon® X Elite 6.184 ms 149 - 149 MB NPU
Real-ESRGAN-General-x4v3 ONNX float Snapdragon® 8 Gen 3 Mobile 4.537 ms 7 - 185 MB NPU
Real-ESRGAN-General-x4v3 ONNX float Snapdragon® 8 Gen 1 Mobile 10.812 ms 0 - 197 MB NPU
Real-ESRGAN-General-x4v3 ONNX float Qualcomm® QCS8550 (Proxy) 6.004 ms 3 - 26 MB NPU
Real-ESRGAN-General-x4v3 ONNX float Qualcomm® QCS8450 10.812 ms 0 - 197 MB NPU
Real-ESRGAN-General-x4v3 ONNX float Snapdragon® 8 Elite Mobile 3.554 ms 0 - 150 MB NPU
Real-ESRGAN-General-x4v3 ONNX float Snapdragon® 8 Elite Gen 5 Mobile 2.651 ms 0 - 151 MB NPU
Real-ESRGAN-General-x4v3 ONNX float Qualcomm® QCS9075 9.717 ms 4 - 52 MB NPU
Real-ESRGAN-General-x4v3 ONNX float Qualcomm® QCS8750 3.554 ms 0 - 150 MB NPU
Real-ESRGAN-General-x4v3 ONNX float Qualcomm® QCS7181 6.184 ms 149 - 149 MB NPU
Real-ESRGAN-General-x4v3 ONNX w8a8 Snapdragon® X2 Elite 0.854 ms 213 - 213 MB NPU
Real-ESRGAN-General-x4v3 ONNX w8a8 Snapdragon® X Elite 1.772 ms 149 - 149 MB NPU
Real-ESRGAN-General-x4v3 ONNX w8a8 Snapdragon® 8 Gen 3 Mobile 1.197 ms 0 - 165 MB NPU
Real-ESRGAN-General-x4v3 ONNX w8a8 Snapdragon® 8 Gen 1 Mobile 2.836 ms 0 - 66 MB NPU
Real-ESRGAN-General-x4v3 ONNX w8a8 Qualcomm® QCS6490 6.29 ms 0 - 47 MB NPU
Real-ESRGAN-General-x4v3 ONNX w8a8 Qualcomm® QCS8550 (Proxy) 1.709 ms 0 - 105 MB NPU
Real-ESRGAN-General-x4v3 ONNX w8a8 Qualcomm® QCS8450 2.836 ms 0 - 66 MB NPU
Real-ESRGAN-General-x4v3 ONNX w8a8 Snapdragon® 8 Elite Gen 5 Mobile 0.68 ms 0 - 43 MB NPU
Real-ESRGAN-General-x4v3 ONNX w8a8 Snapdragon® 7 Gen 4 Mobile 2.451 ms 0 - 151 MB NPU
Real-ESRGAN-General-x4v3 ONNX w8a8 Qualcomm® QCM6690 25.381 ms 1 - 153 MB NPU
Real-ESRGAN-General-x4v3 ONNX w8a8 Qualcomm® QCS9075 1.947 ms 0 - 47 MB NPU
Real-ESRGAN-General-x4v3 ONNX w8a8 Snapdragon® 8 Elite Mobile 0.958 ms 0 - 47 MB NPU
Real-ESRGAN-General-x4v3 ONNX w8a8 Qualcomm® QCS7790 2.451 ms 0 - 151 MB NPU
Real-ESRGAN-General-x4v3 ONNX w8a8 Qualcomm® QCS8750 0.958 ms 0 - 47 MB NPU
Real-ESRGAN-General-x4v3 ONNX w8a8 Qualcomm® QCS7181 1.772 ms 149 - 149 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC float Snapdragon® X2 Elite 3.495 ms 0 - 0 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC float Snapdragon® X Elite 6.415 ms 0 - 0 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC float Snapdragon® 8 Gen 3 Mobile 4.266 ms 0 - 181 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC float Snapdragon® 8 Gen 1 Mobile 8.956 ms 0 - 89 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC float Qualcomm® QCS8275 33.209 ms 0 - 151 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC float Qualcomm® QCS8550 (Proxy) 5.843 ms 0 - 2 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC float Qualcomm® QCS8450 8.956 ms 0 - 89 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC float Snapdragon® 8 Elite Mobile 3.25 ms 0 - 158 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC float Qualcomm® SA8295P 9.742 ms 0 - 51 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC float Snapdragon® 8 Elite Gen 5 Mobile 2.309 ms 0 - 161 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC float Qualcomm® SA7255P 33.209 ms 0 - 151 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC float Qualcomm® QCS9075 9.628 ms 0 - 5 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC float Qualcomm® QCS8750 3.25 ms 0 - 158 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC float Qualcomm® QCS7181 6.415 ms 0 - 0 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Snapdragon® X2 Elite 0.972 ms 0 - 0 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Snapdragon® X Elite 1.956 ms 0 - 0 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Snapdragon® 8 Gen 3 Mobile 1.243 ms 0 - 163 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Snapdragon® 8 Gen 1 Mobile 2.639 ms 0 - 68 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Qualcomm® QCS6490 6.106 ms 0 - 2 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Qualcomm® QCS8275 5.678 ms 0 - 148 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Qualcomm® QCS8550 (Proxy) 1.755 ms 0 - 2 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Qualcomm® QCS8450 2.639 ms 0 - 68 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Snapdragon® 8 Elite Gen 5 Mobile 0.642 ms 0 - 36 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Snapdragon® 7 Gen 4 Mobile 2.359 ms 0 - 148 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Qualcomm® QCM6690 24.95 ms 0 - 148 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Qualcomm® QCS9075 1.981 ms 0 - 2 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Qualcomm® SA7255P 5.678 ms 0 - 148 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Snapdragon® 8 Elite Mobile 0.91 ms 0 - 35 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Qualcomm® SA8295P 3.229 ms 0 - 45 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Qualcomm® QCS7790 2.359 ms 0 - 148 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Qualcomm® QCS8750 0.91 ms 0 - 35 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Qualcomm® QCS7181 1.956 ms 0 - 0 MB NPU
Real-ESRGAN-General-x4v3 TFLITE float Snapdragon® 8 Gen 3 Mobile 4.294 ms 0 - 186 MB NPU
Real-ESRGAN-General-x4v3 TFLITE float Snapdragon® 8 Gen 1 Mobile 8.92 ms 3 - 93 MB NPU
Real-ESRGAN-General-x4v3 TFLITE float Qualcomm® QCS8275 33.239 ms 3 - 157 MB NPU
Real-ESRGAN-General-x4v3 TFLITE float Qualcomm® QCS8550 (Proxy) 5.851 ms 3 - 5 MB NPU
Real-ESRGAN-General-x4v3 TFLITE float Qualcomm® SA8775P 75.863 ms 3 - 21 MB GPU
Real-ESRGAN-General-x4v3 TFLITE float Qualcomm® SA8650P 75.863 ms 3 - 21 MB GPU
Real-ESRGAN-General-x4v3 TFLITE float Qualcomm® SA8255P 75.863 ms 3 - 21 MB GPU
Real-ESRGAN-General-x4v3 TFLITE float Qualcomm® QCS8450 8.92 ms 3 - 93 MB NPU
Real-ESRGAN-General-x4v3 TFLITE float Snapdragon® 8 Elite Mobile 3.265 ms 0 - 163 MB NPU
Real-ESRGAN-General-x4v3 TFLITE float Qualcomm® SA8295P 9.763 ms 3 - 57 MB NPU
Real-ESRGAN-General-x4v3 TFLITE float Snapdragon® 8 Elite Gen 5 Mobile 2.314 ms 0 - 165 MB NPU
Real-ESRGAN-General-x4v3 TFLITE float Qualcomm® SA7255P 33.239 ms 3 - 157 MB NPU
Real-ESRGAN-General-x4v3 TFLITE float Qualcomm® QCS9075 9.565 ms 1 - 9 MB NPU
Real-ESRGAN-General-x4v3 TFLITE float Qualcomm® QCS8750 3.265 ms 0 - 163 MB NPU
Real-ESRGAN-General-x4v3 TFLITE w8a8 Snapdragon® 8 Gen 3 Mobile 1.24 ms 0 - 164 MB NPU
Real-ESRGAN-General-x4v3 TFLITE w8a8 Snapdragon® 8 Gen 1 Mobile 2.689 ms 0 - 70 MB NPU
Real-ESRGAN-General-x4v3 TFLITE w8a8 Qualcomm® QCS6490 6.162 ms 1 - 5 MB NPU
Real-ESRGAN-General-x4v3 TFLITE w8a8 Qualcomm® QCS8275 5.718 ms 1 - 150 MB NPU
Real-ESRGAN-General-x4v3 TFLITE w8a8 Qualcomm® QCS8550 (Proxy) 1.769 ms 0 - 83 MB NPU
Real-ESRGAN-General-x4v3 TFLITE w8a8 Qualcomm® SA8775P 76.527 ms 4 - 25 MB GPU
Real-ESRGAN-General-x4v3 TFLITE w8a8 Qualcomm® SA8650P 76.527 ms 4 - 25 MB GPU
Real-ESRGAN-General-x4v3 TFLITE w8a8 Qualcomm® SA8255P 76.527 ms 4 - 25 MB GPU
Real-ESRGAN-General-x4v3 TFLITE w8a8 Qualcomm® QCS8450 2.689 ms 0 - 70 MB NPU
Real-ESRGAN-General-x4v3 TFLITE w8a8 Snapdragon® 8 Elite Gen 5 Mobile 0.644 ms 0 - 37 MB NPU
Real-ESRGAN-General-x4v3 TFLITE w8a8 Snapdragon® 7 Gen 4 Mobile 2.365 ms 0 - 148 MB NPU
Real-ESRGAN-General-x4v3 TFLITE w8a8 Qualcomm® QCM6690 25.008 ms 1 - 149 MB NPU
Real-ESRGAN-General-x4v3 TFLITE w8a8 Qualcomm® QCS9075 1.999 ms 0 - 4 MB NPU
Real-ESRGAN-General-x4v3 TFLITE w8a8 Qualcomm® SA7255P 5.718 ms 1 - 150 MB NPU
Real-ESRGAN-General-x4v3 TFLITE w8a8 Snapdragon® 8 Elite Mobile 0.914 ms 0 - 36 MB NPU
Real-ESRGAN-General-x4v3 TFLITE w8a8 Qualcomm® SA8295P 3.232 ms 0 - 46 MB NPU
Real-ESRGAN-General-x4v3 TFLITE w8a8 Qualcomm® QCS7790 2.365 ms 0 - 148 MB NPU
Real-ESRGAN-General-x4v3 TFLITE w8a8 Qualcomm® QCS8750 0.914 ms 0 - 36 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