Siybox: models require too much vram? hold my vape An experiment in the Siybox project kept all 99.8 million parameters of an open TinyMoE checkpoint in a host-side weight pool and loaded only the experts each token needed onto an RTX 2070 SUPER, cutting peak PyTorch decoding VRAM from 413.5 MiB to 146.7 MiB, a 64.5% drop. Across six prompts, all 144 generated tokens and all 4,608,000 next-token scores matched the fully resident model bit for bit, while decoding speed fell from 32.8 to 23.0 tokens per second. The model used 20 of its 80 expert groups per decode step but reached 78 of the 80 over the full run, and a plain flat index hit the same VRAM peak, indicating the savings came from loading each expert only when the router called for it; the author published the code, checkpoint, raw outputs and reproduction steps on GitHub. I had this tested on a whim. I’ve been messing with a cube-face lookup in my Siybox project, and it dawned on me that I could try it on model weights. Could I keep the whole pool of weights on hand, bring only the ones I need onto the GPU for each token, and still get the exact same output? On the first model I tried, it worked. I put all 99.8 million parameters of an open TinyMoE checkpoint into a Siybox weight pool. On my RTX 2070 SUPER, peak VRAM allocated by PyTorch during decoding went from 413.5 MiB to 146.7 MiB, a 64.5% drop. Across six prompts, all 144 generated tokens matched the fully resident model. So did all 4,608,000 next-token scores, bit for bit. The tradeoff was speed. Decoding went from 32.8 to 23.0 tokens per second. The part that interested me was that the model used 20 of its 80 expert groups per decode step, but reached 78 of the 80 over the full run. The model’s own router chose the experts, and Siybox looked up their weights by cube face. A plain flat index reached the same VRAM peak. That tells me where the savings came from in this test. I could keep every expert available and load each one when the model actually called for it. How I got here is kind of funny. An earlier version of Siybox scored 0.674 on WordSim-353, compared with 0.609 for GloVe-300 on the same 353 word pairs. GloVe led on the other four benchmarks. That one win got me curious enough to try replacing the attention part of a small transformer. No offense, lol. On a synthetic copying task, my directed-reading method reached 98.0% token accuracy at 3,000 training steps. Attention reached 2.8% at the same budget and 97.5% when we continued training it to 12,000 steps. My method did better when there was a longer gap before the model had to copy. Attention did better when several possible matches collided. On a separate small language-model test, the losses were close, with attention ahead on average across three seeds. Evidence for the GloVe and attention comparisons siybox-weight-pool/evidence/README.md at 67f0510f562933991a8c8ac0a973c15831befbc6 · MidKnight-Rising/siybox-weight-pool · GitHub https://github.com/MidKnight-Rising/siybox-weight-pool/blob/67f0510f562933991a8c8ac0a973c15831befbc6/evidence/README.md I wanted to get the VRAM result out while it’s fresh. So far it’s one small model on one GPU. What I want to know now is how far it scales and how much of that speed I can get back. I put the code, checkpoint, raw outputs, and reproduction steps here for anyone who wants to try it. Siybox weight-pool repo and experiment download GitHub - MidKnight-Rising/siybox-weight-pool · GitHub https://github.com/MidKnight-Rising/siybox-weight-pool readme