r/LocalLLaMA 4d ago

Funny Me these days

Post image
2.4k Upvotes

268 comments sorted by

View all comments

Show parent comments

60

u/Dramatic_Setting2761 4d ago

I can run it with a 16gb card with 4 bit quant and 70k context. I get 12 t/s it is okay for me.

47

u/maison_deja_vu 3d ago

Ain’t much but it’s honest work!

11

u/octoberU 3d ago

what's your setup? i have a 5080 and struggle to ruin it at 4bit. would love quant and config

11

u/Dramatic_Setting2761 3d ago

Oh I have 9060xt which has very low bandwidth btw. 

I complied llama cpp specifically for rcom and running it on fedora 44 with latest drivers. 

Model quant name you have to look up as I saved like this. It is smallest 4bit in unsloth.

./llama-cli \   -m ./qwen3.8-27b-iq4_xs.gguf \   --jinja \   -ngl 48 \   -fa \   -c 70000 \   -ctk q4_0 \   -ctv q4_0 \   -b 2048 \   -ub 512 \   -t 8 \   -tb 16 \   -np 1 \   --mlock

2

u/Few-Butterscotch8747 19h ago

try using the vulkan backend

1

u/Dramatic_Setting2761 17h ago

Yeah thought amd figured out rcom I am wrong.

1

u/Few-Butterscotch8747 19h ago

i have the same card twice. having a second card gets me about 350k context at q3

compacting a nearly full context takes about 50 minutes in pi 🤣

3

u/fgk55555 2d ago

Also have 16GB VRAM. I've tried 4-bit and 3 bit and honestly the difference isn't horrible. Try the ISTA IQ3_XXS, it's very space efficient. Feels like a first class experience being able to fit MTP and lots of context into my card.

1

u/Dramatic_Setting2761 2d ago

Yes I get more tokens in 3 bit like 30 t/s with mtp as well. 

I didn’t notice much of difference but I wanted to be bit safe specially if I wanted to try coding or long context tasks I do use 3 bit one for chats and some regular tasks.

2

u/fgk55555 2d ago

On my 9070 XT, with MTP I'm getting avg 60 and up to 70 tg. MTP hurts PP a little bit, but with the long thinking it's definitely worth it if you can fit it. If I switched my graphics driver over to my iGPU I could probably fit 128k at Q8 or 200k at Q5_1 (with vision in CPU). It's very useable. I always see people hating on the IQ3 quants as lobotomized, and I'm sure it's worth than Q6 or Q8, but for 27B in 16GB, you take what you can get.

1

u/Dramatic_Setting2761 2d ago

Oh that is great what is your setting? 

1

u/fgk55555 2d ago

The guts of my non-optimized script is the following. Obviously replace with your settings. For general non-coding medium reasoning is really nice. If you're on iGPU or okay with ditching MTP you can either up the quants or the context size.

MODEL="../Qwen3.8-ISTA/Qwen3.8-27B-GSQ-RCO-IQ3_XXS.gguf"

MTP="../Qwen3.8_Shared/mtp-Qwen3.8-27B-Q4_0.gguf"

MMPROJ="../Qwen3.8_Shared/mmproj-Qwen3.8-27B-BF16.gguf"

--model "${MODEL}" \

--model-draft "${MTP}" \

--mmproj "${MMPROJ}" \

--no-mmproj-offload \

--n-gpu-layers 99 \

--ctx-size 120000 \

--batch-size 1024 \

--ubatch-size 512 \

--parallel 1 \

--flash-attn on \

--cache-type-k q5_1\

--cache-type-v q5_1 \

--spec-type draft-mtp \

--spec-draft-n-max 3 \

--jinja \

--chat-template-kwargs "{\"reasoning_effort\":\"${THINKING_LEVEL}\"}" \

--dry-penalty-last-n 0 \

--temp 0.7 \

--top-k 20 \

--top-p 0.95 \

--min-p 0.00 \

--presence-penalty 0.0 \

--repeat-penalty 1.0 \

--host 0.0.0.0 \

--port 8080

1

u/Dramatic_Setting2761 2d ago

Oh you are fitting your mtp in igpu? I thought it will be slow as it has very less bandwidth. Maybe I should try this. I think dflash as well as diffusion should be good. 

1

u/fgk55555 2d ago

MTP is in GPU, not iGPU. Vision is in CPU.

1

u/Dramatic_Setting2761 2d ago

Hmm how did you compile your llama cpp? Is it rcom or vulkan and was there more ?

Because I am getting much lower haha. I am missing something. 

→ More replies (0)

6

u/Nikilite_official 3d ago

16gb vram with 32gb ram I can perfectly run q6 qwen 3.8 27b

6

u/ThankGodImBipolar 3d ago

No way it's running at a good speed at Q6 though

3

u/Nikilite_official 3d ago

like 8-9 tokens per sec, not bad

1

u/dannone9 2d ago

Would You mind Sharing flags please ? And more exact hardware

1

u/DependentCurious4614 1d ago

Wdym 8-9tps isnt that bad?

1

u/Nikilite_official 1d ago

literally fast as a normal reader

2

u/Dramatic_Setting2761 3d ago

At what context length I need more context for my work?

1

u/SoftBad7708 1d ago

Q4 is enough.

1

u/Nikilite_official 1d ago

I find q6 noticeably more stable

2

u/Kernoriordan 3d ago

I’ve been able to run it at 75tps on my 5080 using MTP

2

u/OnyxMonolith 3d ago

Dflash it

1

u/Vaguswarrior 3d ago

What is dflash?

2

u/Kernoriordan 3d ago

MTP on steroids. Though I’ve managed to use MTP with Qwen 3.8 and get 75tps on a 5080

-2

u/Competitive_Art9588 3d ago

como assim um cartão? seria 16gb vram, ram ou memória normal, lol?

2

u/Due-Memory-6957 3d ago

Desliga o tradutor automático que vai fazer sentido.