Skip to content

u/PulseVector

In this archive from Jun 2026 to Oct 2026

0
posts
18
comments
0
media
36
score

Top comments

Thanks for the write up about your Qwen findings!

I've found that Gemma-4-26B and 31B are champs with my long-horizon agentic work, especially so with the recently improved chat templates.

Gemma-4-31B chat template:

https://huggingface.co/google/gemma-4-31B-it/blob/main/chat_template.jinja

Gemma-4-26B-A4B chat template:

https://huggingface.co/google/gemma-4-26B-A4B-it/blob/main/chat_template.jinja

For llama.cpp, add the --chat-template-file parameter (I rename mine based on the model name):

llama-server -m gemma-4-31B-it-GGUF --chat-template-file gemma-4-26B_chat_template.jinja

-or-

llama-server -m gemma-4-26B-A4B-it-GGUF --chat-template-file gemma-4-26B_chat_template.jinja

LM Studio's run model dialogue has an advanced settings option where you can paste the model's chat template contents.

8 points

5070 Ti and iGPU as well. Am getting 106 tokens/sec on a medium-ish length coding task with llama.cpp, 50k max context at Q8_0 K/V.

Great fun!


Qwen3.8 27B-GSQ-RCO-IQ3_S-mtp 8,969 tokens 1min 23s 106.81 t/s


llama-server -m Qwen3.8-27B-GSQ-RCO-IQ3_S-mtp.gguf --port 8080 -b 2048 -ub 1024 -np 1 -fa on --jinja -ctk q8_0 -ctv q8_0 --temp 1.0 --top-p 0.95 --top-k 20 --min-p 0.0 --reasoning-effort low -fit on --load-mode none --spec-type draft-mtp --spec-draft-n-max 3 -c 50000 -fitt 32

4 points

Good catch! I change the chat_template file names because I use models from several different sources. However, in this case the two chat templates are the same for Gemma-4-31B and 26B-A4B.

"There are no differences between the two provided Jinja chat template files.

They are identical in every aspect, including:

Metadata: Both have the same author (Google Gemma Engineering Team), date (2026-07-09), and context.
Macros: All macros (format_parameters, format_function_declaration, format_argument, strip_thinking, and format_tool_response_block) are exactly the same.
Logic: The setup, pre-scanning for user messages, the main message loop, and the generation prompt logic are identical.
Formatting: The whitespace, indentation, and special tokens (like bos_token and the custom delimiters) are the same.

The two blocks of code are perfect duplicates."

3 points

RTX 5070 TI checking in! I like the interface and monitor. Here's the first result:

Output (tokens/s) on 64K context: IQ3_XXS : 86 t/s when generating code.

I get 33.5 t/s with the same task when using Swift1.5-Qwen3.8-Flash-Next-GSQ-RCO with ngram:

-t 20 --threads-batch 16 --spec-type ngram-mod --spec-ngram-mod-n-match 60 --spec-ngram-mod-n-min 12 --spec-ngram-mod-n-max

Next up I'll test it on an RTX 3090 then an RTX 4070. Looks promising!

2 points

Subreddits

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.