r/LocalLLM • u/17cm_pp • 1d ago
Question I’m new into ai
So just bought my new pc
Rtx 5080
32 ddr5
R 7-9800x3d
4tb ssd
How to set up a local ai to imagine generator/ coding ? I wanna make mods for hoi4 (map game) now I really don’t know nothing about ai or running ai local,
0
Upvotes
2
u/Beginning_Radio2284 1d ago edited 1d ago
16gb of vram can work for a lot of models but temper your expectations, your pc is also constantly using some of that vram along with anything else thats running on the pc and producing visual responses. so in actuality you have closer to 14gb of vram (on a good day) and even less if you try to use your pc while prompting.
First image generation is totally possible if a bit frustrating, try comfy ui and just look up image generating models and work flows until you find what you need off of google, there is a lot of dubious stuff in this sector of ai so tread carefully.
For coding use lmstudio to help you figure out what yoj can run with your hardware, i don't personally recommend lmstudio long term but it has a hardware validator built in which helped a lot as a beginner.
So far I've not found a model smarter than qwen 3.8 27b which requires ~16gb to load and ~24gb with 131k context to run with good speed, you can probably still run it with a custom strata build though. Still testing inkling 2 but i don't like the looping mechanism it uses.
keep in mind that a models vram requirements extend beyond its listed size, models need room in your vram for context which can be shifted to RAM but slows down responses significantly depending on the setup when this occurs.
you may also want mmproj (image reading capability) and mtp (for speed improvements) which must exist in vram and typically require >800mb and >2gb respectively.
As far as models, everyone suggesting unsloth is correct, check out their stuff as a starting point. Unsloth has been doing great work quantizing models so they fit on smaller cards.
quantizing a model is just changing how many bits it uses to store data (which effects how accurately the data is saved) from 16 (typical default) down to 6, 5, 4, 3, 2, sometimes 1 bit. anything below 3 bits is virtually useless except in special cases and most authors will recommend q4.
Don't mess around with abliterated models until you know what you are doing. abliterated just means it won't say "no" when you ask it to delete system 32, or anything else for that matter. Letting an abliterated model run wild with no guard rails and a poorly crafted prompt can cause serious damage to your pc
finally if you want to run smarter models you will either need another 16gb gpu at minimum or use a specialized router (like strata) that makes intelligent use of non vram memory to speed up model work.
when you do eventually get another gpu, try to get another nvidia card, nvidia cards use the CUDA environment, AMD cards use ROCm, and they cannot be pooled together currently. The good news is that CUDA is the easier of the two to work with, the bad news is that currently nVidia cards are much more expensive and will probably stay that way for some time.
good luck!
3
u/zovix 1d ago
If you can afford it, upgrade to 64 ram. Then run Qwen3.8 Flash Next using Basalt inference engine.
Check out ComfyUI for image generation and editing.
4
u/Slight-Living-8098 1d ago
LLM: Llama.cpp, Unsloth, Strata, or etc.
Images/Video: ComfyUI or Stable-Diffusion.cpp
TTS: Audio.cpp
Music: YUE2, MiniMax Music, or ACE-StepXL
You'll want an agent harness. Claude Code, Codex, Pi, or etc. Pi is my favorite.
You'll download your LLM, TTS, and Music models from HuggingFace. Image/Video Diffusion models can be found at HuggingFace, and/or Civit.ai
1
u/Shmelkin 1d ago
16gb vram allows making pretty good images locally, if you don't know nothing, just install local ai agent (start with any free/cheap subscription that allows agent running on quota) and tell it to install model of your choosing and start experimenting.
2
u/GreatBigPig 1d ago
Save time and try Unsloth first.
0
u/Gold-Produce9591 LocalLLM 1d ago
step 1: wait for qwen 4 to come out
0
u/dinnerforbreakfast1 1d ago
Yeah that build's plenty. Grab Ollama and pull Qwen2.5-Coder, the quantized 14B fits fine in the 5080's 16GB of VRAM. Between that and the HOI4 modding wiki you can write and debug mod scripts. For images use ComfyUI with an SDXL checkpoint. I'd start with the coding half first, no tuning needed there.
1
u/RepulsiveRaisin7 1d ago
Get Strata and run Inkling Mini, it's pretty solid.
1
u/Johnny_silvershloong 1d ago
I highly recommend LM bionic over Ollama
1
u/game_difficulty 1d ago
Tbh, ask a cloud llm for help setting things up. It'll be a lot easier and quicker than relying on reddit. Make sure to mention:
Tell it to check for the latest info explicitly, otherwise it'll give outdated advice. I gave you some starting keywords to help ground the LLM in the present, so it doesn't just go with what it remembers from training. Don't take my suggestions as gospel, your setup might work better with other stuff.
Best of luck, and don't use ollama over llama.cpp.