Skip to content

u/LongDistanceRope

In this archive from Dec 2022 to Nov 2026

2
posts
27
comments
0
media
86
score

PCIe bifurcation adapter needs to be supported by your motherboard, the adapter itself does nothing just splits the port electrically. You probably also need to invest in some pcie risers. and with each addition you weaken the signal so chance of instability or speed dropping to pcie 3.0 rieses. Its still better than your 2nd port cause at least it doesn't have to go trough the chipset.

factoring in all those costs, its might be cheaper to buy an older motherboard that natively have 8x 8x support like most high end intel z590 motherboards with 11th gen cpu, they rather cheap second hand. and even have AVX support which is nice for AI use.

since the 5060 ti is pice 5.0 that opens up some current gen boards that allows 4x 4x 4x 4x split from a single pcie 16x slot, and its effectively the same speed as pcie 4.0 8x and you can expand to 4 gpu later. something like this: https://www.reddit.com/r/LocalLLM/comments/1qfctk3/quad_5060_ti_16gb_oculink_rig/

the downside is pcie 5.0 boards are ddr5. However, it is still the single most cost effective way to build 4 gpu system. Cause any other route involves old xeon / threadripper / epyc motherboards for an eye watering amount of money.

that being said, its up to your use case, tensor parallel is more of a penalty reduction not a solution. It also requires same free vram on each card, so vision, dflash, mtp eats 4x as much vram. with 4 cards. And with direction we are moving: gpu used as a cache for experts and weights stored in ram, pcie speed becomes even more important than simple layer splitting times.

2 points

I've changed it to code block it have a scrollbar now. Anyway, its two different PC, same gpu. but not really 1:1 ddr5 to ddr4 comparison. Compute power is also different but I'm pretty sure main bottleneck is ddr speed and not cpu compute.

I also wonder how would that scale. on a 120b moe (cant fit that to ddr5 config) since a 26b a4b is a small model and difference is already noticeable: 40.67 -> 24.88 t/s TG

1 points

fair enough, i was curios to see real numbers, so tested it:

windows, 14700k, ddr5 (7000 mhz CL34-42-42-96)

--ubatch-size 1024  --batch-size 2048  --flash-attn on  --threads 8 -r 1  --cache-type-k q8_0  --cache-type-v q8_0 --n-cpu-moe 999  -p 16384  -n 4096

ddr5 moe layers offload:

| model                          |       size |     params | backend    | ngl |  n_cpu_moe | threads | n_ubatch | type_k | type_v |     sm |  fa |            test |                  t/s |
| ------------------------------ | ---------: | ---------: | ---------- | --: | ---------: | ------: | -------: | -----: | -----: | -----: | --: | --------------: | -------------------: |
| gemma4 26B.A4B Q8_0            |  25.00 GiB |    25.23 B | CUDA       |  -1 |        999 |       8 |     1024 |   q8_0 |   q8_0 |   none |   1 |         pp16384 |        788.61 ± 0.00 |
| gemma4 26B.A4B Q8_0            |  25.00 GiB |    25.23 B | CUDA       |  -1 |        999 |       8 |     1024 |   q8_0 |   q8_0 |   none |   1 |          tg4096 |         40.67 ± 0.00 |

ddr5 full cpu offload:

| model                          |       size |     params | backend    | ngl |  n_cpu_moe | threads | n_ubatch | type_k | type_v |     sm |  fa |            test |                  t/s |
| ------------------------------ | ---------: | ---------: | ---------- | --: | ---------: | ------: | -------: | -----: | -----: | -----: | --: | --------------: | -------------------: |
| gemma4 26B.A4B Q8_0            |  25.00 GiB |    25.23 B | CUDA       |   0 |        999 |       8 |     1024 |   q8_0 |   q8_0 |   none |   1 |         pp16384 |        564.99 ± 0.00 |
| gemma4 26B.A4B Q8_0            |  25.00 GiB |    25.23 B | CUDA       |   0 |        999 |       8 |     1024 |   q8_0 |   q8_0 |   none |   1 |          tg4096 |         13.75 ± 0.00 |

linux, 11700k, ddr4 (3200 CL16-18-18)

--ubatch-size 1024  --batch-size 2048  --flash-attn on  --threads 8 -r 1  --cache-type-k q8_0  --cache-type-v q8_0 --n-cpu-moe 999  -p 16384  -n 4096

