vLLM-Metal merges sleep mode: frees KV cache memory on idle Macs without restart

abhijithneil · x · 2026-10-15

A PR authored by abhijithneil was merged into vLLM-Metal, bringing level 1 sleep mode to Apple Silicon Macs. An idle vLLM engine keeps its KV cache pool allocated, which on a 16GB Mac mini can force swapping. With --enable-sleep-mode, sleep()/wakeup() now release and restore KV cache memory in a fraction of a second while keeping model weights loaded — no engine restart needed. KVCacheStorage gained release()/reallocate() with identical layout so scheduler block tables stay valid. Ideal for background model servers that mostly sit idle between requests.

Original post →

More from Infra

Infra channel →