Tested on RTX5070TI 16GB VRAM: 20 t/s

#24
by WhiteDan64 - opened

I was able to run Qwen3.8-Flash-Next-UD-IQ3_XXS on my RTX5071Ti (16GB) using last unsloth build: https://github.com/unslothai/llama.cpp/releases/tag/b10639-mix-f6f92fe

I reached an inference speed of about 20.44 tokens per second, not too bad for a configuration without unified memory and MTP

My presets configuration is the following:

[*]
port = 8080
host = 127.0.0.1
parallel = 1
log-verbosity = 4 
flash-attn = on
t = 18 
no-mmap = true 
metrics = true 
jinja = true 

[unsloth/qwen3.8-flash-next:UD-IQ3_XXS]
model = Qwen3.8-Flash-Next-GGUF\UD-IQ3_XXS\Qwen3.8-Flash-Next-UD-IQ3_XXS-00001-of-00003.gguf
mmproj = Qwen3.8-Flash-Next-GGUF\mmproj-BF16.gguf
no-mmproj-offload = true 
ctx-size = 262144
ctk = q4_0 
ctv = q4_0
ngl = 49 
load-mode = none
no-warmup = true
cpu-moe = true 
fit = off
spec-type = ngram-mod 
batch-size = 512
ubatch-size = 256
reasoning = auto 
temp = 0.8 
top-p = 0.90 
top-k = 20 
min-p = 0.01 
presence-penalty = 0.0 
repeat-penalty = 1.0
chat-template-kwargs = {"preserve-thinking": true, "reasoning_effort": "medium"} 

Here the log

