lupinemachines/lupine

LUPINE is a GPU over IP bridge allowing GPUs on remote machines to be attached to CPU-only machines.

What it solves

LUPINE lets a machine without a GPU use one (or many) that live on a remote server. It removes the need to buy or house expensive GPU hardware locally: workloads like model training or inference can run on a plain CPU machine while all the GPU compute happens elsewhere. It also makes it possible to pool GPUs from multiple servers into one view.

How it works

LUPINE runs as a pair of Docker containers. The server runs on the machine that physically owns the GPUs; the client runs on the CPU-only machine. The client replaces the usual CUDA driver and NVML libraries with "shim" versions that forward driver calls over a single long-lived TCP connection to the server. The server executes those calls on the real GPU and sends results back.

Because the shim speaks the same interfaces as the real drivers, normal CUDA programs (including PyTorch) and tools like nvidia-smi work without modification—they just see a GPU that happens to be remote. The client also ships shims for NCCL (for multi-GPU communication) and nvSHMEM (though nvSHMEM is only partially supported).

The connection is kept resilient: it uses compression by default, aggressive TCP keepalive, and retry logic for connecting. The server can also expose Prometheus metrics for monitoring GPU utilisation and memory, and can gracefully drain in-flight work when it shuts down.

Who it’s for

Developers and operations teams who need GPU compute but want to keep GPU hardware centralised and remote—for example, running training jobs on a laptop or CI machine while the actual GPUs sit in a data centre. It is also useful for accessing a mix of NVIDIA and AMD GPUs from one client, and for pooling GPUs from several servers into a single logical set.

Highlights

  • No code changes: existing CUDA programs and nvidia-smi work unmodified.
  • Multi-server support: point the client at a comma-separated list of servers and all GPUs appear as one local device list.
  • Cross-server GPU copies are handled transparently (with a performance note for remote transfers).
  • Built-in Prometheus metrics on the server, without extra configuration.
  • Graceful server shutdown that drains in-flight CUDA calls.
  • Client compatibility with Linux, macOS, and Windows (amd64/arm64), with a self-updating client bundle.
  • Optional tracing and the ability to set a stable connection identifier for attribution.

Related

  • Dispatch
  • Dispatch
  • Project
  • Project
  • Project