If you have tried installing the original realesrgan and basicsr packages on a modern PyTorch 2.x + CUDA 12 Google Colab runtime lately, you already know how it goes: torchvision.transforms.functional_tensor was removed years ago, basicsr breaks on import, and half your GPU session disappears into wheel-pinning gymnastics.
When building AtelierPrint Vol. 1 , a 6-piece coordinated architectural fine-art print collection, I needed true 300 DPI masters up to 7200 x 10800 px (24x36 in) across all five global frame ratios ( 2:3 , 3:4 , 4:5 , 11x14 , and ISO A2 ) with zero interpolation mush and zero pip dependency hell.
The fix turned out to be surprisingly small: the official RealESRGAN_x4plus.pth checkpoint is just a standard 23-block RRDBNet ( num_in_ch=3 , num_out_ch=3 , num_feat=64 , num_block=23 , num_grow_ch=32 ). You do not need basicsr or facexlib at all.
1.…