[64888] 1.33.163.298 I srv  llama_server: listening on http://127.0.0.1:64888
1.55.197.673 I srv  proxy_reques: proxying request to model unsloth/qwen3.8-flash-next:IQ3_XXS on port 64888
[64888] 1.33.177.607 I srv  update_slots: all slots are idle
1.55.227.127 I srv  proxy_reques: proxying request to model unsloth/qwen3.8-flash-next:IQ3_XXS on port 64888
[64888] 1.33.229.521 I srv  server_strea: conv_id=afebd875-5cc6-45f1-ab68-f19715b7eff8::unsloth/qwen3.8-flash-next:IQ3_XXS (empty=0)
[64888] 1.33.276.454 I srv   operator (): chat format: peg-native
[64888] 1.33.279.013 I slot get_availabl: id  0 | task -1 |  - skipping, slot is empty
[64888] 1.33.279.018 I slot get_availabl: id  0 | task -1 | selected slot by LRU, t_last = -1
[64888] 1.33.279.019 I srv  get_availabl: updating prompt cache
[64888] 1.33.279.026 I srv          load:  - looking for better prompt, base f_keep = -1.000, f_sim = 0.000
[64888] 1.33.279.243 I srv        update:  - cache state: 0 prompts, 0.000 MiB (limits: 8192.000 MiB, 262144 tokens, 8589934592 est)
[64888] 1.33.279.247 I srv  get_availabl: prompt cache update took 0.23 ms
[64888] 1.33.293.296 I cmn  common_reaso: activated, budget=2147483647 tokens
[64888] 1.33.300.685 I slot launch_slot_: id  0 | task -1 | sampler chain: logits -> ?penalties -> ?dry -> ?top-n-sigma -> top-k -> ?typical -> top-p -> min-p -> ?xtc -> temp-ext -> dist
[64888] 1.33.300.715 I slot launch_slot_: id  0 | task -1 | sampler params:
[64888]         repeat_last_n = 64, repeat_penalty = 1.000, frequency_penalty = 0.000, presence_penalty = 0.000
[64888]         dry_multiplier = 0.000, dry_base = 1.750, dry_allowed_length = 2, dry_penalty_last_n = 64
[64888]         top_k = 20, top_p = 0.900, min_p = 0.010, xtc_probability = 0.000, xtc_threshold = 0.100, typical_p = 1.000, top_n_sigma = -1.000, temp = 0.800
[64888]         mirostat = 0, mirostat_lr = 0.100, mirostat_ent = 5.000, adaptive_target = -1.000, adaptive_decay = 0.900
[64888] 1.33.300.720 I slot launch_slot_: id  0 | task 0 | processing task, is_child = 0
[64888] 1.33.301.378 I slot  operator (): id  0 | task 0 | new prompt, n_ctx_slot = 262144, n_keep = 0, task.n_tokens = 2409
[64888] 1.33.301.397 I slot  operator (): id  0 | task 0 | cached n_tokens = 0, memory_seq_rm [0, end)
[64888] 1.37.692.872 I slot print_timing: id  0 | task 0 | prompt processing, n_tokens =    512, progress = 0.21, t =   4.38 s / 117.00 tokens per second
[64888] 1.37.692.877 I slot  operator (): id  0 | task 0 | cached n_tokens = 512, memory_seq_rm [512, end)
[64888] 1.41.120.507 I slot print_timing: id  0 | task 0 | prompt processing, n_tokens =   1024, progress = 0.43, t =   7.82 s / 130.96 tokens per second
[64888] 1.41.120.511 I slot  operator (): id  0 | task 0 | cached n_tokens = 1024, memory_seq_rm [1024, end)
[64888] 1.44.571.767 I slot print_timing: id  0 | task 0 | prompt processing, n_tokens =   1536, progress = 0.64, t =  11.27 s / 136.29 tokens per second
[64888] 1.44.571.771 I slot  operator (): id  0 | task 0 | cached n_tokens = 1536, memory_seq_rm [1536, end)
[64888] 1.48.223.610 I slot print_timing: id  0 | task 0 | prompt processing, n_tokens =   2048, progress = 0.85, t =  14.92 s / 137.25 tokens per second
[64888] 1.48.223.614 I slot  operator (): id  0 | task 0 | cached n_tokens = 2048, memory_seq_rm [2048, end)
[64888] 1.49.350.152 I slot print_timing: id  0 | task 0 | prompt processing, n_tokens =   2149, progress = 0.89, t =  16.05 s / 133.90 tokens per second
[64888] 1.49.350.156 I slot  operator (): id  0 | task 0 | cached n_tokens = 2149, memory_seq_rm [2149, end)
[64888] 1.49.413.593 I slot create_check: id  0 | task 0 | created context checkpoint 1 of 32 (pos_min = 2148, pos_max = 2148, n_tokens = 2149, size = 124.876 MiB)
[64888] 1.51.001.486 I slot print_timing: id  0 | task 0 | prompt processing, n_tokens =   2388, progress = 0.99, t =  17.70 s / 134.91 tokens per second
[64888] 1.51.001.490 I slot  operator (): id  0 | task 0 | cached n_tokens = 2388, memory_seq_rm [2388, end)
[64888] 1.51.049.580 I slot create_check: id  0 | task 0 | created context checkpoint 2 of 32 (pos_min = 2387, pos_max = 2387, n_tokens = 2388, size = 124.876 MiB)
[64888] 1.51.471.004 I slot print_timing: id  0 | task 0 | prompt processing, n_tokens =   2405, progress = 1.00, t =  18.17 s / 132.36 tokens per second
[64888] 1.51.471.011 I slot  operator (): id  0 | task 0 | cached n_tokens = 2405, memory_seq_rm [2405, end)
[64888] 1.51.493.754 I slot init_sampler: id  0 | task 0 | init sampler, took 22.22 ms, tokens: text = 2409, total = 2409
[64888] 1.51.555.788 I slot create_check: id  0 | task 0 | created context checkpoint 3 of 32 (pos_min = 2404, pos_max = 2404, n_tokens = 2405, size = 124.876 MiB)
[64888] 1.51.916.123 I spec        begin: ngram_mod occupancy = 2353/4194304 (0.00)
[64888] 1.53.479.562 I cmn  common_reaso: deactivated (natural end)
[64888] 1.56.849.028 I slot print_timing: id  0 | task 0 | n_gen =    100, tg =  20.14 t/s, tg_3s =  20.34 t/s
[64888] 1.59.891.328 I slot print_timing: id  0 | task 0 | n_gen =    162, tg =  20.23 t/s, tg_3s =  20.38 t/s
[64888] 2.02.920.219 I slot print_timing: id  0 | task 0 | n_gen =    225, tg =  20.39 t/s, tg_3s =  20.80 t/s
[64888] 2.04.507.618 I slot print_timing: id  0 | task 0 | prompt eval time =   18631.98 ms /  2409 tokens (    7.73 ms per token,   129.29 tokens per second)
[64888] 2.04.507.623 I slot print_timing: id  0 | task 0 |        eval time =   12574.24 ms /   258 tokens (   48.93 ms per token,    20.44 tokens per second)
[64888] 2.04.507.624 I slot print_timing: id  0 | task 0 |       total time =   31206.22 ms /  2667 tokens
[64888] 2.04.507.625 I slot print_timing: id  0 | task 0 |    graphs reused =          0
[64888] 2.04.508.126 I spec common_specu: statistics        ngram-mod: #calls(b,g,a) =    1    257      0, #gen drafts =      0, #acc drafts =     0, #gen tokens =      0, #acc tokens =     0, dur(b,g,a) = 0.202, 0.590, 0.000 ms
[64888] 2.04.508.378 I slot      release: id  0 | task 0 | stop processing: n_tokens = 2666, truncated = 0

Hi!
How much RAM?
Thanks!

Total RAM 85GB (o/w 10GB Windows OS)

Any idea how to speed up the prefill? Currently trying to compile mtp pr and speculative prefill pr into the qwen4next pr ..

Hi!
How much RAM?
Thanks!

Using this preset

[*]
port = 8080
host = 127.0.0.1
parallel = 1
log-verbosity = 4 
flash-attn = on
t = 18 
metrics = true 
jinja = true 

