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.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 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 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® 8 Elite Gen 5 For Galaxy Mobile 2.744 ms 0 - 146 MB NPU
Real-ESRGAN-General-x4v3 ONNX float Snapdragon® 8 Elite For Galaxy Mobile 3.494 ms 0 - 144 MB NPU
Real-ESRGAN-General-x4v3 ONNX float Snapdragon® X2 Elite 3.445 ms 8 - 8 MB NPU
Real-ESRGAN-General-x4v3 ONNX float Snapdragon® X Elite 6.182 ms 6 - 6 MB NPU
Real-ESRGAN-General-x4v3 ONNX float Snapdragon® 8 Gen 3 Mobile 4.54 ms 6 - 184 MB NPU
Real-ESRGAN-General-x4v3 ONNX float Snapdragon® 8 Gen 1 Mobile 9.609 ms 6 - 206 MB NPU
Real-ESRGAN-General-x4v3 ONNX float Qualcomm® Dragonwing™ IQ-8275 10.647 ms 6 - 10 MB NPU
Real-ESRGAN-General-x4v3 ONNX float Qualcomm® Dragonwing™ QCS8550 (Proxy) 6.006 ms 6 - 11 MB NPU
Real-ESRGAN-General-x4v3 ONNX float Qualcomm® QCS8450 9.609 ms 6 - 206 MB NPU
Real-ESRGAN-General-x4v3 ONNX float Qualcomm® Dragonwing™ IQ-9075 9.339 ms 6 - 10 MB NPU
Real-ESRGAN-General-x4v3 ONNX float Qualcomm® Dragonwing™ IQ-X7181 6.182 ms 6 - 6 MB NPU
Real-ESRGAN-General-x4v3 ONNX float Qualcomm® Dragonwing™ Q-8750 3.494 ms 0 - 144 MB NPU
Real-ESRGAN-General-x4v3 ONNX w8a8 Snapdragon® 8 Elite Gen 5 For Galaxy Mobile 0.708 ms 0 - 49 MB NPU
Real-ESRGAN-General-x4v3 ONNX w8a8 Snapdragon® 8 Elite For Galaxy Mobile 0.95 ms 0 - 47 MB NPU
Real-ESRGAN-General-x4v3 ONNX w8a8 Snapdragon® X2 Elite 0.85 ms 3 - 3 MB NPU
Real-ESRGAN-General-x4v3 ONNX w8a8 Snapdragon® X Elite 1.8 ms 2 - 2 MB NPU
Real-ESRGAN-General-x4v3 ONNX w8a8 Snapdragon® 8 Gen 3 Mobile 1.213 ms 0 - 168 MB NPU
Real-ESRGAN-General-x4v3 ONNX w8a8 Snapdragon® 8 Gen 1 Mobile 2.645 ms 0 - 77 MB NPU
Real-ESRGAN-General-x4v3 ONNX w8a8 Qualcomm® Dragonwing™ QCS6490 6.269 ms 2 - 5 MB NPU
Real-ESRGAN-General-x4v3 ONNX w8a8 Qualcomm® Dragonwing™ IQ-8275 1.981 ms 0 - 4 MB NPU
Real-ESRGAN-General-x4v3 ONNX w8a8 Qualcomm® Dragonwing™ QCS8550 (Proxy) 1.751 ms 0 - 4 MB NPU
Real-ESRGAN-General-x4v3 ONNX w8a8 Qualcomm® QCS8450 2.645 ms 0 - 77 MB NPU
Real-ESRGAN-General-x4v3 ONNX w8a8 Qualcomm® Dragonwing™ IQ-9075 1.912 ms 0 - 3 MB NPU
Real-ESRGAN-General-x4v3 ONNX w8a8 Qualcomm® Dragonwing™ IQ-X7181 1.8 ms 2 - 2 MB NPU
Real-ESRGAN-General-x4v3 ONNX w8a8 Qualcomm® Dragonwing™ Q-6690 25.154 ms 2 - 153 MB NPU
Real-ESRGAN-General-x4v3 ONNX w8a8 Qualcomm® Dragonwing™ Q-7790 2.42 ms 0 - 151 MB NPU
Real-ESRGAN-General-x4v3 ONNX w8a8 Qualcomm® Dragonwing™ Q-8750 0.95 ms 0 - 47 MB NPU
Real-ESRGAN-General-x4v3 ONNX w8a8 Snapdragon® 7 Gen 4 Mobile 2.42 ms 0 - 151 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC float Snapdragon® 8 Elite Gen 5 For Galaxy Mobile 2.421 ms 0 - 150 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC float Snapdragon® 8 Elite For Galaxy Mobile 3.22 ms 0 - 147 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC float Snapdragon® X2 Elite 3.552 ms 0 - 0 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC float Snapdragon® X Elite 6.261 ms 0 - 0 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC float Snapdragon® 8 Gen 3 Mobile 4.273 ms 0 - 173 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC float Snapdragon® 8 Gen 1 Mobile 8.659 ms 0 - 87 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC float Qualcomm® Dragonwing™ IQ-8275 10.214 ms 0 - 6 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC float Qualcomm® Dragonwing™ QCS8550 (Proxy) 5.745 ms 0 - 54 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC float Qualcomm® SA8775P 9.3 ms 0 - 149 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC float Qualcomm® SA8650P 9.3 ms 0 - 149 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC float Qualcomm® SA8255P 9.3 ms 0 - 149 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC float Qualcomm® QCS8450 8.659 ms 0 - 87 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC float Qualcomm® Dragonwing™ IQ-9075 9.031 ms 0 - 6 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC float Qualcomm® Dragonwing™ IQ-X7181 6.261 ms 0 - 0 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC float Qualcomm® Dragonwing™ Q-8750 3.22 ms 0 - 147 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC float Qualcomm® SA8295P 9.507 ms 0 - 50 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Snapdragon® 8 Elite Gen 5 For Galaxy Mobile 0.669 ms 0 - 40 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Snapdragon® 8 Elite For Galaxy Mobile 0.919 ms 0 - 38 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Snapdragon® X2 Elite 0.975 ms 0 - 0 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Snapdragon® X Elite 1.983 ms 0 - 0 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Snapdragon® 8 Gen 3 Mobile 1.237 ms 0 - 163 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Snapdragon® 8 Gen 1 Mobile 2.466 ms 0 - 69 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Qualcomm® Dragonwing™ QCS6490 5.897 ms 2 - 5 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Qualcomm® Dragonwing™ IQ-8275 1.975 ms 0 - 4 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Qualcomm® Dragonwing™ QCS8550 (Proxy) 1.753 ms 0 - 4 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Qualcomm® QCS8450 2.466 ms 0 - 69 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Qualcomm® Dragonwing™ IQ-9075 1.919 ms 0 - 3 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Qualcomm® Dragonwing™ IQ-X7181 1.983 ms 0 - 0 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Qualcomm® Dragonwing™ Q-6690 25.334 ms 0 - 144 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Qualcomm® Dragonwing™ Q-7790 2.461 ms 0 - 143 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Qualcomm® Dragonwing™ Q-8750 0.919 ms 0 - 38 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Qualcomm® SA7255P 5.632 ms 0 - 144 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Qualcomm® SA8295P 3.099 ms 0 - 47 MB NPU
Real-ESRGAN-General-x4v3 QNN_DLC w8a8 Snapdragon® 7 Gen 4 Mobile 2.461 ms 0 - 143 MB NPU
Real-ESRGAN-General-x4v3 TFLITE float Snapdragon® 8 Elite Gen 5 For Galaxy Mobile 2.421 ms 0 - 153 MB NPU
Real-ESRGAN-General-x4v3 TFLITE float Snapdragon® 8 Elite For Galaxy Mobile 3.265 ms 0 - 155 MB NPU
Real-ESRGAN-General-x4v3 TFLITE float Snapdragon® 8 Gen 3 Mobile 4.264 ms 0 - 175 MB NPU
Real-ESRGAN-General-x4v3 TFLITE float Snapdragon® 8 Gen 1 Mobile 8.836 ms 3 - 93 MB NPU
Real-ESRGAN-General-x4v3 TFLITE float Qualcomm® Dragonwing™ IQ-8275 10.222 ms 3 - 12 MB NPU
Real-ESRGAN-General-x4v3 TFLITE float Qualcomm® Dragonwing™ QCS8550 (Proxy) 5.724 ms 3 - 5 MB NPU
Real-ESRGAN-General-x4v3 TFLITE float Qualcomm® SA8775P 9.308 ms 3 - 156 MB NPU
Real-ESRGAN-General-x4v3 TFLITE float Qualcomm® SA8650P 9.308 ms 3 - 156 MB NPU
Real-ESRGAN-General-x4v3 TFLITE float Qualcomm® SA8255P 9.308 ms 3 - 156 MB NPU
Real-ESRGAN-General-x4v3 TFLITE float Qualcomm® QCS8450 8.836 ms 3 - 93 MB NPU
Real-ESRGAN-General-x4v3 TFLITE float Qualcomm® Dragonwing™ IQ-9075 9.04 ms 3 - 11 MB NPU
Real-ESRGAN-General-x4v3 TFLITE float Qualcomm® Dragonwing™ Q-8750 3.265 ms 0 - 155 MB NPU
Real-ESRGAN-General-x4v3 TFLITE float Qualcomm® SA7255P 33.059 ms 3 - 152 MB NPU
Real-ESRGAN-General-x4v3 TFLITE float Qualcomm® SA8295P 9.545 ms 3 - 56 MB NPU
Real-ESRGAN-General-x4v3 TFLITE w8a8 Snapdragon® 8 Elite Gen 5 For Galaxy Mobile 0.67 ms 0 - 41 MB NPU
Real-ESRGAN-General-x4v3 TFLITE w8a8 Snapdragon® 8 Elite For Galaxy Mobile 0.938 ms 0 - 38 MB NPU
Real-ESRGAN-General-x4v3 TFLITE w8a8 Snapdragon® 8 Gen 3 Mobile 1.236 ms 0 - 161 MB NPU
Real-ESRGAN-General-x4v3 TFLITE w8a8 Snapdragon® 8 Gen 1 Mobile 2.781 ms 0 - 68 MB NPU
Real-ESRGAN-General-x4v3 TFLITE w8a8 Qualcomm® Dragonwing™ QCS6490 5.897 ms 1 - 5 MB NPU
Real-ESRGAN-General-x4v3 TFLITE w8a8 Qualcomm® Dragonwing™ IQ-8275 1.984 ms 0 - 5 MB NPU
Real-ESRGAN-General-x4v3 TFLITE w8a8 Qualcomm® Dragonwing™ QCS8550 (Proxy) 1.761 ms 0 - 2 MB NPU
Real-ESRGAN-General-x4v3 TFLITE w8a8 Qualcomm® SA8775P 75.872 ms 4 - 26 MB GPU
Real-ESRGAN-General-x4v3 TFLITE w8a8 Qualcomm® SA8650P 75.872 ms 4 - 26 MB GPU
Real-ESRGAN-General-x4v3 TFLITE w8a8 Qualcomm® SA8255P 75.872 ms 4 - 26 MB GPU
Real-ESRGAN-General-x4v3 TFLITE w8a8 Qualcomm® QCS8450 2.781 ms 0 - 68 MB NPU
Real-ESRGAN-General-x4v3 TFLITE w8a8 Qualcomm® Dragonwing™ IQ-9075 1.938 ms 0 - 4 MB NPU
Real-ESRGAN-General-x4v3 TFLITE w8a8 Qualcomm® Dragonwing™ Q-6690 25.415 ms 1 - 146 MB NPU
Real-ESRGAN-General-x4v3 TFLITE w8a8 Qualcomm® Dragonwing™ Q-7790 2.465 ms 0 - 144 MB NPU
Real-ESRGAN-General-x4v3 TFLITE w8a8 Qualcomm® Dragonwing™ Q-8750 0.938 ms 0 - 38 MB NPU
Real-ESRGAN-General-x4v3 TFLITE w8a8 Qualcomm® SA7255P 5.688 ms 1 - 145 MB NPU
Real-ESRGAN-General-x4v3 TFLITE w8a8 Qualcomm® SA8295P 3.119 ms 0 - 48 MB NPU
Real-ESRGAN-General-x4v3 TFLITE w8a8 Snapdragon® 7 Gen 4 Mobile 2.465 ms 0 - 144 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