ddr4 moe layers offload:

| model                          |       size |     params | backend    | ngl |  n_cpu_moe | n_ubatch | type_k | type_v |     sm |  fa |            test |                  t/s |
| ------------------------------ | ---------: | ---------: | ---------- | --: | ---------: | -------: | -----: | -----: | -----: | --: | --------------: | -------------------: |
| gemma4 26B.A4B Q8_0            |  25.00 GiB |    25.23 B | CUDA       |  -1 |        999 |     1024 |   q8_0 |   q8_0 |   none |   1 |         pp16384 |        614.42 ± 0.00 |
| gemma4 26B.A4B Q8_0            |  25.00 GiB |    25.23 B | CUDA       |  -1 |        999 |     1024 |   q8_0 |   q8_0 |   none |   1 |          tg4096 |         24.88 ± 0.00 |

ddr4 full cpu offload:

| model                          |       size |     params | backend    | ngl |  n_cpu_moe | n_ubatch | type_k | type_v |     sm |  fa |            test |                  t/s |
| ------------------------------ | ---------: | ---------: | ---------- | --: | ---------: | -------: | -----: | -----: | -----: | --: | --------------: | -------------------: |
| gemma4 26B.A4B Q8_0            |  25.00 GiB |    25.23 B | CUDA       |   0 |        999 |     1024 |   q8_0 |   q8_0 |   none |   1 |         pp16384 |        532.93 ± 0.00 |
| gemma4 26B.A4B Q8_0            |  25.00 GiB |    25.23 B | CUDA       |   0 |        999 |     1024 |   q8_0 |   q8_0 |   none |   1 |          tg4096 |          8.87 ± 0.00 |
4 points