[unsloth/qwen3.8-flash:UD-IQ3_XXS]
model = Qwen3.8-Flash-Next-GGUF\UD-IQ3_XXS\Qwen3.8-Flash-Next-UD-IQ3_XXS-00001-of-00003.gguf
mmproj = unsloth\Qwen3.8-Flash-Next-GGUF\mmproj-BF16.gguf
no-mmproj-offload = true 
ctx-size = 262144
no-context-shift = true
no-warmup = true
fit = on
spec-default = true 
batch-size = 512
ubatch-size = 256
reasoning = auto 
temp = 0.8 
top-p = 0.90 
top-k = 20 
min-p = 0.01 
presence-penalty = 0.0 
repeat-penalty = 1.0
chat-template-kwargs = {"enable_thinking": true, "preserve-thinking": true, "reasoning_effort": "low"} 

Respect to my previous settings, the total RAM used is decreased to 62GB (o/w 11GB Windows OS), so probably it will be possible to run the model on 64GB (using linux you can save about 10GB)

But the prefill speed will decrease from about 130 t/s to 53 t/s, while the inference speed will increase a little from 20 t/s to 22 t/s.
So if you have enough RAM I suggest you to use my previous settings, because the prefill speed decrease too much with these settings.

So, for IQ3_XXS, we need 62 GB of RAM and 16 GB of VRAM (78 GB total)- and is that without offloading the ngram to the SSD?

What is the the quality though?

I'm still doing tests, but the preliminary results are good. Unfortunately, to increase intelligence, Qwen has greatly increased thinking time.

For example I asked to Qwen3.8-flash-next:IQ3_XXS to build a game

qwen3.8-flash-iq3_xxs[medium]_Space-Shooter

It was able to build a good game in 80m consuming 94k of context with reasoning effort = medium

Qwen3.8-27b:IQ3_XXS to complete the task using same prompt and effort level, took only 22m consuming 70k of context (about 26% less)

qwen38-27b-tbq3-iq3_xxs[medium]_Space-Shooter

The main reason is due both the noticeable speed difference (Qwen3.8-flash-next on my PC is about 3 times slower than Qwen3.8-27b) and the increase in thinking tokens (Qwen3.8-flash-next consumes 26% more tokens than Qwen3.8-27b).

Codacus did a video where he split the qwen3.8 27B model to 2 different machines. You think that might work with this model?

I've 128Gb RAM and the same 5070ti on linux (in a container). I was able to load Q4_K_XL and getting about 18t/s with llama.cpp.

I was able to run Qwen3.8-Flash-Next-UD-IQ3_XXS on my RTX5071Ti (16GB) using last unsloth build: https://github.com/unslothai/llama.cpp/releases/tag/b10639-mix-f6f92fe

I reached an inference speed of about 20.44 tokens per second, not too bad for a configuration without unified memory and MTP

My presets configuration is the following:

[*]
port = 8080
host = 127.0.0.1
parallel = 1
log-verbosity = 4 
flash-attn = on
t = 18 
no-mmap = true 
metrics = true 
jinja = true 

[unsloth/qwen3.8-flash-next:UD-IQ3_XXS]
model = Qwen3.8-Flash-Next-GGUF\UD-IQ3_XXS\Qwen3.8-Flash-Next-UD-IQ3_XXS-00001-of-00003.gguf
mmproj = Qwen3.8-Flash-Next-GGUF\mmproj-BF16.gguf
no-mmproj-offload = true 
ctx-size = 262144
ctk = q4_0 
ctv = q4_0
ngl = 49 
load-mode = none
no-warmup = true
cpu-moe = true 
fit = off
spec-type = ngram-mod 
batch-size = 512
ubatch-size = 256
reasoning = auto 
temp = 0.8 
top-p = 0.90 
top-k = 20 
min-p = 0.01 
presence-penalty = 0.0 
repeat-penalty = 1.0
chat-template-kwargs = {"preserve-thinking": true, "reasoning_effort": "medium"} 

Here the log

