There are many alternatives to attention which work well for small sequence sizes.
You are likely to find kernels for Gated Delta Net 2 as Nvidia had a paper on that.
https://news.ycombinator.com/threads?id=ActorNightly&next=49...
TLDR its not so much about the transformer, as much as expanding dimentionality. You can chose any which way to do so.