Teemu Saha

Running inference at home

I wanted to see what it takes to run a language model on my own hardware and use it for everyday coding. This homepage started as a small project to try out the setup.

Why I built it

I was curious about the parts of inference that a hosted API usually handles for you. How much GPU memory does a model need? What can I fit across two cards? And once it’s running, how do I connect it to the tools I already use?

Building the setup gave me a way to work through those questions on the server beside my desk. I get to choose the model and where my prompts are processed. I also get to look after the drivers, updates, and power bill. That’s part of the project for me.

How it fits together

The hardware
A NixOS home server with two AMD Radeon AI PRO R9700 GPUs. The cards share the work of running one model through tensor parallelism.
The model server
vLLM runs in a container and serves a 27B Qwen model. The weights are quantized to FP8 to reduce how much GPU memory they use.
The coding tool
pi sends requests to vLLM and works with the files in the project. I used it to put together the first version of this homepage.

Inference runs on the home server. GitHub Actions publishes the static homepage to S3 when I push to main.