The encoder before this failed the Neural Engine compile on an M4 Mac (and, by its load times, an A18 iPhone) at every load. Each causal 3D convolution of the encoder is now the 2D convolution of its time-summed weight; in FP32 it equals the original to 1.9e-5. Modification 7 in the README; manifest.json lists the new encoder files.
12 days ago
Decoder: upsamplers as transposed convolutions, all on the Neural Engine
The decoder's three upsamplers rearranged their channels through reshapes the Neural Engine does not take, so 37 operations ran on the CPU. For one frame they are now 2x2 stride-2 transposed convolutions holding the same weights; the rewritten decoder equals the original to 1.4e-5 in FP32. On iPhone 14 Pro it loads in 0.1 s instead of 13-15 s, runs a tile in 2.0 s instead of 3.1-3.5 s, and a four-tile capture peaked at 0.6 GiB instead of 1.8 GiB, with output 76 dB from the earlier decoder's. Other packages are unchanged.
15 days ago
SeedVR2-3B for Core ML: VAE FP16, DiT in seven int4 chunks, one 512 px frame