honestly its good to see build from gaming gpus. The amount of hate my weird dual 4080 setup got (which are borrowed cards, so can't sell them) was kind of discouraging. Did you went straight with 4 gpu or do you have experience with 3? Cause I kind wanna squeeze a 3rd card into my build, before gpus get even more expensive, but info about 3gpu setups are..scares.

I assume you use strata / basalt on this? do you have experience with other engines? (I've tried Beellama, exlllamav3, ik_llama) I'm kind of on a mission to find a more general engine with good expert caching / streaming cause wanna experiment with less popular large moe models (kolibri, nemotron, glm 4.5)

2 points

-sm row tends to crash for some reason, but tensor split works. tho uses bit more vram.

-ctk q8_0 -ctv q8_0 are on, I went trough all the launch flags with qwen (3.8 max, not 27b) to squeeze out as much context as possible. 24k is with q8 kv, at q6. had offload vision even drop mtp (tho mtp still crashes with gemma4) I've even experimented with bee lama and vllm.

qwen 27b survives on q4 but gemma4 becomes noticeable worse under q6. (Which is why I'm very skeptical about flash next and its q3 / q2 quants)

3090 is more expensive here than than 4080, getting a 3rd 4080 is cheaper, but that would be on my own money and I do agree on 4080 being a poor choice for inference. 7900 xtx seems like a more realistic target for now, until they go up in price too.

was hoping that 32gb is enough, for like 6-8 months, and see how second hand gpu market changes and gather some funds, but 24k context on gemma4 is rough even for chatting only. my next best idea is to try to find a way to have sliding context window but llama doesn't seems to support it with gemma4

1 points

I think that's just stock gemma4. In all honesty style tunes just make the model choose more interesting wording, but not going to add deeper understanding or better overall logic (and usually to the expense of tool calls, prompt adherence and coding). But for prose, parameter count is going to win over any finetune so if you looking for better than stock gemma4 30b, needs to move to 100-350b moe models and above.

1 points

Instead of specific models, I'd rather recommend creators with consistently good models:

Both bluestart and MeroMero models are really good, I found bluestart more realistic / darker and Mero more upbeat: https://huggingface.co/zerofata

good generalist gemma4 finetunes: https://huggingface.co/Gryphe

Really interesting merges (Basically if you cant choose, and want a mix of all of the above): https://huggingface.co/Vortex5 this one specifically merges all major gemma4 finetunes: https://huggingface.co/Vortex5/Glimmering-Citrus-31B

On the older (and non gemma) side:

Equal level unhinged and creative, usually don't require system prompts: https://huggingface.co/collections/SicariusSicariiStuff/most-of-my-models-in-order

even older from roleplay to classic text adventure: (might require heavy sampling, especially repetition penalty) https://huggingface.co/PocketDoc

8 points

not the original guy but, first impressions:

can loop on tool calls, might be sampler issue, but weird for a qwen model. (q6_k) Its medium uncensored, you need to dance around topics. Needs a roundtrip with heretic.

does comes with MTP, acceptance rate is around 0.48 which is kind of high for a creative model(for comparison my personal favorite: gemma4 meromero is around 0.28)

stays very conversational unless you ask it to write a longer format. Feels more of a chat finetune, doesn't care much for RP consistency (historical character immediately understand modern tech..etc)

Qwen models are incredibly dry, compared to even base gemma, There is a reason why 90% creative finetunes are gemma4. So, for a stock qwen, not bad, but there are better gemma4 creative writers out there.

9 points

Thanks for the info! its very helpful.

I wouldn't at all be surprised if this could be improved.

Few things I would suggest:

--cache-type-k q4_0 \ --cache-type-v q4_0 \

try using Q8 instead, Q4 absolutely destroys generation speed.

--reasoning-budget 512 \

this makes llama cpp cut off reasoning at exactly 512 tokens dont care if model is done thinking or not, which usually makes the result worst. If you want qwen to think less try setting it from chat template:

--chat-template-kwargs "{\""reasoning_effort\"":\""medium\""}"

--reasoning-preserve

In my personal tastings you can drop this, it doesn't made qwen smarter and dropping it frees up some context.

--tensor-split 1,1

This doesn't do much, since you are using 2 identical gpu's and llama splits layers evenly anyway. However I highly recommend trying, tensor split, cause it will make your gpu's work parallel instead of waiting for each other:

-split-mode tensor

--batch-size 4096 --ubatch-size 1024

Its worth testing in llama bench, but usually double batch size brings better results, try 2048 instead.

--ctx-size 131072

managing long context is taxing even if it aren't filled, try dropping this to 100k or 92k, for some speed improvement and keep a separate config that maximize context window if needed.

--cache-prompt

this is enabled by default.

--cache-ram 16384 --cache-reuse 512

this only helps slightly if you frequently switch between chats and have long system prompt / tool definitions that needs to be cached otherwise doesn't add much, but also don't hurt.

--image-min-tokens 1024

this is probably set in model's deafult but still wont hurt to add since its what qwen 3.8 expects.

3 points

I'm about to pull the trigger on two 7900xtx. and a bit unsure about it still. What backend do you use?

What quant / context size do you use with Qwen3.8 27b? what depth do you get the 48tokens/sec? What's your prefill speed? Do you have some numbers for other 30b class models (gemma4, muse glimmer)?

Sorry for the lot of questions its hard to find real world data on dual 7900 xtx setup.

1 points

yes, that is correct, tho instead of image2image I used a resize latent but basically the same. There is a fine line between adding detail during upscale, and halucinate the stuff that wasn't suppose to be there. Thats what I've been trying to eliminate as well as getting as close to original render quality as much as possible.

this is the highest res i can get with krea2 that keeps the composition intact: https://i.imgur.com/AIlQSEL.png

this is my best result using ultimate sd upscale, krea2 and real_ersgan_x4 https://i.imgur.com/UkrQHAk.jpeg Still, tons of lost texture, turned into more a anime for some reason, and you can see "ghost" of the girl in the front various places in the background.

and this is native 1440x1440 https://i.imgur.com/kXES9Il.png image of same prompt by kre2, but that can't extend to 1440x7152 natively cause then the composition completely breaks. However that's what I'm trying to achieve.

1 points

yes the difficult part is upscaling, sdxl can make decent image even at 2384x480. However from then guiding the upscale is not easy. masked regional promting, control net, all scales slightly differently than latent itself and misalignment got blown up on higher detail.

The reason I've went with sdxl is cause its easy to prompt, and tons of tools available along with really good fine tuned checkpoints. Krea2 does decent job with certain prompts even at full size (however i need an llm to write prompts for it) but attention clearly falls apart on more difficult prompts.

I'll try SeedVR + krea2 and see how it goes. Still think the best way would be to make 2384x480 than chop it up to square tiles somehow slide them and explain the model to keep the sides glued.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.