39 points · by NegativeLatency · 6d ago · 20 comments
I wrote up how I run LLMs a few months ago, when prices were lower than now, and my advice then was also "don't". https://swelljoe.com/post/how-i-run-local-llms/
I still probably haven't gotten my money's worth out of the hardware I bought, and maybe never will, and I bought at less than half what the stuff goes for now. I get some enjoyment out of the tinkering with the hardware and I'm using them again now that it's cold out and I don't mind pumping heat into my house. But, at today's prices, I wouldn't buy anything.
If you want to learn about how AI works, follow Karpathy's nanoGPT/nanochat stuff (https://github.com/karpathy/nanochat) or one of the several other "build an LLM from scratch" type things (e.g. https://github.com/rasbt/LLMs-from-scratch), and have an agent walk you through making fine-tunes via LoRAs or QLoRAs or whatever.
If you want to train actually useful models, you need to rent GPU time, anyway. Nothing you can buy right now and host at home is going to be sufficient for training useful models. The 128GB inference boxes are too slow for training, even if the model you're training/fine-tuning is small enough to fit (which is quite small), and consumer GPUs are too small. Better to spend a few bucks on GPU spot instances. Given the hardware needed to train useful models locally at a reasonable pace costs $20k or more (likely much more, that's sufficient for tiny models), you can buy a lot of GPU time.
If you want to use models, it's far cheaper to get them via subscription from any leading provider. Use them to build an interesting large project that you can launch and put on your resume.
I think getting a job now, more than ever, requires a portfolio. Coding interviews don't make sense anymore, because writing code is becoming rare, but proof that you can drive an AI to make something large that is useful and actually works probably still has some value (because left to their own devices, what they make is almost never useful and barely works for human users).
Spending ten grand on hardware that can barely run models that can barely write working code seems like a foolish waste of money if you're worrying about getting a job.
yah, managing a project is more important than ever given the current state of agents. being able to ship also is a bigger thing than it was even six months ago, since everyone updates everything every freaking day now, so if you don't prove you can ship, then what's left besides research?
- Supermicro H12SSL-i, EPYC 7302 (16c), 128 GB DDR4-3200 (16gb * 8)
- RTX 5090 32 GB + RTX 3090 24 GB, both PCIe 4.0 x16, 1200 W PSU
- Model: Qwen3.8-Flash-Next in NVFP4, served by strata.
- Single-stream decode is ~200 tok/s. Prompt processing is ~1–6K tok/s.
5090 is "main card", 3090 runs vision + extra experts. I configured 2 slots of 262k context. These next gen servers (strata / basalt) make great use of system resources and run models bigger than I thought possible. The gotcha is that batching isn't faster (2 parallel streams don't give you more tok/s).It's a good coder and is competent at browser / computer use. I like `pi` as a harness.
If I push it hard it noticeably heats the room it's in.
My main GPU node is an AM4 Gigabyte X570 Aorus Ultra board with 128GB DDR4-3200 (4x32GB) and an AMD Ryzen 5 5600. GPUs are 2 x CMP 40GB (4.0x4) and 2 x 3090 (4.0x8), the CMPs were the upgrade over my dual 3090s. Secondary GPU node is an i7 6700k with 32GB DDR4 and a 3080 and 3060 12GB. My gaming desktop's 4080S sometimes helps out.
Software stack is llama-swap for model management, vibe coded proxy for S3 suspend/resume and a mix of Merlin, vllm, llama.cpp and ik_llama.cpp; ComfyUI for media generation, various OpenAI API compatible STT/TTS on the secondary node. I mostly use Hermes agent for simple coding tasks and as a general assistant.
My main model is Qwen3.8-Flash-Next in different variants, either Heretic or Swift 1.5 (optional Heretic) running in w4a16 on Merlin [1] on the two CMPs. 5k to 9k/s prefill, 95 - 150 tok/s single stream after token prediction, 256k max FP8 context, about 350k kept in VRAM, 32GB RAM cache layer.
Before the CMPs I used different Qwen 3.8 27b variants on either one or both 3090s via llama-swap and ik_llama.cpp. QFN is a good allrounder for agentic use and light coding. It uses browser tools decently and can wrangle all sorts of Comfy flows plus the vision is nice as an iteration tool.
The only reason I have spent this much is because I really wanted a local stack and I already had some hardware due to gaming and homelab hobbies. I am looking at upgrading to an EPYC or at least ThreadRipper to get more PCIe lanes, but that is currently out of the question due to the prices.
The first is a workstation. It has an AMD Ryzen Threadripper PRO 7965WX with 24-Cores, 192GB DDR4 ram, and importantly 4 x AMD RX 7900 XTX 24GB GPUs.
I also have an AI server with 4 x AMD MI300A APUs (128GB each, for 512GB total). An APU is like a combined CPU + GPU.
If you're interested in my setup for that, I have a blog post I linked in my profile about how I got vLLM up and running. It's currently serving DeepSeek V4 Flash.
However, every chance a software optimisation will turn up to make the speed/time equal - I don't think this has fully played out yet.
Plus, when you see the issues that the latest anti reverse engineering restrictions create, local looks more and more attractive.
1. Memory Bandwidth & Quantization: Autoregressive token generation is heavily memory-bandwidth bound. Quantizing weights to 4-bit/8-bit (AWQ, GPTQ, or GGUF) cuts VRAM footprint and memory bus transfers proportionally, delivering near-linear inference speedups with negligible perplexity loss.
2. KV Cache Management: Under concurrent load, the KV cache quickly consumes available VRAM. Using continuous batching with PagedAttention (vLLM) eliminates memory fragmentation and prevents out-of-memory crashes on long context windows.
3. Local-First vs Cloud API: For latency-sensitive or proprietary workflows, self-hosting quantized models locally behind an internal API proxy ensures predictable latencies, data privacy, and zero API subscription costs.