Upscalers for the Hexagon NPU (HexAnima): Real-ESRGAN x4 and SeedVR2-3B
QNN HTP context binaries (Hexagon V69, Snapdragon 8 Gen 1 / 8+ Gen 1, fp16) of two Real-ESRGAN generators, used by the HexAnima Android app (https://github.com/ayanoby/hexanima) to upscale pictures on the phone's NPU. Each context takes ONE fixed input tile of 128x128 px and returns 512x512 px; the app tiles larger pictures with blended overlaps.
| file | network | source weights | size |
|---|---|---|---|
kup_photo_t128.bin |
RealESRGAN_x4plus (RRDBNet, 23 blocks) | RealESRGAN_x4plus.pth, sha256 4fa0d389...82f1 |
38,706,040 B |
kup_anime_t128.bin |
RealESRGAN_x4plus_anime_6B (RRDBNet, 6 blocks) | RealESRGAN_x4plus_anime_6B.pth, sha256 f872d837...99da |
10,578,456 B |
Converted PyTorch -> ONNX (opset 17, fixed 128 px tile) -> qairt-converter (fp16) -> qnn-context-binary-generator (v69, burst). Against the PyTorch output on the phone: PSNR 44.7 dB.
These files only run on that chip generation; they are not general ONNX/PyTorch weights.
Real-ESRGAN is BSD-3-Clause (Copyright (c) 2021, Xintao Wang), see LICENSE. These are converted copies of the original weights.
SeedVR2-3B (seedvr2/)
ByteDance-Seed/SeedVR2-3B, a one-step diffusion super-resolution transformer (Apache-2.0), converted for the same phone NPU. The picture is resized to the target size, encoded by the VAE, restored by the 32-block DiT in one step and decoded again; the result can be 2x to 4x (up to about 4 megapixels).
| path | content | size |
|---|---|---|
seedvr2/pack/blk00..31.bin |
DiT blocks repacked into HMX int8 tiles (window attention) | 159 MB (blocks 0-9), 79 MB (blocks 10-31) |
seedvr2/pack/glue/ |
input/output layers, text token, final norm | small |
seedvr2/vae/svr_enc_t64.bin, svr_dec_t64.bin |
VAE encoder and decoder as QNN HTP context binaries (v69, fp16, 512 px tiles) | 76 MB, 114 MB |
About 3.3 GB in total; seedvr2/manifest.json lists the size and sha256 of every file. On the phone: decoder PSNR 37.1 dB against the CPU reference. Only for the Hexagon V69 NPU (Snapdragon 8 Gen 1 / 8+ Gen 1), used by the HexAnima app. License: Apache-2.0, see seedvr2/LICENSE and seedvr2/NOTICE (modified, converted copies; Copyright (c) ByteDance Ltd. and/or its affiliates).