home.social

#retnet — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #retnet, aggregated by home.social.

  1. Unexpected Discovery:

    Training a #RetNet model on the CPU isn't *nearly* as slow as I'd expected.

    Yes, it's slower than the GPU but probably by less than a factor of 10 - not 100's of times slower.

    Which means I can periodically move my model to the CPU and train on nice *long* sequence lengths realistically.

    My expectations were warped by having moved from an Intel Atom netbook in 2016 to NVidia EC2 spot instances playing with simple FFNs.

    Never tried running or training on CPU since.

  2. So it occurs to me that #RWKV or #RetNet can both offer an alternative RAG implementation with saved memory states having just read priming information to start with reading new prompts.

    With RWKV - there's no time oscillations. Wondering if loss on input1+input2 + loss on mean_state(read_1,read_2) continuing to generate target could lead to composable memory: start with mean of relevant priming documents and have grounding to process a session prompt?

  3. #GPT first clues me in to the existence of #RWKV and #RetNet and then when I ask for details on how each works proceeds to spit out perfectly viable #Pytorch implementations of each...

    Which *did* answer my questions beautifully...

    But it also talked me into some experiments involving training one of each from scratch...

    It turns out #LLMs love talking about implementing and training LLMs.

    Effectively, reproduction? (any time they can find a willing partner with a GPU).