Adapters for 'Beta Gate: Shorter RL Reasoning in Qwen3.5 Without Negative Eigenvalues'. Write-up: hf.co/blog/Avifenesh/beta-gate-qwen35
Avi Fenesh
AI & ML interests
Inference and quant research, fine-tuning and specialist models, BW, self-hosting, on-prem, and intelligence open for everyone
Recent Activity
commentedon their article 2 days ago
Layby: where should an idle session's KV cache wait? new activity 3 days ago
jhu-clsp/ettin-encoder-32m:Thank you: ettin-encoder-32m is the text tower in Layby-Dwell posted an update 3 days ago
New writeup: Layby, on where an idle LLM session's KV cache should wait. GPU, RAM, disk, or nowhere.
Agent sessions are idle for most of their life, and engines choose what to keep by recency. On a slow or shared disk, writing everything turned out worse than having no disk tier at all.
Layby replaces recency with two things: a prediction of when the session will come back, and the measured cost of each option on the machine it runs on.
The prediction comes from a 33.8M model built on https://huggingface.co/jhu-clsp/ettin-encoder-32m . It runs on the host CPU in 11-19 ms and takes no GPU memory. The cost comes from a 412-line rule that reads what the engine measures live. Both run inside vLLM 0.34 and SGLang 0.5.23.
On a held-out GLM-5.3-Flash run (320B MoE, 4x RTX PRO 6000), mean TTFT was 21.5 s. With no disk tier it was 91.6 s. With LMCache it was 42.2 s, and Layby used a third less disk. On a 141 MB/s disk under vLLM it writes nothing and still beats no-disk.
The writeup also shows where it loses.
Writeup: https://huggingface.co/blog/Avifenesh/layby-kv-cache-placement
Paper: https://huggingface.co/Avifenesh/layby-dwell/resolve/main/layby.pdf
Code + ReturnBench (Apache-2.0): https://github.com/avifenesh/layby
Model: https://huggingface.co/Avifenesh/layby-dwell