CoolFace
Modelpublic

qualcomm/ESRGAN

sourceHugging Faceapache-2.0updated 11d agoView on Hugging Face
6likes1.3kdownloads
Model Card

ESRGAN: Optimized for Qualcomm Devices

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

This is based on the implementation of ESRGAN 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.

RuntimePrecisionChipsetSDK VersionsDownload
ONNXfloatUniversalQAIRT 2.45, ONNX Runtime 1.27.1Download
ONNXw8a16UniversalQAIRT 2.45, ONNX Runtime 1.27.1Download
QNN_DLCfloatUniversalQAIRT 2.45Download
QNN_DLCw8a16UniversalQAIRT 2.45Download
TFLITEfloatUniversalQAIRT 2.45Download

For more device-specific assets and performance metrics, visit [ESRGAN on Qualcomm® AI Hub](https://aihub.qualcomm.com/models/esrgan).

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 ESRGAN on GitHub for usage instructions.

Model Details

Model Type: Modelusecase.super_resolution

Model Stats:

  • Input resolution: 128x128
  • Model checkpoint: ESRGAN_x4
  • Model size (float): 63.9 MB
  • Number of parameters: 16.7M

Performance Summary

ModelRuntimePrecisionChipsetInference Time (ms)Peak Memory Range (MB)Primary Compute Unit
ESRGANONNXfloatSnapdragon® X2 Elite34.318 ms8 - 8 MBNPU
ESRGANONNXfloatSnapdragon® X Elite65.423 ms38 - 38 MBNPU
ESRGANONNXfloatSnapdragon® 8 Gen 3 Mobile51.062 ms0 - 745 MBNPU
ESRGANONNXfloatSnapdragon® 8 Gen 1 Mobile118.049 ms4 - 741 MBNPU
ESRGANONNXfloatQualcomm® Dragonwing™ IQ-8275127.563 ms6 - 10 MBNPU
ESRGANONNXfloatQualcomm® Dragonwing™ QCS8550 (Proxy)63.529 ms0 - 43 MBNPU
ESRGANONNXfloatQualcomm® QCS8450118.049 ms4 - 741 MBNPU
ESRGANONNXfloatQualcomm® Dragonwing™ IQ-9075105.926 ms6 - 9 MBNPU
ESRGANONNXfloatQualcomm® Dragonwing™ IQ-X718165.423 ms38 - 38 MBNPU
ESRGANONNXfloatQualcomm® Dragonwing™ Q-875038.69 ms7 - 358 MBNPU
ESRGANONNXfloatSnapdragon® 8 Elite Mobile38.69 ms7 - 358 MBNPU
ESRGANONNXfloatSnapdragon® 8 Elite Gen 5 Mobile26.12 ms5 - 361 MBNPU
ESRGANONNXw8a16Snapdragon® X2 Elite21.996 ms4 - 4 MBNPU
ESRGANONNXw8a16Snapdragon® X Elite43.397 ms26 - 26 MBNPU
ESRGANONNXw8a16Snapdragon® 8 Gen 3 Mobile31.981 ms3 - 1115 MBNPU
ESRGANONNXw8a16Snapdragon® 8 Gen 1 Mobile83.95 ms4 - 1198 MBNPU
ESRGANONNXw8a16Qualcomm® Dragonwing™ QCS6490323.654 ms4 - 7 MBNPU
ESRGANONNXw8a16Qualcomm® Dragonwing™ IQ-827543.191 ms3 - 7 MBNPU
ESRGANONNXw8a16Qualcomm® Dragonwing™ QCS8550 (Proxy)41.903 ms0 - 725 MBNPU
ESRGANONNXw8a16Qualcomm® QCS845083.95 ms4 - 1198 MBNPU
ESRGANONNXw8a16Qualcomm® Dragonwing™ IQ-907538.006 ms3 - 6 MBNPU
ESRGANONNXw8a16Qualcomm® Dragonwing™ IQ-X718143.397 ms26 - 26 MBNPU
ESRGANONNXw8a16Qualcomm® Dragonwing™ Q-66901128.366 ms0 - 696 MBNPU
ESRGANONNXw8a16Qualcomm® Dragonwing™ Q-779089.102 ms3 - 784 MBNPU
ESRGANONNXw8a16Qualcomm® Dragonwing™ Q-875026.489 ms3 - 907 MBNPU
ESRGANONNXw8a16Snapdragon® 8 Elite Mobile26.489 ms3 - 907 MBNPU
ESRGANONNXw8a16Snapdragon® 8 Elite Gen 5 Mobile16.934 ms3 - 1072 MBNPU
ESRGANONNXw8a16Snapdragon® 7 Gen 4 Mobile89.102 ms3 - 784 MBNPU
ESRGANQNN_DLCfloatSnapdragon® X2 Elite34.371 ms0 - 0 MBNPU
ESRGANQNN_DLCfloatSnapdragon® X Elite65.02 ms0 - 0 MBNPU
ESRGANQNN_DLCfloatSnapdragon® 8 Gen 3 Mobile48.702 ms0 - 706 MBNPU
ESRGANQNN_DLCfloatSnapdragon® 8 Gen 1 Mobile112.305 ms0 - 709 MBNPU
ESRGANQNN_DLCfloatQualcomm® Dragonwing™ IQ-8275127.079 ms0 - 6 MBNPU
ESRGANQNN_DLCfloatQualcomm® Dragonwing™ QCS8550 (Proxy)62.121 ms0 - 4 MBNPU
ESRGANQNN_DLCfloatQualcomm® SA8775P105.485 ms1 - 351 MBNPU
ESRGANQNN_DLCfloatQualcomm® SA8650P105.485 ms1 - 351 MBNPU
ESRGANQNN_DLCfloatQualcomm® SA8255P105.485 ms1 - 351 MBNPU
ESRGANQNN_DLCfloatQualcomm® QCS8450112.305 ms0 - 709 MBNPU
ESRGANQNN_DLCfloatQualcomm® Dragonwing™ IQ-9075105.513 ms0 - 5 MBNPU
ESRGANQNN_DLCfloatQualcomm® Dragonwing™ IQ-X718165.02 ms0 - 0 MBNPU
ESRGANQNN_DLCfloatQualcomm® Dragonwing™ Q-875037.969 ms0 - 332 MBNPU
ESRGANQNN_DLCfloatQualcomm® SA7255P452.028 ms1 - 352 MBNPU
ESRGANQNN_DLCfloatQualcomm® SA8295P111.356 ms0 - 358 MBNPU
ESRGANQNN_DLCfloatSnapdragon® 8 Elite Mobile37.969 ms0 - 332 MBNPU
ESRGANQNN_DLCfloatSnapdragon® 8 Elite Gen 5 Mobile25.47 ms0 - 334 MBNPU
ESRGANQNN_DLCw8a16Snapdragon® X2 Elite21.845 ms0 - 0 MBNPU
ESRGANQNN_DLCw8a16Snapdragon® X Elite43.152 ms0 - 0 MBNPU
ESRGANQNN_DLCw8a16Snapdragon® 8 Gen 3 Mobile31.436 ms0 - 1030 MBNPU
ESRGANQNN_DLCw8a16Snapdragon® 8 Gen 1 Mobile89.46 ms0 - 1114 MBNPU
ESRGANQNN_DLCw8a16Qualcomm® Dragonwing™ QCS6490320.624 ms0 - 3 MBNPU
ESRGANQNN_DLCw8a16Qualcomm® Dragonwing™ IQ-827542.732 ms0 - 4 MBNPU
ESRGANQNN_DLCw8a16Qualcomm® Dragonwing™ QCS8550 (Proxy)41.399 ms0 - 3 MBNPU
ESRGANQNN_DLCw8a16Qualcomm® SA8775P37.636 ms0 - 667 MBNPU
ESRGANQNN_DLCw8a16Qualcomm® SA8650P37.636 ms0 - 667 MBNPU
ESRGANQNN_DLCw8a16Qualcomm® SA8255P37.636 ms0 - 667 MBNPU
ESRGANQNN_DLCw8a16Qualcomm® QCS845089.46 ms0 - 1114 MBNPU
ESRGANQNN_DLCw8a16Qualcomm® Dragonwing™ IQ-907537.347 ms0 - 3 MBNPU
ESRGANQNN_DLCw8a16Qualcomm® Dragonwing™ IQ-X718143.152 ms0 - 0 MBNPU
ESRGANQNN_DLCw8a16Qualcomm® Dragonwing™ Q-66901125.268 ms0 - 621 MBNPU
ESRGANQNN_DLCw8a16Qualcomm® Dragonwing™ Q-779087.728 ms2 - 710 MBNPU
ESRGANQNN_DLCw8a16Qualcomm® Dragonwing™ Q-875028.284 ms0 - 837 MBNPU
ESRGANQNN_DLCw8a16Qualcomm® SA7255P132.81 ms0 - 666 MBNPU
ESRGANQNN_DLCw8a16Qualcomm® SA8295P68.189 ms0 - 713 MBNPU
ESRGANQNN_DLCw8a16Snapdragon® 8 Elite Mobile28.284 ms0 - 837 MBNPU
ESRGANQNN_DLCw8a16Snapdragon® 8 Elite Gen 5 Mobile16.427 ms0 - 995 MBNPU
ESRGANQNN_DLCw8a16Snapdragon® 7 Gen 4 Mobile87.728 ms2 - 710 MBNPU
ESRGANTFLITEfloatSnapdragon® 8 Gen 3 Mobile49.895 ms3 - 750 MBNPU
ESRGANTFLITEfloatSnapdragon® 8 Gen 1 Mobile114.837 ms2 - 743 MBNPU
ESRGANTFLITEfloatQualcomm® Dragonwing™ IQ-8275126.871 ms3 - 46 MBNPU
ESRGANTFLITEfloatQualcomm® Dragonwing™ QCS8550 (Proxy)63.901 ms3 - 6 MBNPU
ESRGANTFLITEfloatQualcomm® SA8775P105.574 ms0 - 391 MBNPU
ESRGANTFLITEfloatQualcomm® SA8650P105.574 ms0 - 391 MBNPU
ESRGANTFLITEfloatQualcomm® SA8255P105.574 ms0 - 391 MBNPU
ESRGANTFLITEfloatQualcomm® QCS8450114.837 ms2 - 743 MBNPU
ESRGANTFLITEfloatQualcomm® Dragonwing™ IQ-9075105.353 ms3 - 46 MBNPU
ESRGANTFLITEfloatQualcomm® Dragonwing™ Q-875037.53 ms3 - 374 MBNPU
ESRGANTFLITEfloatQualcomm® SA7255P452.042 ms4 - 396 MBNPU
ESRGANTFLITEfloatQualcomm® SA8295P111.359 ms3 - 392 MBNPU
ESRGANTFLITEfloatSnapdragon® 8 Elite Mobile37.53 ms3 - 374 MBNPU
ESRGANTFLITEfloatSnapdragon® 8 Elite Gen 5 Mobile25.558 ms3 - 375 MBNPU

License

  • The license for the original implementation of ESRGAN can be found here.

References

Community