Berth: a Go binary that time-shares one GPU between AI engines and games via leases

Distinct-Pie2389 · reddit · 2026-10-20

A Reddit user shares how they run llama-swap, Ollama, ComfyUI, Strata and a game on a single GPU using Berth, a Go binary that leases the GPU to whichever engine asks. Engines launched via berth run take turns: when a new process needs VRAM, Berth drains the current holder, waits for the driver to report memory free, then grants the lease — and brings the previous engines back when the newcomer exits.

Key features:

Linux + NVIDIA today, Windows experimental. Alpha, Apache-2.0.

Original post →

More from coding & agent

coding & agent channel →