Local AI: from the server to a running model
A local language model needs a GPU server and software to serve it. We supply the xFusion server with NVIDIA GPUs, install it and leave the model answering with vLLM. This is how we do it.
Six steps, all inside the centre
Size it
Depending on the solutions you will use and how many people will use them at once, we decide on the server and how many GPUs it carries.
Install the server
We fit the xFusion server in your server room, with its NVIDIA GPUs, the drivers and the containers that access them.
Prepare the model
We choose an open model for the task and quantise it so that it fits in the GPUs’ memory. The weights are copied to the server: once running, it downloads nothing from the internet.
Serve it with vLLM
vLLM loads the model, splits it across the server’s GPUs and batches the requests that arrive together so they are handled at once.
Tune it
We set how much text each request can take, how much GPU memory is reserved and a stable name for the model.
Connect and monitor
Air-Go’s applications call the model through an OpenAI-compatible API, on the internal network only. The server joins our remote monitoring.
Why we set it up this way
Several GPUs for one model
A capable model does not fit on a single card. vLLM splits it across several NVIDIA GPUs in the same server and makes them work as one.
Many people at once
The server does not answer questions in a queue: it processes them in batches, so one long query does not keep the others waiting.
Change the model without touching the applications
The applications call a standard API and a fixed name. When a better model appears, it is swapped on the server and nothing else changes.
No route to the internet
The model, the reports and the answers are on the same network. The AI server needs no outside connection to work.
In a few words
GPU
The card that does the model’s calculations. Its memory determines which model fits, which is why several are installed.
vLLM
Open-source software that loads the model onto the GPUs and offers it to the applications as a service.
Quantisation
Storing the model’s numbers with less precision so that it takes up less memory, with a loss of quality that is measured before it is accepted.
OpenAI-compatible API
The standard way of talking to a language model. It lets you change the model or the server without rewriting the applications.
How we choose the model
We compare open models on the specific task, whether anonymising, coding or drafting, using public datasets and never the hospital’s reports. We install the one that solves it best on the server available.
Which solutions use it
Shall we look at it with your data and your spaces?
Tell us what you want to solve and we will prepare a tailored demonstration.