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.42, ONNX Runtime 1.24.3 Download
ONNX w8a8 Universal QAIRT 2.42, ONNX Runtime 1.24.3 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® 8 Elite Gen 5 Mobile 2.65 ms 0 - 152 MB NPU
Real-ESRGAN-General-x4v3 ONNX float Snapdragon® 8 Elite Mobile 3.572 ms 0 - 147 MB NPU
Real-ESRGAN-General-x4v3 ONNX float Snapdragon® X2 Elite 3.438 ms 4 - 4 MB NPU
Real-ESRGAN-General-x4v3 ONNX float Snapdragon® X Elite 6.426 ms 9 - 9 MB NPU
Real-ESRGAN-General-x4v3 ONNX float Snapdragon® X Elite 6.426 ms 9 - 9 MB NPU
Real-ESRGAN-General-x4v3 ONNX float Snapdragon® 8 Gen 3 Mobile 4.557 ms 6 - 199 MB NPU
Real-ESRGAN-General-x4v3 ONNX float Qualcomm® QCS8550 (Proxy) 5.973 ms 6 - 8 MB NPU
Real-ESRGAN-General-x4v3 ONNX float Qualcomm® QCS9075 9.826 ms 6 - 9 MB NPU
Real-ESRGAN-General-x4v3 ONNX float Snapdragon® 8 Elite For Galaxy Mobile 3.572 ms 0 - 147 MB NPU
Real-ESRGAN-General-x4v3 ONNX w8a8 Snapdragon® 8 Elite Gen 5 Mobile 0.695 ms 0 - 157 MB NPU
Real-ESRGAN-General-x4v3 ONNX w8a8 Snapdragon® 8 Elite Mobile 0.979 ms 0 - 39 MB NPU
Real-ESRGAN-General-x4v3 ONNX w8a8 Snapdragon® X2 Elite 2.788 ms 0 - 0 MB NPU
Real-ESRGAN-General-x4v3 ONNX w8a8 Snapdragon® X Elite 1.948 ms 2 - 2 MB NPU
Real-ESRGAN-General-x4v3 ONNX w8a8 Snapdragon® X Elite 1.948 ms 2 - 2 MB NPU
Real-ESRGAN-General-x4v3 ONNX w8a8 Snapdragon® 8 Gen 3 Mobile 1.226 ms 0 - 169 MB NPU
Real-ESRGAN-General-x4v3 ONNX w8a8 Qualcomm® QCS6490 154.727 ms 23 - 29 MB CPU
Real-ESRGAN-General-x4v3 ONNX w8a8 Qualcomm® QCS8550 (Proxy) 1.728 ms 0 - 79 MB NPU
Real-ESRGAN-General-x4v3 ONNX w8a8 Qualcomm® QCS9075 1.95 ms 0 - 3 MB NPU
Real-ESRGAN-General-x4v3 ONNX w8a8 Qualcomm® QCM6690 146.545 ms 23 - 31 MB CPU
Real-ESRGAN-General-x4v3 ONNX w8a8 Snapdragon® 8 Elite For Galaxy Mobile 0.979 ms 0 - 39 MB NPU
Real-ESRGAN-General-x4v3 ONNX w8a8 Snapdragon® 7 Gen 4 Mobile 119.411 ms 26 - 35 MB CPU
Real-ESRGAN-General-x4v3 ONNX w8a8 Snapdragon® 7 Gen 4 Mobile 119.411 ms 26 - 35 MB CPU
Real-ESRGAN-General-x4v3 QNN_DLC float Snapdragon® 8 Elite Gen 5 Mobile 2.302 ms 0 - 159 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC float Snapdragon® 8 Elite Mobile 3.253 ms 0 - 155 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC float Snapdragon® X2 Elite 3.497 ms 0 - 0 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC float Snapdragon® X Elite 6.353 ms 0 - 0 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC float Snapdragon® X Elite 6.353 ms 0 - 0 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC float Snapdragon® 8 Gen 3 Mobile 4.291 ms 0 - 184 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC float Qualcomm® QCS8275 (Proxy) 33.183 ms 0 - 150 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC float Qualcomm® QCS8550 (Proxy) 5.828 ms 0 - 3 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC float Qualcomm® SA8775P 9.407 ms 0 - 154 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC float Qualcomm® SA8775P 9.407 ms 0 - 154 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC float Qualcomm® SA8775P 9.407 ms 0 - 154 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC float Qualcomm® QCS9075 9.619 ms 0 - 5 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC float Qualcomm® QCS8450 (Proxy) 8.887 ms 0 - 89 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC float Qualcomm® SA7255P 33.183 ms 0 - 150 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC float Qualcomm® SA8295P 9.725 ms 0 - 51 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC float Snapdragon® 8 Elite For Galaxy Mobile 3.253 ms 0 - 155 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Snapdragon® 8 Elite Gen 5 Mobile 0.638 ms 0 - 38 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Snapdragon® 8 Elite Mobile 0.924 ms 0 - 39 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Snapdragon® X2 Elite 0.97 ms 0 - 0 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Snapdragon® X Elite 1.975 ms 0 - 0 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Snapdragon® X Elite 1.975 ms 0 - 0 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Snapdragon® 8 Gen 3 Mobile 1.242 ms 0 - 163 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Qualcomm® QCS6490 6.263 ms 0 - 2 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Qualcomm® QCS8275 (Proxy) 5.675 ms 0 - 148 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Qualcomm® QCS8550 (Proxy) 1.751 ms 0 - 2 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Qualcomm® SA8775P 2.047 ms 0 - 151 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Qualcomm® SA8775P 2.047 ms 0 - 151 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Qualcomm® SA8775P 2.047 ms 0 - 151 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Qualcomm® QCS9075 1.98 ms 2 - 4 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Qualcomm® QCM6690 25.018 ms 0 - 147 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Qualcomm® QCS8450 (Proxy) 2.809 ms 0 - 66 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Qualcomm® SA7255P 5.675 ms 0 - 148 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Qualcomm® SA8295P 3.233 ms 0 - 45 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Snapdragon® 8 Elite For Galaxy Mobile 0.924 ms 0 - 39 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Snapdragon® 7 Gen 4 Mobile 2.353 ms 0 - 147 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Snapdragon® 7 Gen 4 Mobile 2.353 ms 0 - 147 MB NPU
Real-ESRGAN-General-x4v3 TFLITE float Snapdragon® 8 Elite Gen 5 Mobile 2.302 ms 0 - 163 MB NPU
Real-ESRGAN-General-x4v3 TFLITE float Snapdragon® 8 Elite Mobile 3.219 ms 0 - 158 MB NPU
Real-ESRGAN-General-x4v3 TFLITE float Snapdragon® 8 Gen 3 Mobile 4.291 ms 0 - 186 MB NPU
Real-ESRGAN-General-x4v3 TFLITE float Qualcomm® QCS8275 (Proxy) 33.217 ms 3 - 157 MB NPU
Real-ESRGAN-General-x4v3 TFLITE float Qualcomm® QCS8550 (Proxy) 5.886 ms 3 - 6 MB NPU
Real-ESRGAN-General-x4v3 TFLITE float Qualcomm® SA8775P 9.439 ms 3 - 160 MB NPU
Real-ESRGAN-General-x4v3 TFLITE float Qualcomm® SA8775P 9.439 ms 3 - 160 MB NPU
Real-ESRGAN-General-x4v3 TFLITE float Qualcomm® SA8775P 9.439 ms 3 - 160 MB NPU
Real-ESRGAN-General-x4v3 TFLITE float Qualcomm® QCS9075 9.566 ms 3 - 11 MB NPU
Real-ESRGAN-General-x4v3 TFLITE float Qualcomm® QCS8450 (Proxy) 8.891 ms 3 - 96 MB NPU
Real-ESRGAN-General-x4v3 TFLITE float Qualcomm® SA7255P 33.217 ms 3 - 157 MB NPU
Real-ESRGAN-General-x4v3 TFLITE float Qualcomm® SA8295P 9.76 ms 3 - 57 MB NPU
Real-ESRGAN-General-x4v3 TFLITE float Snapdragon® 8 Elite For Galaxy Mobile 3.219 ms 0 - 158 MB NPU
Real-ESRGAN-General-x4v3 TFLITE w8a8 Snapdragon® 8 Elite Gen 5 Mobile 0.648 ms 0 - 39 MB NPU
Real-ESRGAN-General-x4v3 TFLITE w8a8 Snapdragon® 8 Elite Mobile 0.918 ms 0 - 35 MB NPU
Real-ESRGAN-General-x4v3 TFLITE w8a8 Snapdragon® 8 Gen 3 Mobile 1.244 ms 12 - 177 MB NPU
Real-ESRGAN-General-x4v3 TFLITE w8a8 Qualcomm® QCS6490 6.18 ms 1 - 5 MB NPU
Real-ESRGAN-General-x4v3 TFLITE w8a8 Qualcomm® QCS8275 (Proxy) 5.693 ms 1 - 150 MB NPU
Real-ESRGAN-General-x4v3 TFLITE w8a8 Qualcomm® QCS8550 (Proxy) 1.759 ms 0 - 2 MB NPU
Real-ESRGAN-General-x4v3 TFLITE w8a8 Qualcomm® SA8775P 2.063 ms 0 - 152 MB NPU
Real-ESRGAN-General-x4v3 TFLITE w8a8 Qualcomm® SA8775P 2.063 ms 0 - 152 MB NPU
Real-ESRGAN-General-x4v3 TFLITE w8a8 Qualcomm® SA8775P 2.063 ms 0 - 152 MB NPU
Real-ESRGAN-General-x4v3 TFLITE w8a8 Qualcomm® QCS9075 1.997 ms 0 - 4 MB NPU
Real-ESRGAN-General-x4v3 TFLITE w8a8 Qualcomm® QCM6690 24.952 ms 1 - 150 MB NPU
Real-ESRGAN-General-x4v3 TFLITE w8a8 Qualcomm® QCS8450 (Proxy) 2.842 ms 0 - 65 MB NPU
Real-ESRGAN-General-x4v3 TFLITE w8a8 Qualcomm® SA7255P 5.693 ms 1 - 150 MB NPU
Real-ESRGAN-General-x4v3 TFLITE w8a8 Qualcomm® SA8295P 3.227 ms 0 - 46 MB NPU
Real-ESRGAN-General-x4v3 TFLITE w8a8 Snapdragon® 8 Elite For Galaxy Mobile 0.918 ms 0 - 35 MB NPU
Real-ESRGAN-General-x4v3 TFLITE w8a8 Snapdragon® 7 Gen 4 Mobile 2.364 ms 0 - 149 MB NPU
Real-ESRGAN-General-x4v3 TFLITE w8a8 Snapdragon® 7 Gen 4 Mobile 2.364 ms 0 - 149 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. 🙋 Ask for provider support

Paper for ColorMediaGroup/Real-ESRGAN-General-x4v3