I distinguish SSD-streaming strategies for prefill and decoding: prefill benefits from layer-oriented loading, while autoregressive decoding may benefit from keeping likely routed experts in memory. These ideas extend my deepseek ssd inference work and relate to memory efficient expert inference.
I clarified that my earlier post was meant as a reply to a linked post about streaming SSD weights for inference of large GGUFs on machines without enough memory.
I guessed that a single SSD weights streaming setup is not going to work well, since prefill requires experts grouped by the prefill tokens received, described as “whole layers.”
I said decoding is strictly autoregressive and can be better served by routed experts LRU loading of some kind.
For prefill, I described loading weights efficiently while processing layer N: I want N+1 and N+2 in memory ASAP, removing N-1 from memory and continuing the same pattern.
For decoding, I framed the residency problem as keeping in memory the experts that are more likely to be used.
I agreed that any quality-worsening track should be avoided.
I am trying an experiment with GPT using 4096 tokens chunks: while processing layer N, layer N+1 is already loaded, layer N+2 starts loading, and so forth.
I gave the long processing time for 4096 tokens in the PRO case for each layer as the motivation for the experiment, and said I would see whether GPT could implement it well enough.
I noted that @liuliu was the person associated with this SSD-streaming discussion about running large GGUFs on machines without enough memory.