r/SelfHosting • u/iceberg7016 • 18d ago
Personal AI server
I’m planning my first dedicated home server and could use a sanity check on the parts and how to set it up. I want one machine that can run 24/7, with enough room to expand as I figure out what I actually use.
What I already have
My gaming PC has a Ryzen 7 9700X, RX 9070 XT 16 GB, Gigabyte B650 AORUS Elite AX Ice, 32 GB DDR5-6000, and a 1 TB NVMe SSD. I’m not looking to upgrade anything but the storage.
What I want the server to do
Local AI assistant
I’m picturing a Jarvis-like assistant that can search my documents, remember project decisions, and use a few tools I give it.
I’m considering Ollama, a quantized Qwen model, and OpenJarvis from Stanford. I’m debating on building my own as well.
What do yall/would yall run for the AI assistant? recs?
Game hosting
Host private game servers like Minecraft, maybe be able to get the AI to play as a separate entity and do things for me in-game as well
Home Assistant
Run smart-home automations and a dashboard.
NAS and backups
Store files, photos, and PC backups. I want the NAS built into the server
What I’m considering, might be overkill
A Ryzen 5 7600X CPU
GPU for AI capability, see below
MSI B650-P WiFi motherboard
32 GB of DDR5 RAM
New 1 TB NVMe ssd
NAS-ready case like the Jonsbo N5
For local AI, I’m considering a 16 GB GPU, maybe RTX 5060 Ti.
I’d add NAS drives as I need the space and get a UPS for clean shutdowns.
Where I’d like advice
Is the 7600X and 32 GB a sensible starting point if everything, say Minecraft, the Home Assistant, and local AI are running at the same time? Where would you spend more, if anywhere? Is 64GB worth it?
Is a 16 GB GPU good enough or overkill for a local AI model? What GPU recs?
For a single host, would you run Ubuntu with containers and a Home Assistant OS VM, or Proxmox with separate VMs for Home Assistant, AI, and game hosting?
Is a case like the N5 worth it or is there a simpler case you’d choose with good airflow and easy drive access?
If you run a similar setup, I’d especially like to hear what you actually use day to day and what you’d change if you built it again.
I’m a college student and want to expand some knowledge and I believe a home lab is a great project to work on to learn on my own.
Give me recs or tips! Any help is appreciated.
11
u/No_Policy_1369 18d ago
Dont bother you clearly have no idea
4
u/nxgenstudio 18d ago
Doesn’t he need a 10K budget?
1
u/No_Policy_1369 18d ago
Sound close to what I was thinking edit i mean anything AI is 10k more with out blinking
2
u/00GoBigOrGoHome00 18d ago edited 18d ago
You can definitely do it under.
I just got a gigabyte motherboard (out of stock everywhere but can be ordered and gigabyte made it cheaper than what it’s going for on eBay) and sapphire rapids ES CPU (ebay). Found some rdimms (eBay), and two r9700 (newegg). I also found some optane pmem 300 (eBay).
You could do the same setup I am cheaper if you’re willing to do research on es CPUs and which motherboards are compatible, bios versions, etc. I only went with gigabyte due to the pmem 300. Otherwise there’s better options.
There’s a whole thread on servethehome’s forum on ES CPUs that’s very informative.
As for this person - they definitely haven’t done the basic research.
I appreciate how helpful people can be, but generally out of respect for people being helpful, one would hope that someone asking these sorts of questions has at least done a cursory search.
1
u/iceberg7016 18d ago
Thanks for sharing the forum, I’ll check it out.
And yes—I had just started looking into it just this week. I don’t see an issue with coming here with what I’ve found and asking for help?
Am I supposed to spend weeks doing my own research, when people who already know and have experience and are willing to help, can answer my questions?
4
u/00GoBigOrGoHome00 18d ago
I responded to another comment - but I think the confusion is due to how it’s worded.
If you were trying to use your existing system for all of that, it would indicate that you had done zero research.
2
-3
u/iceberg7016 18d ago
Yeah so that is pretty much why I asked, so if you have nothing for me why even bother me?
4
u/00GoBigOrGoHome00 18d ago
You mentioned that you’re not looking to upgrade anything but the storage but then mention 64gb of udimms vs. 32gb.
You’ll have to be more clear on what you’re willing to upgrade and what you’re not because I’m not sure you can do everything you want with your specs on a VM machine.
0
u/iceberg7016 18d ago
I’m not upgrading anything from my pc, except the storage.
The 64 vs 32 was, could 32 work for the server. I am not upgrading my pc to be the server, this is an entirely new device
I should’ve been a bit clearer, my apologies
1
u/Ok-Ranger-4518 12d ago edited 12d ago
Take a stroll over to r/homelab look at some of the beginner setups there. I got my server PC for $100, but it had 32gb of ram in it. Def can find cheaper options on Fb marketplace. Like hp elitedesk/prodesk mini/sff/tower.
You specifically want local ai, but the setup is very similar to a general homelab/home server.
Things to also consider are power costs. Efficiency, noise, heat. I tried to use an old and fx8150 PC and the heat that poured out was an immediate problem. It also takes time to load an AI model into the GPU. If you want to reduce that overhead you're talking about running the GPU constantly which is going to bring your idle power consumption up. Probably won't cost that much but it is something to keep in mind.
I'm early into my AI journey. This is some of what I've picked up. Reading what you're asking for, seems like a complicated and therefore larger model. Larger model means more vram if you want fast. If you can deal with slow, CPU and ram will work, just much slower.
I haven't even dipped my toes into context size and how that affects my usage.
I'm not entirely sure how it works. But I setup openwebui to run ollama and the llm can access forge neo image gen as a tool. My suspicion is that both of these models, ollama and forge neo, try to load into the GPU at the same time which is overflowing it and I hit the significant slow down switching to CPU/ram.
I haven't looked into optimizing anything yet. I just have my initial proof of concepts running right now. I can do it, but it's not necessarily done well.
3
u/00GoBigOrGoHome00 18d ago
Yeah I think the confusion comes from the way it’s written.
We assume that you want to set this up on your existing hardware.
Some things you should know:
- running local ai requires a bunch of vram (on GPUs)
- most consumer (gaming) motherboards will not give you the PCIe lanes needed to run more than one GPU even if the physical slot exists
- workstation motherboards and server motherboards will (but always double check) mobomaps.com may have workstation motherboards listed
- in a VM situation you are dedicating a portion of your system resources to each container (eg. Your home assistant set up that is in its own container). So you either have your current type of setup, no ai and a bit of resources dedicated to each, or you increase a lot of resources on your set up (which others should be able to offer better advice than I will be able to)
2
u/crystalsighting 15d ago edited 15d ago
Personally? I'm cheap so a 200 dollar dell server off eBay stuffed with a couple 32GB v100s. Started with 1 16GB card took me years to get the 2 32GB cards. I stuffed it with 256GB of system memory good enough to run huge models. If your rich just grab a spark. I'd rather buy a car then a spark lol.
For OS its just personal preference. If you like bleeding edge than arch Linux. Personally I'm a freebsd fan so I run a home assistant VM and an arch VM passing GPUs through to arch VM. I have one pcie slot with 3 nvmes on it for OSs and VMs, a couple rust drives for storage, and a USB card to pass through to home assistant VM for all my ZigBee and zwave devices.
When I first started out with my 16GB card down the AI rabbit hole I was bridging ollama into home assistant and having fun with that. Years later I compile llama.cpp myself for more control for first GPU and stablediffusion.CPP for second GPU. Now I have workflows with whisper.CPP, audio.CPP, comfy UI and others.
Its a very long rabbit hole that never ends, so looking back at what I know now, I would have gone for a single GPU with 128GB vram or unified memory like a spark, way down the rabbit hole your going to want to create movies with minimax one day, and upscaling to 4k isn't possible without it. Just start out and have fun with ollama and home assistant like everyone does, welcome to AI. Don't skip the home assistant part, I have my whole place automated and don't regret it, was one of the funnest parts starting out telling nabu to play songs, turn on/off lights etc, gave me the strong grounding I have in AI today.
Further down the rabbit hole you'll even be creating your own Lora's or fine tuning AI models, it never gets boring. Start with a real server with 128 pcie lanes, otherwise you'll get bitten really quickly running out of pcie lanes. Dell server, epyc or threadripper.
1
u/AWOLLoudMouth 14d ago
Have you messed around with strata at all? Ive had good luck with it on my desktop.
1
u/crystalsighting 13d ago edited 13d ago
No but I've tried ninfer and wasn't impressed. I haven't tried strata yet because I find it rare I'll tensor split between GPUs to run bigger models as I can stuff qwen 27B along with whisper. CPP with full 256k context on one 32GB GPU with llama.CPP. The other I keep free for stable-diffusion.cpp, audio.cpp and comfyui so I can have llm on first GPU generating videos and images on second GPU. Essentially I go after complete stack, text to text, text/image to image, text/image to video, and audio/music generation.
But yeah I'll use both occasionally working together if I want to run a big model or upscale a video to 1080p, its the 4k videos that bite you and nearly impossible with only 64GB vram, and since everyone has a 4k TV these days its a dilemma lol.
1
u/FeralAlgorithm 8d ago
try for 24gb gpu. 16 int quite cutting it
look for setups that let you run multiple GPUs you'll need em
consier macbook pro they have unified memory and can get them in 128gb capacities and higher if you can afford it.
11
u/PM_ME_YOUR_JIMOTHYS 18d ago
16 GB of VRAM is pretty much the absolute bare minimum you're going to want, especially if you're used to things like ChatGPT and are expecting something similar-but-local. asking if it's "overkill" tells me you haven't done very much research yet.
yeah, go ahead and vibe-code your own Ollama. good luck.