jitllm moves a running LLM's layers between GPUs mid-reply in 8ms with zero recompute

web3samy · reddit · 2026-10-14

Inspired by OS and JIT compiler design, a developer built jitllm, an inference engine that treats model layers like schedulable processes: the paged KV cache moves with the layers, so no re-prefill is needed.

Benchmarks:

The author argues JIT-generated kernels bring every optimization to every machine, and that paging plus relocation turns placement into scheduling — enabling models larger than memory, mismatched GPUs, and workloads that shift as conversations grow. Code is open-sourced on GitHub.

Original post →

More from Infra

Infra channel →