You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit acac015
Browse filesBrowse the repository at this point in the historyBrowse files
fix(mlx): the state cache needs a length-independent RoPE; a note on shared servers
MLXBackend refuses --state-cache-gb / --prefix-cache when a layer's RoPE depends on the sequence length (dynamic NTK,
...): cached keys are continued in forwards of other lengths, so they would not match the keys of the longer forward.
Default, linear, llama3 and Gemma 4's proportional RoPE are accepted. The --state-cache-gb help and SERVING.md say that
the cache is shared by all clients, so its timing tells whether a state is cached.
0 commit comments