[64888] 1.33.163.298 I srv  llama_server: listening on http://127.0.0.1:64888
1.55.197.673 I srv  proxy_reques: proxying request to model unsloth/qwen3.8-flash-next:IQ3_XXS on port 64888
[64888] 1.33.177.607 I srv  update_slots: all slots are idle
1.55.227.127 I srv  proxy_reques: proxying request to model unsloth/qwen3.8-flash-next:IQ3_XXS on port 64888
[64888] 1.33.229.521 I srv  server_strea: conv_id=afebd875-5cc6-45f1-ab68-f19715b7eff8::unsloth/qwen3.8-flash-next:IQ3_XXS (empty=0)
[64888] 1.33.276.454 I srv   operator (): chat format: peg-native
[64888] 1.33.279.013 I slot get_availabl: id  0 | task -1 |  - skipping, slot is empty
[64888] 1.33.279.018 I slot get_availabl: id  0 | task -1 | selected slot by LRU, t_last = -1
[64888] 1.33.279.019 I srv  get_availabl: updating prompt cache
[64888] 1.33.279.026 I srv          load:  - looking for better prompt, base f_keep = -1.000, f_sim = 0.000
[64888] 1.33.279.243 I srv        update:  - cache state: 0 prompts, 0.000 MiB (limits: 8192.000 MiB, 262144 tokens, 8589934592 est)
[64888] 1.33.279.247 I srv  get_availabl: prompt cache update took 0.23 ms
[64888] 1.33.293.296 I cmn  common_reaso: activated, budget=2147483647 tokens
[64888] 1.33.300.685 I slot launch_slot_: id  0 | task -1 | sampler chain: logits -> ?penalties -> ?dry -> ?top-n-sigma -> top-k -> ?typical -> top-p -> min-p -> ?xtc -> temp-ext -> dist
[64888] 1.33.300.715 I slot launch_slot_: id  0 | task -1 | sampler params:
[64888]         repeat_last_n = 64, repeat_penalty = 1.000, frequency_penalty = 0.000, presence_penalty = 0.000
[64888]         dry_multiplier = 0.000, dry_base = 1.750, dry_allowed_length = 2, dry_penalty_last_n = 64
[64888]         top_k = 20, top_p = 0.900, min_p = 0.010, xtc_probability = 0.000, xtc_threshold = 0.100, typical_p = 1.000, top_n_sigma = -1.000, temp = 0.800
[64888]         mirostat = 0, mirostat_lr = 0.100, mirostat_ent = 5.000, adaptive_target = -1.000, adaptive_decay = 0.900
[64888] 1.33.300.720 I slot launch_slot_: id  0 | task 0 | processing task, is_child = 0
[64888] 1.33.301.378 I slot  operator (): id  0 | task 0 | new prompt, n_ctx_slot = 262144, n_keep = 0, task.n_tokens = 2409
[64888] 1.33.301.397 I slot  operator (): id  0 | task 0 | cached n_tokens = 0, memory_seq_rm [0, end)
[64888] 1.37.692.872 I slot print_timing: id  0 | task 0 | prompt processing, n_tokens =    512, progress = 0.21, t =   4.38 s / 117.00 tokens per second
[64888] 1.37.692.877 I slot  operator (): id  0 | task 0 | cached n_tokens = 512, memory_seq_rm [512, end)
[64888] 1.41.120.507 I slot print_timing: id  0 | task 0 | prompt processing, n_tokens =   1024, progress = 0.43, t =   7.82 s / 130.96 tokens per second
[64888] 1.41.120.511 I slot  operator (): id  0 | task 0 | cached n_tokens = 1024, memory_seq_rm [1024, end)
[64888] 1.44.571.767 I slot print_timing: id  0 | task 0 | prompt processing, n_tokens =   1536, progress = 0.64, t =  11.27 s / 136.29 tokens per second
[64888] 1.44.571.771 I slot  operator (): id  0 | task 0 | cached n_tokens = 1536, memory_seq_rm [1536, end)
[64888] 1.48.223.610 I slot print_timing: id  0 | task 0 | prompt processing, n_tokens =   2048, progress = 0.85, t =  14.92 s / 137.25 tokens per second
[64888] 1.48.223.614 I slot  operator (): id  0 | task 0 | cached n_tokens = 2048, memory_seq_rm [2048, end)
[64888] 1.49.350.152 I slot print_timing: id  0 | task 0 | prompt processing, n_tokens =   2149, progress = 0.89, t =  16.05 s / 133.90 tokens per second
[64888] 1.49.350.156 I slot  operator (): id  0 | task 0 | cached n_tokens = 2149, memory_seq_rm [2149, end)
[64888] 1.49.413.593 I slot create_check: id  0 | task 0 | created context checkpoint 1 of 32 (pos_min = 2148, pos_max = 2148, n_tokens = 2149, size = 124.876 MiB)
[64888] 1.51.001.486 I slot print_timing: id  0 | task 0 | prompt processing, n_tokens =   2388, progress = 0.99, t =  17.70 s / 134.91 tokens per second
[64888] 1.51.001.490 I slot  operator (): id  0 | task 0 | cached n_tokens = 2388, memory_seq_rm [2388, end)
[64888] 1.51.049.580 I slot create_check: id  0 | task 0 | created context checkpoint 2 of 32 (pos_min = 2387, pos_max = 2387, n_tokens = 2388, size = 124.876 MiB)
[64888] 1.51.471.004 I slot print_timing: id  0 | task 0 | prompt processing, n_tokens =   2405, progress = 1.00, t =  18.17 s / 132.36 tokens per second
[64888] 1.51.471.011 I slot  operator (): id  0 | task 0 | cached n_tokens = 2405, memory_seq_rm [2405, end)
[64888] 1.51.493.754 I slot init_sampler: id  0 | task 0 | init sampler, took 22.22 ms, tokens: text = 2409, total = 2409
[64888] 1.51.555.788 I slot create_check: id  0 | task 0 | created context checkpoint 3 of 32 (pos_min = 2404, pos_max = 2404, n_tokens = 2405, size = 124.876 MiB)
[64888] 1.51.916.123 I spec        begin: ngram_mod occupancy = 2353/4194304 (0.00)
[64888] 1.53.479.562 I cmn  common_reaso: deactivated (natural end)
[64888] 1.56.849.028 I slot print_timing: id  0 | task 0 | n_gen =    100, tg =  20.14 t/s, tg_3s =  20.34 t/s
[64888] 1.59.891.328 I slot print_timing: id  0 | task 0 | n_gen =    162, tg =  20.23 t/s, tg_3s =  20.38 t/s
[64888] 2.02.920.219 I slot print_timing: id  0 | task 0 | n_gen =    225, tg =  20.39 t/s, tg_3s =  20.80 t/s
[64888] 2.04.507.618 I slot print_timing: id  0 | task 0 | prompt eval time =   18631.98 ms /  2409 tokens (    7.73 ms per token,   129.29 tokens per second)
[64888] 2.04.507.623 I slot print_timing: id  0 | task 0 |        eval time =   12574.24 ms /   258 tokens (   48.93 ms per token,    20.44 tokens per second)
[64888] 2.04.507.624 I slot print_timing: id  0 | task 0 |       total time =   31206.22 ms /  2667 tokens
[64888] 2.04.507.625 I slot print_timing: id  0 | task 0 |    graphs reused =          0
[64888] 2.04.508.126 I spec common_specu: statistics        ngram-mod: #calls(b,g,a) =    1    257      0, #gen drafts =      0, #acc drafts =     0, #gen tokens =      0, #acc tokens =     0, dur(b,g,a) = 0.202, 0.590, 0.000 ms
[64888] 2.04.508.378 I slot      release: id  0 | task 0 | stop processing: n_tokens = 2666, truncated = 0

