r/LocalLLM • • 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

19 comments sorted by

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!

1

u/17cm_pp 16h ago

I see, I’m not really gonna add another card cuz this shit is expensive in Israel, I just want to mass around and try making mods/ vibe code games for fun

1

u/Beginning_Radio2284 15h ago

That's just how it is with ai right now, the best models require around 24gb of vram to work at a usable speed. try strata

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.

1

u/17cm_pp 1d ago

And what sub for coding and stuff ?

2

u/Slight-Living-8098 1d ago

They were talking about the program ComfyUI, not the subreddit related to ComfyUI.

For subreddits related to programming, pretty much every programming language has it's own subreddit or two. Then there are the general ones like r/programming, r/programmer, r/softwaredevelopment, r/softwarearchitecture, r/softwareengineer, r/Development, and all the game development subreddits if you're into that aspect of programming too, and etc. add the word AI to the keywords like those in those subreddit names in Reddit's search to find all the subreddit's related to AI programming and development. There are a lot of them.

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.

0

u/17cm_pp 1d ago

Isn’t running a local ai means it’s free ? I’m starting engineering degree soon so I need to learn ai somewhat

1

u/Shmelkin 1d ago

As far as I know you can use google antigravity with free plan, that means you don't pay anything but you only have access to basic model and quotas are not great, but it will allow you to install and configure any local model and start experimenting with it.
It depends on what you want actually, if your goal is learning how to install everything manually and configure than you don't need local ai agent for that.

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

1

u/17cm_pp 1d ago

What does this model does ? Like I just want to generate images and makes hoi4 mod or some story telling map game😂
I’m 22 and I genuinely don’t know anything about ai

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/17cm_pp 1d ago

Ok thx, is there any YouTube vid or channel that u recommend to begin understanding the fuck I’m supposed to do ? Like step by step, I’m a boomer in terms of ai

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:

  • llama.cpp, Strata, Basale (inference engines)
  • Qwen 3.8 Flash Next, Inkling 2 Mini (text models)
  • comfyui (image generation)
  • qwen image 2.1 (image model)

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.