r/OpenSourceeAI • u/Sparticle62 • Sep 30 '26
PSSA: a 1.5M-param plastic state space model in Rust, beating a parameter-matched transformer on a small held-out slice
small scale, single seed, wikitext slice, so treat this as a prototype result and not an architecture claim. 1,544,704 params both sides, same corpus and sampler. held-out 3.997 vs 4.429 nats, generation 226ms vs 2735ms for 200 tokens on the same cpu. the depth-1 match is the obvious weakness and a depth-2 baseline is running next. written from scratch in rust, no pytorch. repo and eval commands: github.com/Sparticle62ops/pssa. happy to be told where the comparison is unfair.
4
Upvotes
View all comments
Show parent comment
1
u/Sparticle62 Oct 02 '26
yeah fair, kernels aren't the scary part they used to be. flash-linear-attention is a good shout, their chunked delta rule / gated deltanet kernels are pretty much the template for what pssa's scan needs on gpu. right now training sends the big matmuls to cuda but the recurrent scan still runs on cpu, so a proper fused chunked scan is the next big speedup. gonna dig through their repo, thanks