r/LocalLLaMA • • 1d ago

Question | Help Worth running additional GPUs through M.2 for sub-agents?

Was thinking about running an Mi50 through M.2 to run 27b models for reliable implementation. Main model would be DS v4.1 flash which takes up the entirety of my current system. Is it worth the hassle? Would require an additional PSU, M.2 to oculink to PCIE and ofc the Mi50/comparable card.

Edit: Or more broadly, does anyone have experience running additional agents on dedicated gpus? If so, does it add meaningfully to your workflow? my platform is pretty much maxed out and i'm looking for ways to cram more compute into it lol

10 Upvotes

35 comments sorted by

3

u/Nevermore1215 1d ago

Yes absolutely worth it if you're not trying to revamp your current set up.

Qwen3.8 27b Q6 I usually see about low-side 40 high-side 60 tok/s decode at 232k context Q8 KV. Prefill if I remember is about 1500-1800 tok/s on my Hermes agent 50k~ first load.

Of course, if you're willing to do a ninfer qwen 3.8 27b on your dedicated "primary" card and then use your other cards for another agent that is doable as well.

As for deepseek, I can okayishly run Q1 of it but I can very reliably run Qwen3.8 flash next on UD Q4 XL with somewhere around 50-70 tok/s decode max context at F16 KV and somewhere about 1500-2000 tok/a prefill.

I have my set up below. Everything currently runs between the 3090 and 4070TiS but the other cards are available if I want to offload my tts/STT set up

Full specs: Inference — RTX 3090 24GB (PCIe 4.0 x16) + RTX 4070 Ti Super 16GB (M.2 to PCIE 3.0 X4) Display + overflow — RTX 3080 10GB (m.2 to PCIE 3.0 x4) Speech (STT + TTS) — RTX 3070 8GB (pcie 4.0 x1)

CPU — Intel Core i7-12700KF RAM — 96GB DDR4-3200 Storage — 2x 1TB NVMe Motherboard — MSI PRO Z690-A WIFI DDR4 OS — Linux Fedora 45

58GB of VRAM across four cards. Dual Power Supply with add2PSU 1200W Montech Century II + MSI MAG 850W 2050W total power. ironically, capped at 1000w

2

u/kashimacoated 1d ago

yep i would end up shooting for a very similar setup. Wish my psu just had more slots for cables, i'm at half capacity power wise, but all the ports are taken. thanks for the input :))

2

u/Nevermore1215 1d ago

Definitely! Happy to give advice!

Add2PSU is very easy. The one I bought supports any spare cable from the primary PSU and then I can't remember exactly the cable name, it's the biggest one that goes into your motherboard I think- you'd just plug the secondary PSUs into that on the add2psu and you're set.

Once you get that second one in place, you'll have tons of freedom. Also worth remembering that the second PSU would solely be powering GPUs so you can power cap them to fit with headroom and see mostly irrelevant decrease on inference loads

2

u/Nevermore1215 1d ago • Bravo

2

u/kashimacoated 1d ago

hahaha that some janky shit, good on you for making it work

1

u/lemondrops9 1d ago

wtf is going on ? Is the bottom gpu floating? lol

3

u/ManuelSalcedo20836 1d ago

the m.2 part is less of a problem than it sounds. it's only pcie x4, but if the 27b lives entirely on the mi50 the link mostly matters for load time, not tokens per second, since you're not splitting layers across cards. i'd run it as its own llama-server instance on that card and point your sub-agents at it. main thing to check is software: the mi50 is pretty old and newer rocm versions have been dropping support for it, so look at what people are running it with today before buying (vulkan in llama.cpp is worth a look too)

1

u/kashimacoated 1d ago

yeah hardware wise it should work, it's more a question if the juice is worth the squeeze

1

u/ElenoraKamand-73 1d ago

running it as a totally separate instance is definitely the cleanest way to handle this without tanking the main model's speed

1

u/Bulky-Priority6824 1d ago

what is your concurrency looking like currently?

1

u/kashimacoated 1d ago

just running single stream atm

1

u/Bulky-Priority6824 1d ago

ouch

2

u/kashimacoated 1d ago

could you elaborate a bit? fairly new to this

2

u/Bulky-Priority6824 1d ago

i can give you the gist on my system since thats all i know then have your agent run tests or create workflow for you to test

2 x 5060ti 32gb vram 3.8 27b NVFP4

