Aller au contenu
ModelPrésentéExterne
Télécharger

Real ESRGAN OpenVINO

Pre-converted Real-ESRGAN models in OpenVINO IR format, optimized for Intel CPUs.

TypeOtherVersionReal esrgan x2plus fp32BClasse

Source du modèle

Type
Other
Taille du fichier
8,52–31,9 MB
Version
vReal esrgan x2plus fp32
Mis à jour
9 oct. 2026
Source
Hugging Face

Description de la source

Real-ESRGAN OpenVINO

Pre-converted Real-ESRGAN models in OpenVINO IR format, optimized for Intel CPUs.

Up to 13x faster than PyTorch for the same accuracy while using less memory.

Models

ModelScaleParametersUse Case
real_esrgan_x4plus_fp324x16.7MGeneral photos
real_esrgan_x2plus_fp322x16.7MGeneral photos (2x)
real_esrgan_x4plus_anime_6B_fp324x5.9MAnime/illustrations

All models accept uint8 NHWC input directly (preprocessing baked into IR).

Highly Optimized

This implementation leverages Intel OpenVINO with AVX-512 and AMX instructions for maximum CPU performance. The speedup increases with image size, making it especially efficient for large images.

Benchmark

For reference, here's the time required to upscale images using different implementations:

x4plus model on Intel Xeon Platinum 8581C

Input SizeOutput SizePyTorch (s)OpenVINO (s)SpeedupMemory
128x128512x5120.6350.1145.58x9.9 MB
256x2561024x10243.6730.3919.39x39.2 MB
512x5122048x204819.9191.48513.42x57.9 MB
1024x10244096x409679.3855.95513.33x96.2 MB

x2plus model on Intel Xeon Platinum 8581C

Input SizeOutput SizePyTorch (s)OpenVINO (s)SpeedupMemory
128x128256x2560.1930.0513.81x2.6 MB
256x256512x5120.6820.1116.13x9.9 MB
512x5121024x10243.6040.4058.89x15.2 MB
1024x10242048x204821.1741.61813.09x26.5 MB

x4plus_anime_6B model on Intel Xeon Platinum 8581C

Input SizeOutput SizePyTorch (s)OpenVINO (s)SpeedupMemory
128x128512x5120.2430.0475.15x6.9 MB
256x2561024x10241.2870.1548.35x27.2 MB
512x5122048x20486.6170.58311.34x45.9 MB
1024x10244096x409626.3662.34111.26x84.2 MB

Benchmarks executed on Intel Xeon Platinum 8581C (8 cores, 16 threads, AVX-512, AMX).

Usage

See the GitHub repository for usage instructions, examples, and benchmarks.

Citations

@inproceedings{wang2021realesrgan,
  title={Real-ESRGAN: Training Real-World Blind Super-Resolution with Pure Synthetic Data},
  author={Wang, Xintao and Xie, Liangbin and Dong, Chao and Shan, Ying},
  booktitle={International Conference on Computer Vision Workshops (ICCVW)},
  year={2021}
}

Sources

1 source
Hugging FacePrincipalVersion 526cd1817ead9c0f2df99ba1560f2d0e3cc1b487
huggingface.co/ibrhr/Real-ESRGAN-OpenVINO/tree/526cd1817ead9c0f2df99ba1560f2d0e3cc1b487

Vérifié 9 oct.

Artefacts du modèle

3 artefacts

models/real_esrgan_x2plus_fp32.bin

bin · 31,9 MB · SHA-256 fde9317eb936…a986 · Hugging Face

Télécharger

models/real_esrgan_x4plus_anime_6B_fp32.bin

bin · 8,52 MB · SHA-256 33cdab2f6e29…8a2f · Hugging Face

Télécharger

models/real_esrgan_x4plus_fp32.bin

bin · 31,9 MB · SHA-256 f769a0334272…9c9a · Hugging Face

Télécharger

Extraits de sources

2 extraits

--- license: apache-2.0 tags: - openvino - image-to-image - super-resolution - image-upscaling - real-esrgan base_model: - xinntao/RealESRGAN_x4plus - xinntao/RealESRGAN_x2plus - xinntao/RealESRGAN_x4plus_anime_6B pipeline_tag: image-to-image --- # Real-ESRGAN OpenVINO Pre-converted [Real-ESRGAN](https://github.com/xinntao/Real-ESRGAN) models in OpenVINO IR format, optimized for Intel CPUs. **Up to 13x faster** than PyTorch for the same accuracy while using less memory. ## Models | Model | Scale | Parameters | Use Case | |-------|-------|------------|----------| | `real_esrgan_x4plus_fp32` | 4x | 16.7M | General photos | | `real_esrgan_x2plus_fp32` | 2x | 16.7M | General photos (2x) | | `real_esrgan_x4plus_anime_6B_fp32` | 4x | 5.9M | Anime/illustrations | All models accept `uint8` NHWC input directly (preprocessing baked into IR). ## Highly Optimized This implementation leverages Intel OpenVINO with AVX-512 and AMX instructions for maximum CPU performance. The speedup increases with image size, making it especially efficient for large images. ### Benchmark For reference, here's the time required to upscale images using different implementations: * [PyTorch](https://pytorch.org/) - Standard PyTorch inference * [OpenVINO](https://docs.openvino.ai/) - Optimized for Intel CPUs ### x4plus model on Intel Xeon Platinum 8581C | Input Size | Output Size | PyTorch (s) | OpenVINO (s) | Speedup | Memory | |------------|-------------|-------------|--------------|---------|--------| | 128x128 | 512x512 | 0.635 | 0.114 | **5.58x** | 9.9 MB | | 256x256 | 1024x1024 | 3.673 | 0.391 | **9.39x** | 39.2 MB | | 512x512 | 2048x2048 | 19.919 | 1.485 | **13.42x** | 57.9 MB | | 1024x1024 | 4096x4096 | 79.385 | 5.955 | **13.33x** | 96.2 MB | ### x2plus model on Intel Xeon Platinum 8581C | Input Size | Output Size | PyTorch (s) | OpenVINO (s) | Speedup | Memory | |------------|-------------|-------------|--------------|---------|--------| | 128x128 | 256x256 | 0.193 | 0.051 | **3.81x** | 2.6 MB | | 256x256 | 512x512 | 0.682 | 0.111 | **6.13x** | 9.9 MB | | 512x512 | 1024x1024 | 3.604 | 0.405 | **8.89x** | 15.2 MB | | 1024x1024 | 2048x2048 | 21.174 | 1.618 | **13.09x** | 26.5 MB | ### x4plus_anime_6B model on Intel Xeon Platinum 8581C | Input Size | Output Size | PyTorch (s) | OpenVINO (s) | Speedup | Memory | |------------|-------------|-------------|------...

Source context: 0 downloads · 0 likes · Pipeline image-to-image · Repo ibrhr/Real-ESRGAN-OpenVINO