21.6 MB is still a bit bloated tbh 👀 (notes from poking inside mirage.safetensors) #830
HmbleCreator
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Huge fan of Mirage, so naturally I popped open the safetensors header to see where the 21.6 MB actually went. Curious if you've already tried squeezing out the next ~11 MB sitting on the table:
5.59 MB(~26% of.cact) is just 28HConvGLU[512, 65]convs left in FP16. Per-band INT4 QAT in the sequency domain saves ~4.1 MB and stays on NPU tensor cores without Hadamard kurtosis blowing up.19.93Mparams (38.7% of the model!) sit inengrams_0+engrams_1(2 x [4, 18432, 128]) hashing 7-language 2/3-grams into 18,432 slots (>95% dual-slot collision territory). A Fast Walsh-Hadamard product-key / fly-Kenyon sparse memory cuts that in half with near-zero collisions and unlocks 1-shot on-device fast weights.cross_attn/{k,v}_projspends3.67Mparams re-projecting the exact same static image slots 8 separate times, while the 8-layer decoder streams ~6 MB/tok and spills mobile CPU L2 cache. A1xshared Cross-KV +3x3neuromodulated weight-tied loop stays inside 2 MB L2 SRAM.traceboosted your own Qwen VQAv2 run (31.3 -> 33.1), mostly because a uniform512x512grid is query-blind. A384x384periphery + 2 native-res query-steered foveal crops (plus a tinyCfCstate gate so live camera stops re-encoding static walls every 74 ms) fixes both accuracy and video power.22 MB is cool, when is the
<10 MBstateful raptor/fly edition dropping? 😄All reactions