Real-ESRGAN (MLX)
Collection
Apple MLX fp16 ports of Real-ESRGAN super-resolution (RRDBNet + SRVGGNetCompact), 5 variants, BSD-3. • 5 items • Updated
How to use mlx-community/Real-ESRGAN-x4plus with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] huggingface-cli download --local-dir Real-ESRGAN-x4plus mlx-community/Real-ESRGAN-x4plus
Apple MLX fp16 port of Real-ESRGAN RealESRGAN_x4plus (RRDBNet, ×4), for super-resolution on Apple Silicon. Converted from the official xinntao/Real-ESRGAN release checkpoint (BSD-3-Clause).
pip install realesrgan-mlx # https://github.com/xocialize/realesrgan-mlx
realesrgan-mlx -i input.png -o out/ -n RealESRGAN_x4plus
from realesrgan_mlx.pipeline_mlx import make_upsampler, upscale_image
up = make_upsampler("RealESRGAN_x4plus", tile=256) # tile>0 caps memory on large images
out = upscale_image("input.png", up)
make_upsampler downloads these weights automatically.
num_feat=64, num_block=23, num_grow_ch=32)BSD-3-Clause (upstream Real-ESRGAN, Xintao Wang et al.).
Quantized