I’d like to do some shopping for either used or new parts to build a beefy home server/lab I can run modern LLMs on locally. Most of my home servers in the past have been retired gaming machines doing the home server function as a half-life. Which is fine for plex and navidrome, but the memory requirements for LLMs is so high that I’d like to shop motherboards that can support 100GB+ that seems to be required as well as the PCIe pass through for GPUs.
How does one go about planning out their home server builds?
I don’t see a lot of recent posts on this topic but maybe I am bad at searching.
LLMs don’t only have high memory capacity requirements - they also have high memory bandwidth requirements.
Specs for the latter aren’t quite as well advertised. What I have found working for me is to look up memory bandwidth specs from server CPUs of the generation you’re considering. Note, that all memory channels of such a server need to be populated to reach these advertised memory bandwidths.
I did a thing about this, as @jode said:
newer EPYC is better, especially for RAM intensive applications.
Latency is not king per say, but the more the marrier as most algo’s are optimized for 4-6 year old hardware (that the undergrads are running)
If you’re going to run the LLMs on GPUs, then system ram speed/latency is less of an influence on performance. The system ram is just used for offloading onto, then back from, the GPUs.
When I built my system I wanted to prioritize idle power efficiency. So I went with a lower TDP CPU. EPYC 7313P (155w).
I see very little action on my CPU when the GPUs are doing their thing.
I bought six XFX RX 7900 XTX GPUs. AMD GPUs are supported by ollama. So inference is easy. Beyond that, I’ve had to find the right combo of drivers and tools to create my own training runs. I got it all working. AMD support continues to improve.
If you haven’t bought the hardware yet you can get the CPU for about $300 via eBay and could probably do better than $500 for the memory. In the process of building a new Epyc machine myself and got a 7252 for $50, lowest on newegg was $300-$400, just want to be sure it’s not a locked processor.