r/SelfHosting • • 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.

4 Upvotes

29 comments sorted by

11

u/PM_ME_YOUR_JIMOTHYS 18d ago

Is a 16 GB GPU good enough or overkill for a local AI model?

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.

I’m considering Ollama, a quantized Qwen model, and OpenJarvis from Stanford. I’m debating on building my own as well.

I’m a college student

yeah, go ahead and vibe-code your own Ollama. good luck.

0

u/iceberg7016 18d ago

No need to be rude

Yeah I haven’t done much research yet. I literally started looking into this project this week. That is exactly the reason I came here because I don’t know shit, and sometimes random people on the internet are willing to help and not be assholes

9

u/simple_devils 18d ago

I think the point he’s communicating is you’re trying to build the physical server without understanding how the underlying components interact.

Like for example, you’re talking about coding your own ollama. That tells me that you’re putting the cart before the horse and frankly, you don’t know what you’re signing up for. Or you haven’t properly researched it. Or all of the above.

Start with learning how much vram you functionally need for local AI, how models work, all before diving into building a server. That exercise will help you determine what level of quality in your models you’re willing to accept, define your use cases in concrete measurements, and THEN get to planning a physical build.

-2

u/iceberg7016 18d ago

Thank you, I do understand where he is coming from but he could have been much more helpful, like you. I appreciate it. I get excited sometimes and get ahead of myself, as you can probably tell with this post.

7

u/PM_ME_YOUR_JIMOTHYS 18d ago

you said you're in college. OK, it's time to start learning how to be an adult.

if you want people to help you, you need to put in the effort to show you've tried to help yourself first.

do research before you post on reddit (and no, posting on reddit is not research) then come to reddit with specific questions that you can't find answers to elsewhere.

don't just come to reddit (or any other forum) and be like "yeah I don't know anything and I was hoping someone could explain it all to me"

-1

u/iceberg7016 18d ago

Did you not read my post? This is my research. I wasn't getting any farther so I came for help.

You must need to learn how to be an adult, because someone asking a harmless question, that you don't even need to respond to, read, or think about ever again after seeing it, is not an issue.

I'm not hoping someone explain it to me, I'm hoping someone can teach me something new, or point me in the right direction. I've done nothing wrong, and you've just been rude, condescending, and a smartass, when you could have just ignored my post

4

u/AbhorrentAbs 18d ago

Okay here’s the nice version - it’s an admirable goal but unless you have a spare $10-20k sitting around you aren’t going to get much, you will be able to run smaller models on a device with 16GB VRAM but it’s going to be VERY slow. If you’re committed to this, look into used enterprise grade cards like the Tesla V100 32GB (that will need a cooling solution, those are passive cooled because the severs they are in provide the cooling, and you’ll need a second card or CPU/mobo with onboard graphics as v100 has no display out), or maybe a used RTX 3090. Ultimately it’s going to be a lot of money and a lot of fooling around, even experienced hobbyists find it frustrating especially with getting Nvidia GPUs running in proxmox or Linux in general although it’s been better lately. My advice would be setup a cheaper home server without a fancy top of the line GPU and do things like proxmox and host home assistant, the arr stack, plex, etc and then use existing tools that tie in to commercial AI tools. Once you’ve done that if you feel accomplished then you could consider your original goals, but as for your self hosted Jarvis like assistant, you’re better off using something off the shelf like Openclaw which will run locally and connect to LLMs for bigger tasks. Or maybe Hermes.

1

u/iceberg7016 18d ago

Thank you I do really appreciate it. And I am willing to spend as much as I need to for this, but I will take your advice and start way smaller before jumping headfirst into the deep end.

1

u/Ok-Ranger-4518 12d ago edited 12d ago

I just got in an rtx a2000 12gb in an HP elitedesk sff server. I haven't downloaded larger models yet, but I had some 2-4B I was testing on the CPU.

It takes a moment, seconds, for the GPU to load the model, then after the responses are actually acceptably fast. I haven't got into the accuracy and such. But I keep seeing the models will be slow? If the model is 100% on the GPU vram it isn't slow. I do have the experience of running 4-8b models on CPU/ram and seeing how slow that was.

Llm stuff is a side quest while I setup my own photo storage, pihole etc.

My husband wanted image generation so I went through shit trying to get forge neo running. That is actually where I'm disappointed. It's like 2020 nightmare era AI image generation. "Woman doing the peace sign eating pizza" returned a.... Humanoid... who had 3 fingers.

I think my personal workflow/usecase with AI also helps give me a better opinion on performance. I'm usually asking for a springboard for a new code block or correction to an existing code block. So I don't think I need huge amounts of context? I don't work with ai in a way that I care if it remembers previous conversations

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

u/No_Policy_1369 18d ago

Wow just wow

-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.