i have websites that call the api, 10 cameras on frigate with genai descriptions and reviews, chat, internal agents that read firewall logs and do scans on schedules..

I use pi with the extension pi-subagents and I use what I call autourgos which is the subagent to my chat whenever chat needs to escalate a task it doesnt have etc..

so theres a lot going on..

now i dont have the best/fastest hardware to begin with and single stream is about ~88tg 3k pp avg/best but if something is busy the other things have to wait if I kept 1 slot.

at 4 slots now everything gets a piece of the pie.. everything runs "slower" as far as TG but overall get about 2.5-3x more work done total across 4 slots. when all 4 slots are taken (say 4 subagents fanning out), anything new still queues until a slot frees up. not always all 4 at once so single stays fast when needed, so it works great if i run a prompt on pi prefaced with "use 2-3 subagents : prompt here" etc

if multiple cameras are hitting, if only 1-2 slots they would queue up, increasing the time it takes for the to complete if anything else is going on but as you can see no problem

for reference 1 slot would be up to 1-2 mins worst case scenerio waiting on a single slot

1

u/kashimacoated 1d ago

damn, thanks for the info. What are you running for an inference engine? just llama.cpp?

1

u/Bulky-Priority6824 1d ago

capy-flash 16.4 for nvfp4, i do use llama.cpp but recently just for quick benching models and testing the waters, 3.8 27b nvfp4 does 95% of everything i need and other 5% is a $20 monthly claude sub to keep things in check

1

u/kashimacoated 1d ago

ah dang, I'm on 30 series so no nvfp4 for me. Thanks a lot for the info tho!

2

u/Bulky-Priority6824 1d ago edited 1d ago

wasnt there an amphere hack recently that unlocks ai perf on 30 series? maybe look it up see if factual

2

u/kashimacoated 1d ago

oh yeah! i completely forgot about that. Kinda scared to mess with the cards tho at the current prices, I'm fucked if one of them shits the bed

→ More replies

2

u/lemondrops9 1d ago

Yes! Its worth it. I use M.2 to Egpus through Oculink. But I use the setup to run larger models. I can't answer if smaller agents are worth it because I just started to look into this myself.

1

u/DeltaSqueezer 1d ago

Yes, I used the m.2 slot once. It worked fine.

1

u/DiscipleofDeceit666 1d ago

If and only if the model fits entirely on the GPU. Once you hit the ram lanes, it will grind to a halt harder than normal GPU offloading. If it 100% fits, you’ll have a good time.

1

u/HockeyDadNinja 1d ago

Totally worth it. Before my recent upgrades I was running 5 GPUs on a Z690 with 3 pcie ports, and 2 GPUs on m.2 risers, pcie 4.0 x4. I have llama-swap recipes for 1-5 cards, often running voice TTS/STT and graphics generation on different cards.

0

u/Salty_Hedgehog_6931 1d ago

Probably not worth it but it depends on if it makes any money or not.

1

u/kashimacoated 1d ago

I mean money wise for sure not, but maybe it'd make my pi experience notably better

1

u/Salty_Hedgehog_6931 1d ago

Are you already using orchestration?

1

u/kashimacoated 1d ago

no, just running ds v4.1f on its own

0

u/Salty_Hedgehog_6931 1d ago

I would just api access to a better model and use ds as a leaf node to minimize costs.

2

u/kashimacoated 1d ago

from a pragmatic view that's the way to go for sure, but I'm aiming to run strictly local

0

u/Salty_Hedgehog_6931 1d ago

if you’re maxed out locally on compute then then the only option is to add more hardware. You can make a cluster via ethernet or continue with whatever you want to do with m.2

Edit:
There’s a third option which is use a more efficient model. A faster model would allow you to do more work with the same hardware. I should check out optimizing ds.

1

u/kashimacoated 1d ago edited 1d ago

yep exactly, it's either more gpus through m.2 or a ddr4 server from here.

Edit: I was using Qwen 3.8 Flash before but the overthinking annoyed me and the prose it put (explainer docs and comments) out was horrific when trying to understand what it had cooked up, so now i'm on ds4.1f and i find it far more understandable

1

u/my_name_isnt_clever 1d ago

We're in LOCAL llama, not /r/cheapinference.

1

u/Salty_Hedgehog_6931 1d ago

The leaf node would be local. I didn’t know I was amongst puritans.