The story
LocalSR started with other people’s models. At some point I wanted my own: models that run on the NPU, so I can upscale things while still using my computer. I also wanted to find out what these NPUs can really do, because there is little practical experience with super-resolution on them. On a Mac the NPU is the Neural Engine.
I set three rules for the models. Every training image comes from a collection its publisher releases as CC0, so the weights can be shared under an open licence. The Neural Engine only runs a narrow set of operations well. Therefore the network uses nothing but plain convolutions, ReLU, additions, and pixel shuffle. And most decisions were made with a rule written before the result. Where a model didn’t pass its rule, I say so.
Photo S and Photo M
What surprised me most is how far a small model gets with little training data: 1,397 source photos. I made two heavily optimised models that run in the background on the Neural Engine. Photo S (0.62M parameters) is as fast as or faster than the model LocalSR used until now for its Quick preset, and better. Photo M (2.03M parameters) is 5 to 11 times faster than much larger models like NomosWebPhoto and Real-ESRGAN, for a little less quality. Both stay fast on old computers without an NPU: on a 2017 laptop, a 1-megapixel photo takes 25 seconds with Photo M, against 3.3 minutes with NomosWebPhoto.
They aren’t state of the art. Much larger models like Real-ESRGAN are still ahead on soft, noisy camera photos. The weights are released under CC BY 4.0, so you can use them, commercially too, as long as you credit them. The network code and an upscaling script are under the MIT licence, and there is a short technical report with all the numbers.
Faces
Before that, I trained a face-specialised 4x checkpoint of HAT-L as an optional companion model for LocalSR. The first attempt was a warning. It invented plausibility instead of structure. I then interpolated the weights back toward the stock HAT-L base and picked a blend (25% face-tuned, 75% stock HAT-L). Neither the training code nor the weights are public, because the training mix includes FFHQ and EFHQ (research-only datasets). The whole story has the numbers.
Video
Run frame by frame on video, a GAN-trained upscaler re-invents fine texture from each frame’s grain, and that texture flickers. So I fine-tuned Photo S to give the same result for two noisy, slightly shifted copies of the same crop. Neither version passed the rule I set before training, and in a side-by-side eye test I couldn’t tell them apart from Photo S. Therefore they are in the release as experiments, and for video I recommend plain Photo S.
For a proper video model, I also ported FlashVSR v1.1, a one-step diffusion model for video super-resolution, to Apple Silicon with MLX. It uses the official weights unchanged, agrees with the original at 44.0 dB, and runs at 1.78 frames per second at 512x256 (on my M1 Pro).