I Have almost same system, but I haven't downloaded this model. But downloaded something really similar architecture and I got 50tps. The key is remove mmproj and ngl, use --fit, or switch to ik_llama.cpp (Bonus, but massive speed boost on MOE and you can start using it 1min after you read this, very easy set up)

In the last unsloth build b10715 was added the parameter --lazy-mode on that override --load-mode = none ( undisclosed). This has the effect to save RAM and load the model fast, but on my system I was unable to get the speed of 50 tps, instead I reached a speed of 24.4 tps, see the full log below

0.00.123.316 I srv  llama_server: starting server in router mode. models will be automatically loaded on-demand
0.00.132.762 I srv  llama_server: listening on http://127.0.0.1:8080
0.15.730.559 I srv  ensure_model: model name=unsloth/qwen3.8-flash-next:IQ3_XXS is not loaded, loading...
0.15.730.690 I srv          load: spawning server instance with name=unsloth/qwen3.8-flash-next:IQ3_XXS on port 52661
0.15.730.724 I srv          load: spawning server instance with args:
0.15.730.725 I srv          load:   D:\llama-unsloth\b10715\bin\llama-server.exe
0.15.730.725 I srv          load:   --chat-template-kwargs
0.15.730.725 I srv          load:   {"enable_thinking": true, "preserve-thinking": true, "reasoning_effort": "medium"}
0.15.730.725 I srv          load:   --host
0.15.730.725 I srv          load:   127.0.0.1
0.15.730.725 I srv          load:   --jinja
0.15.730.725 I srv          load:   --metrics
0.15.730.726 I srv          load:   --min-p
0.15.730.726 I srv          load:   0.01
0.15.730.726 I srv          load:   --port
0.15.730.726 I srv          load:   52661
0.15.730.727 I srv          load:   --presence-penalty
0.15.730.727 I srv          load:   0.0
0.15.730.728 I srv          load:   --repeat-penalty
0.15.730.728 I srv          load:   1.0
0.15.730.728 I srv          load:   --spec-default
0.15.730.728 I srv          load:   --spec-type
0.15.730.728 I srv          load:   ngram-map-k
0.15.730.728 I srv          load:   --temperature
0.15.730.728 I srv          load:   0.8
0.15.730.728 I srv          load:   --tools
0.15.730.729 I srv          load:   all
0.15.730.729 I srv          load:   --top-k
0.15.730.729 I srv          load:   20
0.15.730.729 I srv          load:   --top-p
0.15.730.729 I srv          load:   0.90
0.15.730.729 I srv          load:   --webui-mcp-proxy
0.15.730.730 I srv          load:   --alias
0.15.730.730 I srv          load:   unsloth/qwen3.8-flash-next:IQ3_XXS
0.15.730.730 I srv          load:   --batch-size
0.15.730.730 I srv          load:   1024
0.15.730.730 I srv          load:   --ctx-size
0.15.730.730 I srv          load:   150000
0.15.730.730 I srv          load:   --cache-type-k
0.15.730.730 I srv          load:   q4_0
0.15.730.731 I srv          load:   --cache-type-v
0.15.730.731 I srv          load:   q4_0
0.15.730.731 I srv          load:   --flash-attn
0.15.730.731 I srv          load:   on
0.15.730.731 I srv          load:   --fit
0.15.730.731 I srv          load:   on
0.15.730.732 I srv          load:   --log-verbosity
0.15.730.732 I srv          load:   4
0.15.730.732 I srv          load:   --lazy-mode
0.15.730.732 I srv          load:   auto
0.15.730.732 I srv          load:   --model
0.15.730.732 I srv          load:   C:\models\unsloth\Qwen3.8-Flash-Next-GGUF\UD-IQ3_XXS\Qwen3.8-Flash-Next-UD-IQ3_XXS-00001-of-00003.gguf
0.15.730.732 I srv          load:   --parallel
0.15.730.733 I srv          load:   1
0.15.730.733 I srv          load:   --reasoning
0.15.730.733 I srv          load:   auto
0.15.730.733 I srv          load:   --threads
0.15.730.733 I srv          load:   16
0.15.730.733 I srv          load:   --ubatch-size
0.15.730.733 I srv          load:   512
0.15.735.535 I srv  ensure_model: waiting until model name=unsloth/qwen3.8-flash-next:IQ3_XXS is fully loaded...
[52661] 0.00.080.102 W Setting 'enable_thinking' via --chat-template-kwargs is deprecated. Use --reasoning on / --reasoning off instead.
[52661] 0.00.080.191 W server tools or MCP servers are enabled, using localhost as default CORS origin (change via --cors-origins)
[52661] 0.00.080.317 I cmn  common_param: common_params_print_info: build 10715 (92cedc867) with MSVC 19.44.35228.0 for Windows AMD64 (Compiled by the Unsloth team)
[52661] 0.00.080.320 I cmn  common_param: common_params_print_info: verbosity = 4 (adjust with the `-lv N` CLI arg)
[52661] 0.00.080.321 I cmn  common_param: device_info:
[52661] 0.00.156.909 I cmn  common_param:   - CUDA0   : NVIDIA GeForce RTX 5070 Ti (16275 MiB, 15037 MiB free)
[52661] 0.00.156.919 I cmn  common_param:   - CPU     : 12th Gen Intel(R) Core(TM) i7-12700KF (114456 MiB, 103142 MiB free)
[52661] 0.00.156.975 I cmn  common_param: system_info: n_threads = 16 (n_threads_batch = 16) / 20 | CUDA : ARCHS = 860,890,900,1000,1200 | USE_GRAPHS = 1 | BLACKWELL_NATIVE_FP4 = 1 | CPU : SSE3 = 1 | SSSE3 = 1 | AVX = 1 | AVX_VNNI = 1 | AVX2 = 1 | F16C = 1 | FMA = 1 | BMI2 = 1 | LLAMAFILE = 1 | OPENMP = 1 | REPACK = 1 |
[52661] 0.00.157.004 I srv          init: running without SSL
[52661] 0.00.157.051 I srv          init: using 19 threads for HTTP server
[52661] 0.00.157.257 W srv  llama_server: -----------------
[52661] 0.13.328.119 I srv  llama_server: model loaded
[52661] 0.13.328.121 I srv  llama_server: listening on http://127.0.0.1:52661
0.29.081.501 I srv  proxy_reques: proxying request to model unsloth/qwen3.8-flash-next:IQ3_XXS on port 52661
[52661] 0.13.328.602 I srv  update_slots: all slots are idle
0.29.085.489 I srv  proxy_reques: proxying request to model unsloth/qwen3.8-flash-next:IQ3_XXS on port 52661
[52661] 0.13.350.268 I srv  server_strea: conv_id=afebd875-5cc6-45f1-ab68-f19715b7eff8::unsloth/qwen3.8-flash-next:IQ3_XXS (empty=0)
[52661] 0.13.354.493 I srv   operator (): chat format: peg-native
[52661] 0.13.356.103 I slot get_availabl: id  0 | task -1 |  - skipping, slot is empty
[52661] 0.13.356.107 I slot get_availabl: id  0 | task -1 | selected slot by LRU, t_last = -1
[52661] 0.13.356.107 I srv  get_availabl: updating prompt cache
[52661] 0.13.356.114 I srv          load:  - looking for better prompt, base f_keep = -1.000, f_sim = 0.000
[52661] 0.13.356.120 I srv        update:  - cache state: 0 prompts, 0.000 MiB (limits: 8192.000 MiB, 150016 tokens, 8589934592 est)
[52661] 0.13.356.121 I srv  get_availabl: prompt cache update took 0.01 ms
[52661] 0.13.356.474 I cmn  common_reaso: activated, budget=2147483647 tokens
[52661] 0.13.356.494 I slot launch_slot_: id  0 | task -1 | sampler chain: logits -> ?penalties -> ?dry -> ?top-n-sigma -> top-k -> ?typical -> top-p -> min-p -> ?xtc -> temp-ext -> dist
[52661] 0.13.356.507 I slot launch_slot_: id  0 | task -1 | sampler params:
[52661]         repeat_last_n = 64, repeat_penalty = 1.000, frequency_penalty = 0.000, presence_penalty = 0.000
[52661]         dry_multiplier = 0.000, dry_base = 1.750, dry_allowed_length = 2, dry_penalty_last_n = 64
[52661]         top_k = 20, top_p = 0.900, min_p = 0.010, xtc_probability = 0.000, xtc_threshold = 0.100, typical_p = 1.000, top_n_sigma = -1.000, temp = 0.800
[52661]         mirostat = 0, mirostat_lr = 0.100, mirostat_ent = 5.000, adaptive_target = -1.000, adaptive_decay = 0.900
[52661] 0.47.511.099 I slot print_timing: id  0 | task 0 | n_gen =    100, tg =  23.69 t/s, tg_3s =  23.93 t/s
[52661] 0.50.522.233 I slot print_timing: id  0 | task 0 | n_gen =    176, tg =  24.34 t/s, tg_3s =  25.24 t/s
[52661] 0.52.346.413 I slot print_timing: id  0 | task 0 | prompt eval time =   29975.20 ms /  2320 tokens (   12.92 ms per token,    77.40 tokens per second)
[52661] 0.52.346.420 I slot print_timing: id  0 | task 0 |        eval time =    9014.67 ms /   221 tokens (   40.98 ms per token,    24.40 tokens per second)
[52661] 0.52.346.421 I slot print_timing: id  0 | task 0 |       total time =   38989.87 ms /  2541 tokens

