Skip to content
← All work
AI infrastructureOwnedKnovos

Open-weight models in production on a shared GPU pool

Multi-GPU, multi-model vLLM serving behind company applications. One workload was blocked outright on RHEL 9; moving it onto a custom Ubuntu base made it run the same on every host.

Serving
vLLM, one container per model
Clusters
5+ multi-GPU
Models
Open-weight (Gemma, Qwen Coder, instruct)
GPU models and counts
GPU models and counts: withheld under NDA
Applications served
Applications served: withheld under NDA

Employer work under NDA. Architecture and reasoning are described; client names, volumes and internals are withheld.

Context

Applications needed models served on hardware the company already had, on the distribution the rest of the fleet ran: RHEL 9.

The problem

The published vLLM builds expect a newer toolchain than RHEL 9 holds still. Installs succeeded and then failed at import or at first GPU use, and every fix on the host made that one host special.

What made it hard

  • Existing GPU hardware, not new cloud capacity.
  • Several models had to share the same cards without starving each other.

Options considered

  • Pin package versions until it installs

    It installed and still did not run. A satisfied resolver is not a binary that loads.

  • Build from source on the host

    Works once, on one machine nobody can reproduce.

  • ChosenContainerise on the base the project targets

    The host supplies a driver and nothing else.

The decision

Each model runs in its own vLLM container on an Ubuntu base with the CUDA runtime inside the image, and each container gets a fixed fraction of GPU memory, so a second model landing on a card cannot take the first one down.

CALLERSGATEWAYMODELSHARDWAREapplicationsinternal callersgatewayroute by modelvllm · model Amem fraction pinnedvllm · model Bmem fraction pinnedvllm · model Cmem fraction pinnedGPU pooltensor parallelthe host supplies a driver and nothing else; the CUDA runtime is in the image
Fig. Open-weight models as containers on a shared GPU pool. Each model is its own container with an explicit share of GPU memory, so a second model cannot starve the first.

My part

I owned it: the diagnosis, the images, the GPU memory plan and the deployment.

Stack

  • vLLM
  • Docker
  • CUDA
  • Ubuntu
  • nginx

Result

  • The same image runs on the original hardware, on other hosts and on cloud compute.
  • Running two models on one card became arithmetic done before deploying, instead of an out-of-memory error found after.

What I would change

Containerise on the first day. I spent too long trying to make the host behave.