But as you can see, the prefill speed is 77.4 tps (not very good). Using "--lazy-mode off" and "--load-mode none" decreases the speed slightly to 22.5 tps, but the prefill increases to 176 tps (about a 2x increase). If you use the model seriously, you'll learn that a huge gain in prefill is more important than a small increase in decoding speed, so if you have enough memory, I suggest loading the model completely into memory.

Here the full log:

0.00.139.739 I srv  llama_server: listening on http://127.0.0.1:8080
0.32.693.416 I srv  ensure_model: model name=unsloth/qwen3.8-flash-next:IQ3_XXS is not loaded, loading...
0.32.693.589 I srv          load: spawning server instance with name=unsloth/qwen3.8-flash-next:IQ3_XXS on port 65000
0.32.693.627 I srv          load: spawning server instance with args:
0.32.693.627 I srv          load:   D:\Programs\llama.cpp\llama-unsloth\b10715\bin\llama-server.exe
0.32.693.628 I srv          load:   --chat-template-kwargs
0.32.693.628 I srv          load:   {"enable_thinking": true, "preserve-thinking": true, "reasoning_effort": "medium"}
0.32.693.628 I srv          load:   --host
0.32.693.631 I srv          load:   127.0.0.1
0.32.693.631 I srv          load:   --jinja
0.32.693.632 I srv          load:   --metrics
0.32.693.633 I srv          load:   --min-p
0.32.693.633 I srv          load:   0.01
0.32.693.633 I srv          load:   --no-mmproj-offload
0.32.693.633 I srv          load:   --port
0.32.693.634 I srv          load:   65000
0.32.693.634 I srv          load:   --presence-penalty
0.32.693.634 I srv          load:   0.0
0.32.693.634 I srv          load:   --repeat-penalty
0.32.693.634 I srv          load:   1.0
0.32.693.634 I srv          load:   --spec-default
0.32.693.635 I srv          load:   --spec-type
0.32.693.635 I srv          load:   ngram-map-k
0.32.693.635 I srv          load:   --temperature
0.32.693.635 I srv          load:   0.8
0.32.693.635 I srv          load:   --tools
0.32.693.635 I srv          load:   all
0.32.693.635 I srv          load:   --top-k
0.32.693.636 I srv          load:   20
0.32.693.636 I srv          load:   --top-p
0.32.693.636 I srv          load:   0.90
0.32.693.636 I srv          load:   --webui-mcp-proxy
0.32.693.636 I srv          load:   --alias
0.32.693.636 I srv          load:   unsloth/qwen3.8-flash-next:IQ3_XXS
0.32.693.636 I srv          load:   --batch-size
0.32.693.636 I srv          load:   1024
0.32.693.637 I srv          load:   --ctx-size
0.32.693.637 I srv          load:   262000
0.32.693.637 I srv          load:   --cache-type-k
0.32.693.637 I srv          load:   q4_0
0.32.693.637 I srv          load:   --cache-type-v
0.32.693.637 I srv          load:   q4_0
0.32.693.638 I srv          load:   --flash-attn
0.32.693.638 I srv          load:   on
0.32.693.638 I srv          load:   --fit
0.32.693.638 I srv          load:   off
0.32.693.639 I srv          load:   --load-mode
0.32.693.639 I srv          load:   none
0.32.693.639 I srv          load:   --log-verbosity
0.32.693.639 I srv          load:   4
0.32.693.639 I srv          load:   --lazy-mode
0.32.693.639 I srv          load:   off
0.32.693.639 I srv          load:   --model
0.32.693.639 I srv          load:   C:\models\unsloth\Qwen3.8-Flash-Next-GGUF\UD-IQ3_XXS\Qwen3.8-Flash-Next-UD-IQ3_XXS-00001-of-00003.gguf
0.32.693.640 I srv          load:   --mmproj
0.32.693.640 I srv          load:   C:\models\unsloth\Qwen3.8-Flash-Next-GGUF\mmproj-BF16.gguf
0.32.693.640 I srv          load:   --n-cpu-moe
0.32.693.640 I srv          load:   48
0.32.693.640 I srv          load:   --n-gpu-layers
0.32.693.640 I srv          load:   49
0.32.693.640 I srv          load:   --parallel
0.32.693.640 I srv          load:   1
0.32.693.641 I srv          load:   --reasoning
0.32.693.641 I srv          load:   auto
0.32.693.642 I srv          load:   --threads
0.32.693.642 I srv          load:   16
0.32.693.642 I srv          load:   --ubatch-size
0.32.693.642 I srv          load:   512
0.32.698.079 I srv  ensure_model: waiting until model name=unsloth/qwen3.8-flash-next:IQ3_XXS is fully loaded...
[65000] 0.00.079.444 W Setting 'enable_thinking' via --chat-template-kwargs is deprecated. Use --reasoning on / --reasoning off instead.
[65000] 0.00.079.567 W server tools or MCP servers are enabled, using localhost as default CORS origin (change via --cors-origins)
[65000] 0.00.079.680 I cmn  common_param: common_params_print_info: build 10715 (92cedc867) with MSVC 19.44.35228.0 for Windows AMD64 (Compiled by the Unsloth team)
[65000] 0.00.079.682 I cmn  common_param: common_params_print_info: verbosity = 4 (adjust with the `-lv N` CLI arg)
[65000] 0.00.079.682 I cmn  common_param: device_info:
[65000] 0.00.155.513 I cmn  common_param:   - CUDA0   : NVIDIA GeForce RTX 5070 Ti (16275 MiB, 15037 MiB free)
[65000] 0.00.155.523 I cmn  common_param:   - CPU     : 12th Gen Intel(R) Core(TM) i7-12700KF (114456 MiB, 103207 MiB free)
[65000] 0.00.155.579 I cmn  common_param: system_info: n_threads = 16 (n_threads_batch = 16) / 20 | CUDA : ARCHS = 860,890,900,1000,1200 | USE_GRAPHS = 1 | BLACKWELL_NATIVE_FP4 = 1 | CPU : SSE3 = 1 | SSSE3 = 1 | AVX = 1 | AVX_VNNI = 1 | AVX2 = 1 | F16C = 1 | FMA = 1 | BMI2 = 1 | LLAMAFILE = 1 | OPENMP = 1 | REPACK = 1 |
[65000] 0.00.155.608 I srv          init: running without SSL
[65000] 0.00.155.651 I srv          init: using 19 threads for HTTP server
[65000] 1.25.690.022 I srv  llama_server: model loaded
[65000] 1.25.690.027 I srv  llama_server: listening on http://127.0.0.1:65000
1.58.406.101 I srv  proxy_reques: proxying request to model unsloth/qwen3.8-flash-next:IQ3_XXS on port 65000
[65000] 1.25.690.325 I srv   operator (): child server monitoring thread started, waiting for EOF on stdin...
[65000] 1.25.690.581 I srv  update_slots: all slots are idle
1.58.416.922 I srv  proxy_reques: proxying request to model unsloth/qwen3.8-flash-next:IQ3_XXS on port 65000
[65000] 1.25.716.629 I srv  server_strea: conv_id=afebd875-5cc6-45f1-ab68-f19715b7eff8::unsloth/qwen3.8-flash-next:IQ3_XXS (empty=0)
[65000] 1.25.726.795 I srv   operator (): chat format: peg-native
[65000] 1.25.730.973 I slot get_availabl: id  0 | task -1 |  - skipping, slot is empty
[65000] 1.25.730.976 I slot get_availabl: id  0 | task -1 | selected slot by LRU, t_last = -1
[65000] 1.25.730.976 I srv  get_availabl: updating prompt cache
[65000] 1.25.731.161 I srv          load:  - looking for better prompt, base f_keep = -1.000, f_sim = 0.000
[65000] 1.25.731.337 I srv        update:  - cache state: 0 prompts, 0.000 MiB (limits: 8192.000 MiB, 262144 tokens, 8589934592 est)
[65000] 1.25.731.340 I srv  get_availabl: prompt cache update took 0.36 ms
[65000] 1.25.744.545 I cmn  common_reaso: activated, budget=2147483647 tokens
[65000] 1.25.753.060 I slot launch_slot_: id  0 | task -1 | sampler chain: logits -> ?penalties -> ?dry -> ?top-n-sigma -> top-k -> ?typical -> top-p -> min-p -> ?xtc -> temp-ext -> dist
65000] 1.40.910.494 I cmn  common_reaso: deactivated (natural end)
[65000] 1.43.841.798 I slot print_timing: id  0 | task 0 | n_gen =    100, tg =  22.35 t/s, tg_3s =  22.57 t/s
[65000] 1.46.871.768 I slot print_timing: id  0 | task 0 | n_gen =    168, tg =  22.39 t/s, tg_3s =  22.44 t/s
[65000] 1.49.443.474 I slot print_timing: id  0 | task 0 | prompt eval time =   13658.31 ms /  2409 tokens (    5.67 ms per token,   176.38 tokens per second)
[65000] 1.49.443.479 I slot print_timing: id  0 | task 0 |        eval time =   10031.61 ms /   227 tokens (   44.39 ms per token,    22.53 tokens per second)
[65000] 1.49.443.480 I slot print_timing: id  0 | task 0 |       total time =   23689.92 ms /  2636 tokens

Sign up or log in to comment