Skip to content

[SYCL] add dev2dev memcpy by SYCL API - #24476

Merged
ggerganov merged 6 commits into
ggml-org:masterfrom
arthw:add_sycl_memcpy
Jun 17, 2026
Merged

[SYCL] add dev2dev memcpy by SYCL API#24476
ggerganov merged 6 commits into
ggml-org:masterfrom
arthw:add_sycl_memcpy

Conversation

@arthw

@arthw arthw commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

There are several issues about abnormal output in multiple GPUs case, like: #23612.

After disable dev2dev memcpy by L0 API, all issues disappear.
This PR is used to fix them.

This PR use SYCL API to implement dev2dev memcpy directly for dGPU+dGPU case. It should be quicker than host forward mode, and has same performance of L0 API as the test result.
For iGPU+dGPU case, still use host forward mode.

Add running time environment variable GGML_SYCL_DEV2DEV_MEMCPY to choose the SYCL or L0 API in dev2dev memory copy.

Value:
* 0: SYCL API (default)
* 1: L0 API -- L0 API is found to lead to abnormal crash in some case. This debug flag is used to check the issue.

The performance of two APIs are not obvious difference on two Arc770 cases:

./build/bin/llama-bench -m ../models/llama-2-7b.Q4_0.gguf 
| model                          |       size |     params | backend    | ngl |            test |                  t/s |
| ------------------------------ | ---------: | ---------: | ---------- | --: | --------------: | -------------------: |
| llama 7B Q4_0                  |   3.56 GiB |     6.74 B | SYCL       |  -1 |           pp512 |        589.00 ± 1.10 |
| llama 7B Q4_0                  |   3.56 GiB |     6.74 B | SYCL       |  -1 |           tg128 |         60.96 ± 0.05 |

export GGML_SYCL_DEV2DEV_MEMCPY=1

./build/bin/llama-bench -m ../models/llama-2-7b.Q4_0.gguf 
| model                          |       size |     params | backend    | ngl |            test |                  t/s |
| ------------------------------ | ---------: | ---------: | ---------- | --: | --------------: | -------------------: |
| llama 7B Q4_0                  |   3.56 GiB |     6.74 B | SYCL       |  -1 |           pp512 |        588.52 ± 1.21 |
| llama 7B Q4_0                  |   3.56 GiB |     6.74 B | SYCL       |  -1 |           tg128 |         60.88 ± 0.03 |


./build/bin/llama-bench -m ../models/Qwen3.5-27B-Q8_0.gguf
| model                          |       size |     params | backend    | ngl |            test |                  t/s |
| ------------------------------ | ---------: | ---------: | ---------- | --: | --------------: | -------------------: |
| qwen35 27B Q8_0                |  26.62 GiB |    26.90 B | SYCL       |  -1 |           pp512 |        159.71 ± 0.14 |
| qwen35 27B Q8_0                |  26.62 GiB |    26.90 B | SYCL       |  -1 |           tg128 |          9.50 ± 0.00 |

export GGML_SYCL_DEV2DEV_MEMCPY=0
./build/bin/llama-bench -m ../models/Qwen3.5-27B-Q8_0.gguf
| model                          |       size |     params | backend    | ngl |            test |                  t/s |
| ------------------------------ | ---------: | ---------: | ---------- | --: | --------------: | -------------------: |
| qwen35 27B Q8_0                |  26.62 GiB |    26.90 B | SYCL       |  -1 |           pp512 |        159.54 ± 0.24 |
| qwen35 27B Q8_0                |  26.62 GiB |    26.90 B | SYCL       |  -1 |           tg128 |          9.50 ± 0.00 |

@arthw
arthw requested a review from a team as a code owner June 11, 2026 14:00
@github-actions github-actions Bot added documentation Improvements or additions to documentation ggml changes relating to the ggml tensor library for machine learning SYCL https://en.wikipedia.org/wiki/SYCL - GPU programming language labels Jun 11, 2026
@arthw arthw added the merge ready A maintainer can use this label to indicate that they consider the changes final and ready to merge. label Jun 13, 2026
@grukx

grukx commented Jun 14, 2026

Copy link
Copy Markdown

@arthw

PR crashes at startup on dual Intel Arc Pro B70 (Battlemage), Windows, oneAPI 2026. It dies on the first cross-GPU dev2dev copy (the new SYCL path), with GGML_SYCL_ENABLE_LEVEL_ZERO=0.

Crash:

level_zero backend failed with error: 39 (UR_RESULT_ERROR_OUT_OF_DEVICE_MEMORY)
Exception caught at file:ggml/src/ggml-sycl/ggml-sycl.cpp, line:625, func:operator()
SYCL error: CHECK_TRY_ERROR(q_dst.memcpy(ptr_dst, ptr_src, size).wait()): Exception caught in this line of code.
  in function dev2dev_memcpy at ggml/src/ggml-sycl/ggml-sycl.cpp:625
ggml/src/ggml-sycl/common.hpp:150: SYCL error

Command:

set GGML_SYCL_ENABLE_LEVEL_ZERO=0
llama-server -m Qwen3.6-35B-A3B-MTP-UD-Q6_K_XL.gguf \
  --device SYCL0,SYCL1 -sm layer -ts 1,1 -ngl 99 \
  -c 4096 -b 512 -ub 128 -fa 1 -ctk q8_0 -ctv q8_0

Build: llama.cpp 4988f6e86 (b9626) + this PR (f87e03c0), Intel oneAPI 2026 DPC++/C++, static. Without this PR the exact same setup runs fine.

It's not an actual OOM — the build without #24476 loads the same model on the same two GPUs without issue.

Update: A printf in dev2dev_memcpy shows the failing call is a valid 16 KB same-platform dGPU→dGPU copy — ptr_dst/ptr_src both non-null — so error 39 is misleading. It's the first copy in the MoE mul_mat_id path, where the new direct q_dst.memcpy reads ptr_src which lives on the other device's queue/context; same_platform == 1 doesn't guarantee that pointer is accessible from q_dst. The previous host-staged copy handled it.

Logs attached.

24476only.stderr.log
24476only.stdout.log

@grukx

grukx commented Jun 14, 2026

Copy link
Copy Markdown

I let loose Opus to see if it was a driver or sycl usage issue and here is what it reported.

Dug into why it fails on the B70, and it turns out to be a Battlemage peer-access (P2P) limitation, not a context/usage bug. So the fix needs to be a capability check rather than a platform check.

Not a null pointer, not a real OOM. A printf at the failing call in dev2dev_memcpy shows valid non-null pointers and a 16 KB copy (~31 GB free per GPU):

ptr_dst=0xFFFFD404CA200000 ptr_src=0xFFFFB805DA814200 size=16384 same_platform=1
-> UR_RESULT_ERROR_OUT_OF_DEVICE_MEMORY

Error 39 is a misleading UR/Level-Zero code here.

Minimal standalone SYCL repro (no llama.cpp), two Arc Pro B70 — cross-device q_dst.memcpy(p1@dev1, p0@dev0, 16384) under three setups:

setup result
separate per-device contexts FAIL (err 39)
one shared context FAIL (err 39)
shared context + peer access FAIL (err 39)

The decisive line: device.ext_oneapi_can_access_peer(other) returns 0 in both directions. Tested on both the Level-Zero V2 and V1 UR adapters — identical (peer = 0, all fail). So the runtime itself reports these two B70s cannot do dGPU↔dGPU P2P; host-staging is the only working path on this hardware.

Implications for this PR:

  • The guard should be ext_oneapi_can_access_peer(...), keeping the host-staged fallback when it returns false — not same_platform. same_platform is true on the B70 but P2P is unsupported, so the direct path breaks all multi-B70 SYCL (plain decode and MTP), not just edge cases.

@arthw

arthw commented Jun 15, 2026

Copy link
Copy Markdown
Contributor Author

@grukx
Got it, I will check it

Thank you for your feedback!

@arthw

arthw commented Jun 15, 2026

Copy link
Copy Markdown
Contributor Author

@grukx
Could you help test it with following setting?

export GGML_SYCL_ENABLE_LEVEL_ZERO=1
export GGML_SYCL_DEV2DEV_MEMCPY=1

Thank you!

@arthw

arthw commented Jun 15, 2026

Copy link
Copy Markdown
Contributor Author

@grukx
I update the detect method of p2p communication.
Could you test it with default setting?

Thank you!

@ggerganov ggerganov removed the merge ready A maintainer can use this label to indicate that they consider the changes final and ready to merge. label Jun 15, 2026
@grukx

grukx commented Jun 15, 2026

Copy link
Copy Markdown

@arthw

Tested your updated branch (1ee0ada, "update the detect method for p2p comm") on the dual Intel Arc Pro B70 (Battlemage), Windows, oneAPI 2026. Both configs now run cleanly, no crash and correct output.  

Build: PR #24476 head 1ee0ada (base fdc3db9), Intel oneAPI 2026 DPC++/C++, static SYCL.
  Command (same as the original crash repro), with GGML_SYCL_DEBUG=1 to log the dev2dev path:
  llama-server -m Qwen3.6-35B-A3B-MTP-UD-Q6_K_XL.gguf
    --device SYCL0,SYCL1 -sm layer -ts 1,1 -ngl 99
    -c 4096 -b 512 -ub 128 -fa 1 -ctk q8_0 -ctv q8_0

  1) Default settings:
  - dev2dev routing: 17× "by host forward", 0× direct — your ext_oneapi_can_access_peer() check correctly detects the B70 has no P2P and routes to host-staging.
  - No crash, coherent output ("The capital of France is Paris.").

  2) GGML_SYCL_ENABLE_LEVEL_ZERO=1 + GGML_SYCL_DEV2DEV_MEMCPY=1:
  - dev2dev routing: 17× "by L0", each followed by 17× "by host forward" — the L0 zeCommandListAppendMemoryCopy is attempted but does not complete the transfer on the B70, and your in-function fallback host-stages it. Coherent output confirms the host-staged copy is what actually moves the data.
  - No crash.

Thanks for fixing this.

@arthw

arthw commented Jun 15, 2026

Copy link
Copy Markdown
Contributor Author

@grukx
Thank you for your feedback!

I will update to merge as soon.

@arthw arthw added the merge ready A maintainer can use this label to indicate that they consider the changes final and ready to merge. label Jun 16, 2026
@mjsabby

mjsabby commented Jun 17, 2026

Copy link
Copy Markdown

I also verified this, and no more crashes. When can we have this checked in?

@arthw

arthw commented Jun 17, 2026

Copy link
Copy Markdown
Contributor Author

I also verified this, and no more crashes. When can we have this checked in?

It's ready to merge. Wait for owner final review and merge.

Thank you for your support!

@ggerganov
ggerganov merged commit 74a80dd into ggml-org:master Jun 17, 2026
27 of 28 checks passed
@pankleks

Copy link
Copy Markdown

Hello - I have setup with 2 x B50 PRO if you guys would like to test something ...

@arthw

arthw commented Jun 18, 2026

Copy link
Copy Markdown
Contributor Author

@pankleks
Yes, it's great if you can help test.

Could you test by llama-server or llama-cli with multiple GPUs on latest code?
Check the output text is correct or garbled.

For two cases:
export GGML_SYCL_DEV2DEV_MEMCPY=0
export GGML_SYCL_DEV2DEV_MEMCPY=1

Expect:
for case export GGML_SYCL_DEV2DEV_MEMCPY=0, the output text is always correct.
for case export GGML_SYCL_DEV2DEV_MEMCPY=1, I want to know if the output text is always correct in latest code. - It will decide to remove level zero API in dev2dev memcpy().

Thank you!

@pankleks

Copy link
Copy Markdown

both answers are ok:

log from MEMCPY=0


c:\ai\llama-b9694-bin-win-sycl-x64>llama-server -hf unsloth/Qwen3-Coder-Next-GGUF --host 192.168.90.128 --port 8080 -lv 4 -c 131072 -b 8192 -ub 2048 --no-mmap -t 28 -tb 28 --parallel 2 --min-p 0.01 --top-k 40 --top-p 0.95 --temp 1.0 --repeat-penalty 1.0 -ctk q8_0 -ctv q8_0
0.00.268.038 I common_params_handle_remote_preset: looking for remote preset at https://huggingface.co/unsloth/Qwen3-Coder-Next-GGUF/resolve/main/preset.ini
0.00.422.549 I common_download_file_single_online: HEAD failed, status: 404
0.00.422.777 I common_params_handle_remote_preset: no remote preset found, skipping
0.00.753.909 I common_params_print_info: build 9694 (4a79037b8) with Clang 20.1.8 for Windows x86_64
0.00.753.914 I log_info: verbosity = 4 (adjust with the `-lv N` CLI arg)
0.00.753.914 I device_info:
0.00.864.081 I   - SYCL0   : Intel(R) Arc(TM) Pro B50 Graphics (15881 MiB, 15707 MiB free)
0.00.864.177 I   - SYCL1   : Intel(R) Arc(TM) Pro B50 Graphics (15881 MiB, 15881 MiB free)
0.00.864.183 I   - CPU     : AMD Ryzen 9 5950X 16-Core Processor             (130997 MiB, 123322 MiB free)
0.00.864.216 I system_info: n_threads = 28 (n_threads_batch = 28) / 32 | CPU : SSE3 = 1 | SSSE3 = 1 | AVX = 1 | AVX2 = 1 | F16C = 1 | FMA = 1 | BMI2 = 1 | LLAMAFILE = 1 | OPENMP = 1 | REPACK = 1 |
0.00.864.259 I srv          init: running without SSL
0.00.864.304 I srv          init: using 31 threads for HTTP server
0.00.864.510 I srv         start: binding port with default address family
0.00.876.014 I srv  llama_server: loading model
0.00.876.024 I srv    load_model: loading model 'C:\Users\root\.cache\huggingface\hub\models--unsloth--Qwen3-Coder-Next-GGUF\snapshots\ce09c67b53bc8739eef83fe67b2f5d293c270632\Qwen3-Coder-Next-Q4_K_M.gguf'
0.00.876.086 I common_init_result: fitting params to device memory ...
0.00.876.087 I common_init_result: (for bugs during this step try to reproduce them with -fit off, or provide --verbose logs if the bug only occurs with -fit on)
0.00.876.090 I common_params_fit_impl: getting device memory data for initial parameters:
0.01.110.094 I common_memory_breakdown_print: | memory breakdown [MiB]                        | total    free     self   model   context   compute    unaccounted |
0.01.110.100 I common_memory_breakdown_print: |   - SYCL0 (Intel(R) Arc(TM) Pro B50 Graphics) | 15881 = 15561 + (26136 = 23823 +     895 +    1417) +      -25816 |
0.01.110.100 I common_memory_breakdown_print: |   - SYCL1 (Intel(R) Arc(TM) Pro B50 Graphics) | 15881 = 15881 + (24652 = 22283 +     887 +    1481) +      -24652 |
0.01.110.101 I common_memory_breakdown_print: |   - Host                                      |                   1224 =   166 +       0 +    1057                |
0.01.141.437 I common_params_fit_impl: projected memory use with initial parameters [MiB]:
0.01.141.443 I common_params_fit_impl:   - SYCL0 (Intel(R) Arc(TM) Pro B50 Graphics):  15881 total,  26136 used, -10574 free vs. target of   1024
0.01.141.444 I common_params_fit_impl:   - SYCL1 (Intel(R) Arc(TM) Pro B50 Graphics):  15881 total,  24652 used,  -8770 free vs. target of   1024
0.01.141.445 I common_params_fit_impl: projected to use 50788 MiB of device memory vs. 31443 MiB of free device memory
0.01.141.445 I common_params_fit_impl: cannot meet free memory targets on all devices, need to use 21393 MiB less in total
0.01.141.446 I common_params_fit_impl: context size set by user to 131072 -> no change
0.01.141.450 I common_params_fit_impl: getting device memory data with all MoE tensors moved to system memory:
0.01.362.143 I common_memory_breakdown_print: | memory breakdown [MiB]                        | total    free     self   model   context   compute    unaccounted |
0.01.362.148 I common_memory_breakdown_print: |   - SYCL0 (Intel(R) Arc(TM) Pro B50 Graphics) | 15881 = 15561 + ( 2711 =   639 +     895 +    1176) +       -2391 |
0.01.362.149 I common_memory_breakdown_print: |   - SYCL1 (Intel(R) Arc(TM) Pro B50 Graphics) | 15881 = 15881 + ( 2199 =   827 +     887 +     484) +       -2199 |
0.01.362.149 I common_memory_breakdown_print: |   - Host                                      |                  45095 = 44806 +       0 +     288                |
0.01.393.047 I common_params_fit_impl: with only dense weights in device memory there is a total surplus of 24485 MiB
0.01.393.054 I common_params_fit_impl: id=0, target=14537 MiB
0.01.393.054 I common_params_fit_impl: id=1, target=14857 MiB
0.01.622.800 I common_memory_breakdown_print: | memory breakdown [MiB]                        | total    free     self   model   context   compute    unaccounted |
0.01.622.807 I common_memory_breakdown_print: |   - SYCL0 (Intel(R) Arc(TM) Pro B50 Graphics) | 15881 = 15641 + ( 1148 =     0 +       0 +    1148) +        -907 |
0.01.622.807 I common_memory_breakdown_print: |   - SYCL1 (Intel(R) Arc(TM) Pro B50 Graphics) | 15881 = 15881 + (    0 =     0 +       0 +       0) +           0 |
0.01.622.808 I common_memory_breakdown_print: |   - Host                                      |                  48393 = 46274 +    1782 +     336                |
0.01.655.223 I common_params_fit_impl: memory for test allocation by device:
0.01.655.230 I common_params_fit_impl: id=0, n_layer= 0, n_part= 0, overflow_type=4, mem=  1148 MiB
0.01.655.231 I common_params_fit_impl: id=1, n_layer= 0, n_part= 0, overflow_type=4, mem=     0 MiB
0.01.655.233 I common_params_fit_impl: filling dense-only layers back-to-front:
0.01.947.569 I common_memory_breakdown_print: | memory breakdown [MiB]                        | total    free     self   model   context   compute    unaccounted |
0.01.947.574 I common_memory_breakdown_print: |   - SYCL0 (Intel(R) Arc(TM) Pro B50 Graphics) | 15881 = 15641 + (  727 =     0 +       0 +     727) +        -487 |
0.01.947.575 I common_memory_breakdown_print: |   - SYCL1 (Intel(R) Arc(TM) Pro B50 Graphics) | 15881 = 15881 + ( 4730 =  2463 +    1782 +     484) +       -4730 |
0.01.947.575 I common_memory_breakdown_print: |   - Host                                      |                  44099 = 43810 +       0 +     288                |
0.01.981.600 I common_params_fit_impl: memory for test allocation by device:
0.01.981.608 I common_params_fit_impl: id=0, n_layer= 0, n_part= 0, overflow_type=4, mem=   727 MiB
0.01.981.608 I common_params_fit_impl: id=1, n_layer=49, n_part=48, overflow_type=4, mem=  4730 MiB
0.01.981.621 I common_params_fit_impl: set ngl_per_device[1].n_layer=49
0.01.981.622 I common_params_fit_impl:   - SYCL1 (Intel(R) Arc(TM) Pro B50 Graphics): 49 layers,   4730 MiB used,  11151 MiB free
0.01.981.623 I common_params_fit_impl:   - SYCL0 (Intel(R) Arc(TM) Pro B50 Graphics):  0 layers,    727 MiB used,  14833 MiB free
0.01.981.625 I common_params_fit_impl: converting dense-only layers to full layers and filling them front-to-back with overflow to next device/system memory:
0.02.208.265 I common_memory_breakdown_print: | memory breakdown [MiB]                        | total    free     self   model   context   compute    unaccounted |
0.02.208.270 I common_memory_breakdown_print: |   - SYCL0 (Intel(R) Arc(TM) Pro B50 Graphics) | 15881 = 15489 + (49064 = 45864 +    1782 +    1417) +      -48672 |
0.02.208.271 I common_memory_breakdown_print: |   - SYCL1 (Intel(R) Arc(TM) Pro B50 Graphics) | 15881 = 15881 + (  244 =   243 +       0 +       1) +        -244 |
0.02.208.271 I common_memory_breakdown_print: |   - Host                                      |                   1224 =   166 +       0 +    1057                |
0.02.239.991 I common_params_fit_impl: memory for test allocation by device:
0.02.239.999 I common_params_fit_impl: id=0, n_layer=48, n_part= 0, overflow_type=4, mem= 49064 MiB
0.02.240.000 I common_params_fit_impl: id=1, n_layer= 1, n_part= 0, overflow_type=4, mem=   244 MiB
0.02.499.469 I common_memory_breakdown_print: | memory breakdown [MiB]                        | total    free     self   model   context   compute    unaccounted |
0.02.499.474 I common_memory_breakdown_print: |   - SYCL0 (Intel(R) Arc(TM) Pro B50 Graphics) | 15881 = 15599 + (13799 = 12621 +     449 +     727) +      -13517 |
0.02.499.475 I common_memory_breakdown_print: |   - SYCL1 (Intel(R) Arc(TM) Pro B50 Graphics) | 15881 = 15881 + ( 3815 =  1998 +    1332 +     484) +       -3815 |
0.02.499.475 I common_memory_breakdown_print: |   - Host                                      |                  31943 = 31654 +       0 +     288                |
0.02.530.160 I common_params_fit_impl: memory for test allocation by device:
0.02.530.168 I common_params_fit_impl: id=0, n_layer=13, n_part= 0, overflow_type=4, mem= 13799 MiB
0.02.530.169 I common_params_fit_impl: id=1, n_layer=36, n_part=35, overflow_type=4, mem=  3815 MiB
0.02.530.172 I common_params_fit_impl: set ngl_per_device[0].(n_layer, n_part)=(13, 0), id_dense_start=1
0.02.794.377 I common_memory_breakdown_print: | memory breakdown [MiB]                        | total    free     self   model   context   compute    unaccounted |
0.02.794.384 I common_memory_breakdown_print: |   - SYCL0 (Intel(R) Arc(TM) Pro B50 Graphics) | 15881 = 15593 + (14694 = 13512 +     454 +     727) +      -14406 |
0.02.794.384 I common_memory_breakdown_print: |   - SYCL1 (Intel(R) Arc(TM) Pro B50 Graphics) | 15881 = 15881 + ( 4008 =  2103 +    1328 +     576) +       -4008 |
0.02.794.385 I common_memory_breakdown_print: |   - Host                                      |                  30947 = 30658 +       0 +     288                |
0.02.825.296 I common_params_fit_impl: memory for test allocation by device:
0.02.825.302 I common_params_fit_impl: id=0, n_layer=14, n_part= 0, overflow_type=4, mem= 14694 MiB
0.02.825.303 I common_params_fit_impl: id=1, n_layer=35, n_part=34, overflow_type=4, mem=  4008 MiB
0.02.825.306 I common_params_fit_impl: set ngl_per_device_high[0].(n_layer, n_part)=(14, 0), id_dense_start_high=1
0.02.825.314 I common_params_fit_impl: trying to fit one extra layer with overflow_type=LAYER_FRACTION_UP
0.03.099.418 I common_memory_breakdown_print: | memory breakdown [MiB]                        | total    free     self   model   context   compute    unaccounted |
0.03.099.423 I common_memory_breakdown_print: |   - SYCL0 (Intel(R) Arc(TM) Pro B50 Graphics) | 15881 = 15593 + (14113 = 12931 +     454 +     727) +      -13825 |
0.03.099.423 I common_memory_breakdown_print: |   - SYCL1 (Intel(R) Arc(TM) Pro B50 Graphics) | 15881 = 15881 + ( 4601 =  2684 +    1328 +     588) +       -4601 |
0.03.099.424 I common_memory_breakdown_print: |   - Host                                      |                  30947 = 30658 +       0 +     288                |
0.03.130.805 I common_params_fit_impl: memory for test allocation by device:
0.03.130.812 I common_params_fit_impl: id=0, n_layer=14, n_part= 1, overflow_type=2, mem= 14113 MiB
0.03.130.813 I common_params_fit_impl: id=1, n_layer=35, n_part=34, overflow_type=4, mem=  4601 MiB
0.03.130.816 I common_params_fit_impl: set ngl_per_device[0].(n_layer, n_part, overflow_type)=(14, 1, UP), id_dense_start=1
0.03.130.817 I common_params_fit_impl: trying to fit one extra layer with overflow_type=LAYER_FRACTION_GATE
0.03.398.032 I common_memory_breakdown_print: | memory breakdown [MiB]                        | total    free     self   model   context   compute    unaccounted |
0.03.398.037 I common_memory_breakdown_print: |   - SYCL0 (Intel(R) Arc(TM) Pro B50 Graphics) | 15881 = 15593 + (14405 = 13223 +     454 +     727) +      -14117 |
0.03.398.038 I common_memory_breakdown_print: |   - SYCL1 (Intel(R) Arc(TM) Pro B50 Graphics) | 15881 = 15881 + ( 4296 =  2391 +    1328 +     576) +       -4296 |
0.03.398.038 I common_memory_breakdown_print: |   - Host                                      |                  30947 = 30658 +       0 +     288                |
0.03.428.604 I common_params_fit_impl: memory for test allocation by device:
0.03.428.610 I common_params_fit_impl: id=0, n_layer=14, n_part= 1, overflow_type=3, mem= 14405 MiB
0.03.428.611 I common_params_fit_impl: id=1, n_layer=35, n_part=34, overflow_type=4, mem=  4296 MiB
0.03.428.614 I common_params_fit_impl: set ngl_per_device[0].(n_layer, n_part, overflow_type)=(14, 1, GATE), id_dense_start=1
0.03.428.617 I common_params_fit_impl:   - SYCL0 (Intel(R) Arc(TM) Pro B50 Graphics): 14 layers ( 1 overflowing),  14405 MiB used,   1156 MiB free
0.03.644.183 I common_memory_breakdown_print: | memory breakdown [MiB]                        | total    free     self   model   context   compute    unaccounted |
0.03.644.188 I common_memory_breakdown_print: |   - SYCL0 (Intel(R) Arc(TM) Pro B50 Graphics) | 15881 = 15593 + (14278 = 13223 +     454 +     600) +      -13989 |
0.03.644.189 I common_memory_breakdown_print: |   - SYCL1 (Intel(R) Arc(TM) Pro B50 Graphics) | 15881 = 15881 + (34796 = 32883 +    1328 +     584) +      -34796 |
0.03.644.189 I common_memory_breakdown_print: |   - Host                                      |                    455 =   166 +       0 +     288                |
0.03.675.080 I common_params_fit_impl: memory for test allocation by device:
0.03.675.086 I common_params_fit_impl: id=0, n_layer=14, n_part= 1, overflow_type=3, mem= 14278 MiB
0.03.675.087 I common_params_fit_impl: id=1, n_layer=35, n_part= 0, overflow_type=4, mem= 34796 MiB
0.03.929.813 I common_memory_breakdown_print: | memory breakdown [MiB]                        | total    free     self   model   context   compute    unaccounted |
0.03.929.819 I common_memory_breakdown_print: |   - SYCL0 (Intel(R) Arc(TM) Pro B50 Graphics) | 15881 = 15593 + (14405 = 13223 +     454 +     727) +      -14117 |
0.03.929.819 I common_memory_breakdown_print: |   - SYCL1 (Intel(R) Arc(TM) Pro B50 Graphics) | 15881 = 15881 + (14204 = 12291 +    1328 +     584) +      -14204 |
0.03.929.819 I common_memory_breakdown_print: |   - Host                                      |                  21047 = 20758 +       0 +     288                |
0.03.985.261 I common_params_fit_impl: memory for test allocation by device:
0.03.985.268 I common_params_fit_impl: id=0, n_layer=14, n_part= 1, overflow_type=3, mem= 14405 MiB
0.03.985.269 I common_params_fit_impl: id=1, n_layer=35, n_part=23, overflow_type=4, mem= 14204 MiB
0.03.985.272 I common_params_fit_impl: set ngl_per_device[1].(n_layer, n_part)=(35, 23), id_dense_start=1
0.04.239.700 I common_memory_breakdown_print: | memory breakdown [MiB]                        | total    free     self   model   context   compute    unaccounted |
0.04.239.706 I common_memory_breakdown_print: |   - SYCL0 (Intel(R) Arc(TM) Pro B50 Graphics) | 15881 = 15593 + (14405 = 13223 +     454 +     727) +      -14117 |
0.04.239.706 I common_memory_breakdown_print: |   - SYCL1 (Intel(R) Arc(TM) Pro B50 Graphics) | 15881 = 15881 + (15200 = 13287 +    1328 +     584) +      -15200 |
0.04.239.707 I common_memory_breakdown_print: |   - Host                                      |                  20051 = 19762 +       0 +     288                |
0.04.270.715 I common_params_fit_impl: memory for test allocation by device:
0.04.270.722 I common_params_fit_impl: id=0, n_layer=14, n_part= 1, overflow_type=3, mem= 14405 MiB
0.04.270.723 I common_params_fit_impl: id=1, n_layer=35, n_part=22, overflow_type=4, mem= 15200 MiB
0.04.270.727 I common_params_fit_impl: set ngl_per_device_high[1].(n_layer, n_part)=(35, 22), id_dense_start_high=1
0.04.270.729 I common_params_fit_impl: trying to fit one extra layer with overflow_type=LAYER_FRACTION_UP
0.04.518.794 I common_memory_breakdown_print: | memory breakdown [MiB]                        | total    free     self   model   context   compute    unaccounted |
0.04.518.800 I common_memory_breakdown_print: |   - SYCL0 (Intel(R) Arc(TM) Pro B50 Graphics) | 15881 = 15593 + (14405 = 13223 +     454 +     727) +      -14117 |
0.04.518.800 I common_memory_breakdown_print: |   - SYCL1 (Intel(R) Arc(TM) Pro B50 Graphics) | 15881 = 15881 + (14487 = 12574 +    1328 +     584) +      -14487 |
0.04.518.801 I common_memory_breakdown_print: |   - Host                                      |                  20764 = 20476 +       0 +     288                |
0.04.549.907 I common_params_fit_impl: memory for test allocation by device:
0.04.549.914 I common_params_fit_impl: id=0, n_layer=14, n_part= 1, overflow_type=3, mem= 14405 MiB
0.04.549.915 I common_params_fit_impl: id=1, n_layer=35, n_part=23, overflow_type=2, mem= 14487 MiB
0.04.549.918 I common_params_fit_impl: set ngl_per_device[1].(n_layer, n_part, overflow_type)=(35, 23, UP), id_dense_start=1
0.04.549.919 I common_params_fit_impl: trying to fit one extra layer with overflow_type=LAYER_FRACTION_GATE
0.04.802.114 I common_memory_breakdown_print: | memory breakdown [MiB]                        | total    free     self   model   context   compute    unaccounted |
0.04.802.120 I common_memory_breakdown_print: |   - SYCL0 (Intel(R) Arc(TM) Pro B50 Graphics) | 15881 = 15593 + (14405 = 13223 +     454 +     727) +      -14117 |
0.04.802.121 I common_memory_breakdown_print: |   - SYCL1 (Intel(R) Arc(TM) Pro B50 Graphics) | 15881 = 15881 + (14780 = 12867 +    1328 +     584) +      -14780 |
0.04.802.121 I common_memory_breakdown_print: |   - Host                                      |                  20472 = 20183 +       0 +     288                |
0.04.834.642 I common_params_fit_impl: memory for test allocation by device:
0.04.834.650 I common_params_fit_impl: id=0, n_layer=14, n_part= 1, overflow_type=3, mem= 14405 MiB
0.04.834.650 I common_params_fit_impl: id=1, n_layer=35, n_part=23, overflow_type=3, mem= 14780 MiB
0.04.834.653 I common_params_fit_impl: set ngl_per_device[1].(n_layer, n_part, overflow_type)=(35, 23, GATE), id_dense_start=1
0.04.834.657 I common_params_fit_impl:   - SYCL1 (Intel(R) Arc(TM) Pro B50 Graphics): 35 layers (23 overflowing),  14780 MiB used,   1101 MiB free
0.04.834.661 I common_fit_params: successfully fit params to free device memory
0.04.834.666 I common_fit_params: fitting params to free memory took 0.16 seconds
0.04.869.890 I llama_model_loader: loaded meta data with 53 key-value pairs and 843 tensors from C:\Users\root\.cache\huggingface\hub\models--unsloth--Qwen3-Coder-Next-GGUF\snapshots\ce09c67b53bc8739eef83fe67b2f5d293c270632\Qwen3-Coder-Next-Q4_K_M.gguf (version GGUF V3 (latest))
0.04.869.910 I llama_model_loader: Dumping metadata keys/values. Note: KV overrides do not apply in this output.
0.04.869.912 I llama_model_loader: - kv   0:                       general.architecture str              = qwen3next
0.04.869.913 I llama_model_loader: - kv   1:                               general.type str              = model
0.04.869.915 I llama_model_loader: - kv   2:                     general.sampling.top_k i32              = 40
0.04.869.919 I llama_model_loader: - kv   3:                     general.sampling.top_p f32              = 0.950000
0.04.869.921 I llama_model_loader: - kv   4:                      general.sampling.temp f32              = 1.000000
0.04.869.922 I llama_model_loader: - kv   5:                               general.name str              = Qwen3-Coder-Next
0.04.869.923 I llama_model_loader: - kv   6:                           general.basename str              = Qwen3-Coder-Next
0.04.869.923 I llama_model_loader: - kv   7:                       general.quantized_by str              = Unsloth
0.04.869.924 I llama_model_loader: - kv   8:                         general.size_label str              = 512x2.5B
0.04.869.924 I llama_model_loader: - kv   9:                            general.license str              = apache-2.0
0.04.869.926 I llama_model_loader: - kv  10:                       general.license.link str              = https://huggingface.co/Qwen/Qwen3-Cod...
0.04.869.927 I llama_model_loader: - kv  11:                           general.repo_url str              = https://huggingface.co/unsloth
0.04.869.928 I llama_model_loader: - kv  12:                   general.base_model.count u32              = 1
0.04.869.928 I llama_model_loader: - kv  13:                  general.base_model.0.name str              = Qwen3 Coder Next
0.04.869.929 I llama_model_loader: - kv  14:          general.base_model.0.organization str              = Qwen
0.04.869.931 I llama_model_loader: - kv  15:              general.base_model.0.repo_url str              = https://huggingface.co/Qwen/Qwen3-Cod...
0.04.869.941 I llama_model_loader: - kv  16:                               general.tags arr[str,2]       = ["unsloth", "text-generation"]
0.04.869.941 I llama_model_loader: - kv  17:                      qwen3next.block_count u32              = 48
0.04.869.942 I llama_model_loader: - kv  18:                   qwen3next.context_length u32              = 262144
0.04.869.942 I llama_model_loader: - kv  19:                 qwen3next.embedding_length u32              = 2048
0.04.869.943 I llama_model_loader: - kv  20:              qwen3next.feed_forward_length u32              = 5120
0.04.869.943 I llama_model_loader: - kv  21:             qwen3next.attention.head_count u32              = 16
0.04.869.944 I llama_model_loader: - kv  22:          qwen3next.attention.head_count_kv u32              = 2
0.04.869.945 I llama_model_loader: - kv  23:                   qwen3next.rope.freq_base f32              = 5000000.000000
0.04.869.946 I llama_model_loader: - kv  24: qwen3next.attention.layer_norm_rms_epsilon f32              = 0.000001
0.04.869.947 I llama_model_loader: - kv  25:                     qwen3next.expert_count u32              = 512
0.04.869.947 I llama_model_loader: - kv  26:                qwen3next.expert_used_count u32              = 10
0.04.869.948 I llama_model_loader: - kv  27:             qwen3next.attention.key_length u32              = 256
0.04.869.948 I llama_model_loader: - kv  28:           qwen3next.attention.value_length u32              = 256
0.04.869.949 I llama_model_loader: - kv  29:       qwen3next.expert_feed_forward_length u32              = 512
0.04.869.949 I llama_model_loader: - kv  30: qwen3next.expert_shared_feed_forward_length u32              = 512
0.04.869.950 I llama_model_loader: - kv  31:                  qwen3next.ssm.conv_kernel u32              = 4
0.04.869.950 I llama_model_loader: - kv  32:                   qwen3next.ssm.state_size u32              = 128
0.04.869.951 I llama_model_loader: - kv  33:                  qwen3next.ssm.group_count u32              = 16
0.04.869.951 I llama_model_loader: - kv  34:               qwen3next.ssm.time_step_rank u32              = 32
0.04.869.951 I llama_model_loader: - kv  35:                   qwen3next.ssm.inner_size u32              = 4096
0.04.869.952 I llama_model_loader: - kv  36:          qwen3next.full_attention_interval u32              = 4
0.04.869.952 I llama_model_loader: - kv  37:             qwen3next.rope.dimension_count u32              = 64
0.04.869.953 I llama_model_loader: - kv  38:                       tokenizer.ggml.model str              = gpt2
0.04.869.953 I llama_model_loader: - kv  39:                         tokenizer.ggml.pre str              = qwen2
0.04.890.705 I llama_model_loader: - kv  40:                      tokenizer.ggml.tokens arr[str,151936]  = ["!", "\"", "#", "$", "%", "&", "'", ...
0.04.897.791 I llama_model_loader: - kv  41:                  tokenizer.ggml.token_type arr[i32,151936]  = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, ...
0.04.919.185 I llama_model_loader: - kv  42:                      tokenizer.ggml.merges arr[str,151387]  = ["Ġ Ġ", "ĠĠ ĠĠ", "i n", "Ġ t",...
0.04.919.191 I llama_model_loader: - kv  43:                tokenizer.ggml.eos_token_id u32              = 151645
0.04.919.192 I llama_model_loader: - kv  44:            tokenizer.ggml.padding_token_id u32              = 151654
0.04.919.193 I llama_model_loader: - kv  45:               tokenizer.ggml.add_bos_token bool             = false
0.04.919.198 I llama_model_loader: - kv  46:                    tokenizer.chat_template str              = {% macro render_extra_keys(json_dict,...
0.04.919.199 I llama_model_loader: - kv  47:               general.quantization_version u32              = 2
0.04.919.199 I llama_model_loader: - kv  48:                          general.file_type u32              = 15
0.04.919.201 I llama_model_loader: - kv  49:                      quantize.imatrix.file str              = Qwen3-Coder-Next-GGUF/imatrix_unsloth...
0.04.919.202 I llama_model_loader: - kv  50:                   quantize.imatrix.dataset str              = unsloth_calibration_Qwen3-Coder-Next.txt
0.04.919.203 I llama_model_loader: - kv  51:             quantize.imatrix.entries_count u32              = 576
0.04.919.204 I llama_model_loader: - kv  52:              quantize.imatrix.chunks_count u32              = 154
0.04.919.205 I llama_model_loader: - type  f32:  361 tensors
0.04.919.205 I llama_model_loader: - type q4_K:  233 tensors
0.04.919.206 I llama_model_loader: - type q5_K:   72 tensors
0.04.919.206 I llama_model_loader: - type q6_K:   81 tensors
0.04.919.207 I llama_model_loader: - type mxfp4:   96 tensors
0.04.919.208 I print_info: file format = GGUF V3 (latest)
0.04.919.209 I print_info: file type   = Q4_K - Medium
0.04.919.213 I print_info: file size   = 45.19 GiB (4.87 BPW)
0.04.919.356 I llama_prepare_model_devices: using device SYCL0 (Intel(R) Arc(TM) Pro B50 Graphics) (unknown id) - 15641 MiB free
0.04.919.366 I llama_prepare_model_devices: using device SYCL1 (Intel(R) Arc(TM) Pro B50 Graphics) (unknown id) - 15881 MiB free
0.04.979.904 I load: 0 unused tokens
0.04.989.141 W load: control-looking token: 128247 '</s>' was not control-type; this is probably a bug in the model. its type will be overridden
0.04.991.727 I load: printing all EOG tokens:
0.04.991.731 I load:   - 128247 ('</s>')
0.04.991.731 I load:   - 151643 ('<|endoftext|>')
0.04.991.732 I load:   - 151645 ('<|im_end|>')
0.04.991.732 I load:   - 151662 ('<|fim_pad|>')
0.04.991.732 I load:   - 151663 ('<|repo_name|>')
0.04.991.733 I load:   - 151664 ('<|file_sep|>')
0.04.991.835 I load: special tokens cache size = 27
0.05.014.192 I load: token to piece cache size = 0.9311 MB
0.05.014.208 I print_info: arch                  = qwen3next
0.05.014.208 I print_info: vocab_only            = 0
0.05.014.209 I print_info: no_alloc              = 0
0.05.014.210 I print_info: n_ctx_train           = 262144
0.05.014.211 I print_info: n_embd_inp            = 2048
0.05.014.211 I print_info: n_embd                = 2048
0.05.014.212 I print_info: n_embd_out            = 2048
0.05.014.212 I print_info: n_layer               = 48
0.05.014.212 I print_info: n_layer_all           = 48
0.05.014.227 I print_info: n_head                = 16
0.05.014.229 I print_info: n_head_kv             = 2
0.05.014.229 I print_info: n_rot                 = 64
0.05.014.230 I print_info: n_swa                 = 0
0.05.014.230 I print_info: is_swa_any            = 0
0.05.014.231 I print_info: n_embd_head_k         = 256
0.05.014.231 I print_info: n_embd_head_v         = 256
0.05.014.233 I print_info: n_gqa                 = 8
0.05.014.234 I print_info: n_embd_k_gqa          = 512
0.05.014.236 I print_info: n_embd_v_gqa          = 512
0.05.014.237 I print_info: f_norm_eps            = 0.0e+00
0.05.014.239 I print_info: f_norm_rms_eps        = 1.0e-06
0.05.014.239 I print_info: f_clamp_kqv           = 0.0e+00
0.05.014.240 I print_info: f_max_alibi_bias      = 0.0e+00
0.05.014.240 I print_info: f_logit_scale         = 0.0e+00
0.05.014.240 I print_info: f_attn_scale          = 0.0e+00
0.05.014.241 I print_info: f_attn_value_scale    = 0.0000
0.05.014.242 I print_info: n_ff                  = 5120
0.05.014.243 I print_info: n_expert              = 512
0.05.014.243 I print_info: n_expert_used         = 10
0.05.014.244 I print_info: n_expert_groups       = 0
0.05.014.244 I print_info: n_group_used          = 0
0.05.014.245 I print_info: causal attn           = 1
0.05.014.245 I print_info: pooling type          = -1
0.05.014.246 I print_info: rope type             = 2
0.05.014.246 I print_info: rope scaling          = linear
0.05.014.247 I print_info: freq_base_train       = 5000000.0
0.05.014.248 I print_info: freq_scale_train      = 1
0.05.014.248 I print_info: n_ctx_orig_yarn       = 262144
0.05.014.249 I print_info: rope_yarn_log_mul     = 0.0000
0.05.014.249 I print_info: rope_finetuned        = unknown
0.05.014.250 I print_info: ssm_d_conv            = 4
0.05.014.250 I print_info: ssm_d_inner           = 4096
0.05.014.251 I print_info: ssm_d_state           = 128
0.05.014.251 I print_info: ssm_dt_rank           = 32
0.05.014.251 I print_info: ssm_n_group           = 16
0.05.014.252 I print_info: ssm_dt_b_c_rms        = 0
0.05.014.253 I print_info: model type            = 80B.A3B
0.05.014.253 I print_info: model params          = 79.67 B
0.05.014.254 I print_info: general.name          = Qwen3-Coder-Next
0.05.014.254 I print_info: vocab type            = BPE
0.05.014.255 I print_info: n_vocab               = 151936
0.05.014.255 I print_info: n_merges              = 151387
0.05.014.256 I print_info: BOS token             = 11 ','
0.05.014.256 I print_info: EOS token             = 151645 '<|im_end|>'
0.05.014.257 I print_info: EOT token             = 151645 '<|im_end|>'
0.05.014.257 I print_info: PAD token             = 151654 '<|vision_pad|>'
0.05.014.257 I print_info: LF token              = 198 'Ċ'
0.05.014.258 I print_info: FIM PRE token         = 151659 '<|fim_prefix|>'
0.05.014.258 I print_info: FIM SUF token         = 151661 '<|fim_suffix|>'
0.05.014.259 I print_info: FIM MID token         = 151660 '<|fim_middle|>'
0.05.014.259 I print_info: FIM PAD token         = 151662 '<|fim_pad|>'
0.05.014.259 I print_info: FIM REP token         = 151663 '<|repo_name|>'
0.05.014.260 I print_info: FIM SEP token         = 151664 '<|file_sep|>'
0.05.014.260 I print_info: EOG token             = 128247 '</s>'
0.05.014.261 I print_info: EOG token             = 151643 '<|endoftext|>'
0.05.014.261 I print_info: EOG token             = 151645 '<|im_end|>'
0.05.014.261 I print_info: EOG token             = 151662 '<|fim_pad|>'
0.05.014.262 I print_info: EOG token             = 151663 '<|repo_name|>'
0.05.014.262 I print_info: EOG token             = 151664 '<|file_sep|>'
0.05.014.262 I print_info: max token length      = 256
0.05.014.263 I load_tensors: loading model tensors, this can take a while... (mmap = false, direct_io = false)
0.05.099.949 I load_tensors: offloading output layer to GPU
0.05.099.954 I load_tensors: offloading 47 repeating layers to GPU
0.05.099.954 I load_tensors: offloaded 49/49 layers to GPU
0.05.099.958 I load_tensors:        SYCL0 model buffer size = 13223.68 MiB
0.05.099.961 I load_tensors:        SYCL1 model buffer size = 12867.08 MiB
0.05.099.962 I load_tensors:    SYCL_Host model buffer size = 20183.74 MiB
....................................................................................................
0.15.564.946 I common_init_result: added </s> logit bias = -inf
0.15.565.092 I common_init_result: added <|endoftext|> logit bias = -inf
0.15.565.097 I common_init_result: added <|im_end|> logit bias = -inf
0.15.565.098 I common_init_result: added <|fim_pad|> logit bias = -inf
0.15.565.099 I common_init_result: added <|repo_name|> logit bias = -inf
0.15.565.100 I common_init_result: added <|file_sep|> logit bias = -inf
0.15.565.431 I llama_context: constructing llama_context
0.15.565.436 I llama_context: n_seq_max     = 2
0.15.565.437 I llama_context: n_ctx         = 131072
0.15.565.438 I llama_context: n_ctx_seq     = 65536
0.15.565.438 I llama_context: n_batch       = 8192
0.15.565.439 I llama_context: n_ubatch      = 2048
0.15.565.439 I llama_context: causal_attn   = 1
0.15.565.440 I llama_context: flash_attn    = auto
0.15.565.441 I llama_context: kv_unified    = false
0.15.565.444 I llama_context: freq_base     = 5000000.0
0.15.565.447 I llama_context: freq_scale    = 1
0.15.565.448 I llama_context: n_rs_seq      = 0
0.15.565.448 I llama_context: n_outputs_max = 2
0.15.565.450 W llama_context: n_ctx_seq (65536) < n_ctx_train (262144) -- the full capacity of the model will not be utilized
0.15.565.913 I llama_context:  SYCL_Host  output buffer size =     1.16 MiB
0.15.568.262 I llama_kv_cache:      SYCL0 KV buffer size =   408.00 MiB
0.15.596.030 I llama_kv_cache:      SYCL1 KV buffer size =  1224.00 MiB
0.15.627.045 I llama_kv_cache: size = 1632.00 MiB ( 65536 cells,  12 layers,  2/2 seqs), K (q8_0):  816.00 MiB, V (q8_0):  816.00 MiB
0.15.627.052 I llama_kv_cache: attn_rot_k = 1, n_embd_head_k_all = 256
0.15.627.053 I llama_kv_cache: attn_rot_v = 1, n_embd_head_k_all = 256
0.15.630.173 I llama_memory_recurrent:      SYCL0 RS buffer size =    46.06 MiB
0.15.633.226 I llama_memory_recurrent:      SYCL1 RS buffer size =   104.69 MiB
0.15.633.235 I llama_memory_recurrent: size =  150.75 MiB (     2 cells,  48 layers,  2 seqs  0 rs_seq), R (f32):    6.75 MiB, S (f32):  144.00 MiB
0.15.633.242 I sched_reserve: reserving ...
0.15.644.599 I sched_reserve: Flash Attention was auto, set to enabled
0.15.644.604 I sched_reserve: resolving fused Gated Delta Net support:
0.15.645.812 I sched_reserve: fused Gated Delta Net (autoregressive) enabled
0.15.646.992 I sched_reserve: fused Gated Delta Net (chunked) enabled
0.15.654.566 I sched_reserve:      SYCL0 compute buffer size =   728.00 MiB
0.15.654.572 I sched_reserve:      SYCL1 compute buffer size =   600.30 MiB
0.15.654.573 I sched_reserve:  SYCL_Host compute buffer size =   288.31 MiB
0.15.654.573 I sched_reserve: graph nodes  = 5180
0.15.654.574 I sched_reserve: graph splits = 93 (with bs=2048), 53 (with bs=1)
0.15.654.576 I sched_reserve: reserve took 21.33 ms, sched copies = 1
0.15.654.759 I common_init_from_params: warming up the model with an empty run - please wait ... (--no-warmup to disable)
0.17.656.427 I srv    load_model: initializing slots, n_slots = 2
0.17.741.816 I common_context_can_seq_rm: the context does not support partial sequence removal
0.17.745.116 W srv    load_model: speculative decoding will use checkpoints
0.17.745.158 W common_speculative_init: no implementations specified for speculative decoding
0.17.745.160 I slot   load_model: id  0 | task -1 | new slot, n_ctx = 65536
0.17.745.164 I slot   load_model: id  1 | task -1 | new slot, n_ctx = 65536
0.17.745.427 I srv    load_model: prompt cache is enabled, size limit: 8192 MiB
0.17.745.428 I srv    load_model: use `--cache-ram 0` to disable the prompt cache
0.17.745.429 I srv    load_model: for more info see https://github.com/ggml-org/llama.cpp/pull/16391
0.17.745.430 I srv    load_model: context checkpoints enabled, max = 32, min spacing = 256
0.17.745.458 I srv          init: idle slots will be saved to prompt cache upon starting a new task
0.17.788.905 I init: chat template, example_format: '<|im_start|>system
You are a helpful assistant<|im_end|>
<|im_start|>user
Hello<|im_end|>
<|im_start|>assistant
Hi there<|im_end|>
<|im_start|>user
How are you?<|im_end|>
<|im_start|>assistant
'
0.17.828.795 I srv          init: init: chat template, thinking = 0
0.17.828.839 I srv  llama_server: model loaded
0.17.828.842 I srv  llama_server: server is listening on http://192.168.90.128:8080
0.17.828.853 I srv  update_slots: all slots are idle
1.18.326.689 I srv  params_from_: Chat format: peg-native
1.18.326.784 I srv  prompt_get_n: message_spans: last user message: byte_pos=0, media=0, n_before_user=0
1.18.326.844 I slot get_availabl: id  1 | task -1 | selected slot by LRU, t_last = -1
1.18.326.845 I srv  get_availabl: updating prompt cache
1.18.326.852 I srv          load:  - looking for better prompt, base f_keep = -1.000, sim = 0.000
1.18.326.856 I srv        update:  - cache state: 0 prompts, 0.000 MiB (limits: 8192.000 MiB, 131072 tokens, 8589934592 est)
1.18.326.858 I srv  get_availabl: prompt cache update took 0.01 ms
1.18.326.899 I slot launch_slot_: id  1 | task -1 | sampler chain: logits -> ?penalties -> ?dry -> ?top-n-sigma -> top-k -> ?typical -> top-p -> min-p -> ?xtc -> ?temp-ext -> dist
1.18.326.909 I slot launch_slot_: id  1 | task -1 | sampler params:
        repeat_last_n = 64, repeat_penalty = 1.000, frequency_penalty = 0.000, presence_penalty = 0.000
        dry_multiplier = 0.000, dry_base = 1.750, dry_allowed_length = 2, dry_penalty_last_n = 65536
        top_k = 40, top_p = 0.950, min_p = 0.010, xtc_probability = 0.000, xtc_threshold = 0.100, typical_p = 1.000, top_n_sigma = -1.000, temp = 1.000
        mirostat = 0, mirostat_lr = 0.100, mirostat_ent = 5.000, adaptive_target = -1.000, adaptive_decay = 0.900
1.18.326.911 I slot launch_slot_: id  1 | task 0 | processing task, is_child = 0
1.18.326.912 I slot process_sing: id  0 | task -1 | saving idle slot to prompt cache
1.18.326.921 I slot update_slots: id  1 | task 0 | new prompt, n_ctx_slot = 65536, n_keep = 0, task.n_tokens = 21
1.18.326.935 I slot update_slots: id  1 | task 0 | cached n_tokens = 0, memory_seq_rm [0, end)
1.19.978.561 I slot update_slots: id  1 | task 0 | cached n_tokens = 17, memory_seq_rm [17, end)
1.19.978.656 I slot init_sampler: id  1 | task 0 | init sampler, took 0.00 ms, tokens: text = 21, total = 21
1.20.002.973 I slot create_check: id  1 | task 0 | created context checkpoint 1 of 32 (pos_min = 16, pos_max = 16, n_tokens = 17, size = 75.376 MiB)
1.26.709.362 I slot print_timing: id  1 | task 0 | n_decoded =    100, tg =  15.17 t/s
1.29.715.395 I slot print_timing: id  1 | task 0 | n_decoded =    158, tg =  16.46 t/s
1.32.765.794 I slot print_timing: id  1 | task 0 | n_decoded =    217, tg =  17.16 t/s
1.35.781.269 I slot print_timing: id  1 | task 0 | n_decoded =    275, tg =  17.56 t/s
1.38.809.736 I slot print_timing: id  1 | task 0 | n_decoded =    333, tg =  17.82 t/s
1.41.840.362 I slot print_timing: id  1 | task 0 | n_decoded =    391, tg =  18.00 t/s
1.44.867.937 I slot print_timing: id  1 | task 0 | n_decoded =    449, tg =  18.14 t/s
1.47.882.028 I slot print_timing: id  1 | task 0 | n_decoded =    507, tg =  18.26 t/s
1.50.884.674 I slot print_timing: id  1 | task 0 | n_decoded =    565, tg =  18.36 t/s
1.53.901.164 I slot print_timing: id  1 | task 0 | n_decoded =    623, tg =  18.44 t/s
1.56.928.459 I slot print_timing: id  1 | task 0 | n_decoded =    681, tg =  18.50 t/s
1.59.943.296 I slot print_timing: id  1 | task 0 | n_decoded =    739, tg =  18.56 t/s
2.02.561.819 I slot print_timing: id  1 | task 0 | prompt eval time =    1792.33 ms /    21 tokens (   85.35 ms per token,    11.72 tokens per second)
2.02.561.826 I slot print_timing: id  1 | task 0 |        eval time =   42442.54 ms /   789 tokens (   53.79 ms per token,    18.59 tokens per second)
2.02.561.828 I slot print_timing: id  1 | task 0 |       total time =   44234.87 ms /   810 tokens
2.02.561.829 I slot print_timing: id  1 | task 0 |    graphs reused =        785
2.02.561.859 I slot      release: id  1 | task 0 | stop processing: n_tokens = 809, truncated = 0
2.02.561.873 I srv  update_slots: all slots are idle

and MEMCPY=1

c:\ai\llama-b9694-bin-win-sycl-x64>llama-server -hf unsloth/Qwen3-Coder-Next-GGUF --host 192.168.90.128 --port 8080 -lv 4 -c 131072 -b 8192 -ub 2048 --no-mmap -t 28 -tb 28 --parallel 2 --min-p 0.01 --top-k 40 --top-p 0.95 --temp 1.0 --repeat-penalty 1.0 -ctk q8_0 -ctv q8_0
0.00.286.950 I common_params_handle_remote_preset: looking for remote preset at https://huggingface.co/unsloth/Qwen3-Coder-Next-GGUF/resolve/main/preset.ini
0.00.494.560 I common_download_file_single_online: HEAD failed, status: 404
0.00.494.780 I common_params_handle_remote_preset: no remote preset found, skipping
0.00.818.666 I common_params_print_info: build 9694 (4a79037b8) with Clang 20.1.8 for Windows x86_64
0.00.818.672 I log_info: verbosity = 4 (adjust with the `-lv N` CLI arg)
0.00.818.672 I device_info:
0.00.925.301 I   - SYCL0   : Intel(R) Arc(TM) Pro B50 Graphics (15881 MiB, 15707 MiB free)
0.00.925.384 I   - SYCL1   : Intel(R) Arc(TM) Pro B50 Graphics (15881 MiB, 15881 MiB free)
0.00.925.389 I   - CPU     : AMD Ryzen 9 5950X 16-Core Processor             (130997 MiB, 123316 MiB free)
0.00.925.419 I system_info: n_threads = 28 (n_threads_batch = 28) / 32 | CPU : SSE3 = 1 | SSSE3 = 1 | AVX = 1 | AVX2 = 1 | F16C = 1 | FMA = 1 | BMI2 = 1 | LLAMAFILE = 1 | OPENMP = 1 | REPACK = 1 |
0.00.925.460 I srv          init: running without SSL
0.00.925.503 I srv          init: using 31 threads for HTTP server
0.00.925.695 I srv         start: binding port with default address family
0.00.941.470 I srv  llama_server: loading model
0.00.941.481 I srv    load_model: loading model 'C:\Users\root\.cache\huggingface\hub\models--unsloth--Qwen3-Coder-Next-GGUF\snapshots\ce09c67b53bc8739eef83fe67b2f5d293c270632\Qwen3-Coder-Next-Q4_K_M.gguf'
0.00.941.553 I common_init_result: fitting params to device memory ...
0.00.941.554 I common_init_result: (for bugs during this step try to reproduce them with -fit off, or provide --verbose logs if the bug only occurs with -fit on)
0.00.941.557 I common_params_fit_impl: getting device memory data for initial parameters:
0.01.176.770 I common_memory_breakdown_print: | memory breakdown [MiB]                        | total    free     self   model   context   compute    unaccounted |
0.01.176.775 I common_memory_breakdown_print: |   - SYCL0 (Intel(R) Arc(TM) Pro B50 Graphics) | 15881 = 15561 + (26136 = 23823 +     895 +    1417) +      -25816 |
0.01.176.776 I common_memory_breakdown_print: |   - SYCL1 (Intel(R) Arc(TM) Pro B50 Graphics) | 15881 = 15881 + (24652 = 22283 +     887 +    1481) +      -24652 |
0.01.176.776 I common_memory_breakdown_print: |   - Host                                      |                   1224 =   166 +       0 +    1057                |
0.01.209.695 I common_params_fit_impl: projected memory use with initial parameters [MiB]:
0.01.209.702 I common_params_fit_impl:   - SYCL0 (Intel(R) Arc(TM) Pro B50 Graphics):  15881 total,  26136 used, -10574 free vs. target of   1024
0.01.209.702 I common_params_fit_impl:   - SYCL1 (Intel(R) Arc(TM) Pro B50 Graphics):  15881 total,  24652 used,  -8770 free vs. target of   1024
0.01.209.703 I common_params_fit_impl: projected to use 50788 MiB of device memory vs. 31443 MiB of free device memory
0.01.209.704 I common_params_fit_impl: cannot meet free memory targets on all devices, need to use 21393 MiB less in total
0.01.209.705 I common_params_fit_impl: context size set by user to 131072 -> no change
0.01.209.709 I common_params_fit_impl: getting device memory data with all MoE tensors moved to system memory:
0.01.429.026 I common_memory_breakdown_print: | memory breakdown [MiB]                        | total    free     self   model   context   compute    unaccounted |
0.01.429.031 I common_memory_breakdown_print: |   - SYCL0 (Intel(R) Arc(TM) Pro B50 Graphics) | 15881 = 15561 + ( 2711 =   639 +     895 +    1176) +       -2391 |
0.01.429.032 I common_memory_breakdown_print: |   - SYCL1 (Intel(R) Arc(TM) Pro B50 Graphics) | 15881 = 15881 + ( 2199 =   827 +     887 +     484) +       -2199 |
0.01.429.032 I common_memory_breakdown_print: |   - Host                                      |                  45095 = 44806 +       0 +     288                |
0.01.460.215 I common_params_fit_impl: with only dense weights in device memory there is a total surplus of 24485 MiB
0.01.460.221 I common_params_fit_impl: id=0, target=14537 MiB
0.01.460.222 I common_params_fit_impl: id=1, target=14857 MiB
0.01.713.049 I common_memory_breakdown_print: | memory breakdown [MiB]                        | total    free     self   model   context   compute    unaccounted |
0.01.713.056 I common_memory_breakdown_print: |   - SYCL0 (Intel(R) Arc(TM) Pro B50 Graphics) | 15881 = 15641 + ( 1148 =     0 +       0 +    1148) +        -907 |
0.01.713.056 I common_memory_breakdown_print: |   - SYCL1 (Intel(R) Arc(TM) Pro B50 Graphics) | 15881 = 15881 + (    0 =     0 +       0 +       0) +           0 |
0.01.713.057 I common_memory_breakdown_print: |   - Host                                      |                  48393 = 46274 +    1782 +     336                |
0.01.746.670 I common_params_fit_impl: memory for test allocation by device:
0.01.746.677 I common_params_fit_impl: id=0, n_layer= 0, n_part= 0, overflow_type=4, mem=  1148 MiB
0.01.746.678 I common_params_fit_impl: id=1, n_layer= 0, n_part= 0, overflow_type=4, mem=     0 MiB
0.01.746.681 I common_params_fit_impl: filling dense-only layers back-to-front:
0.02.030.291 I common_memory_breakdown_print: | memory breakdown [MiB]                        | total    free     self   model   context   compute    unaccounted |
0.02.030.297 I common_memory_breakdown_print: |   - SYCL0 (Intel(R) Arc(TM) Pro B50 Graphics) | 15881 = 15641 + (  727 =     0 +       0 +     727) +        -487 |
0.02.030.298 I common_memory_breakdown_print: |   - SYCL1 (Intel(R) Arc(TM) Pro B50 Graphics) | 15881 = 15881 + ( 4730 =  2463 +    1782 +     484) +       -4730 |
0.02.030.298 I common_memory_breakdown_print: |   - Host                                      |                  44099 = 43810 +       0 +     288                |
0.02.092.047 I common_params_fit_impl: memory for test allocation by device:
0.02.092.055 I common_params_fit_impl: id=0, n_layer= 0, n_part= 0, overflow_type=4, mem=   727 MiB
0.02.092.056 I common_params_fit_impl: id=1, n_layer=49, n_part=48, overflow_type=4, mem=  4730 MiB
0.02.092.066 I common_params_fit_impl: set ngl_per_device[1].n_layer=49
0.02.092.067 I common_params_fit_impl:   - SYCL1 (Intel(R) Arc(TM) Pro B50 Graphics): 49 layers,   4730 MiB used,  11151 MiB free
0.02.092.068 I common_params_fit_impl:   - SYCL0 (Intel(R) Arc(TM) Pro B50 Graphics):  0 layers,    727 MiB used,  14833 MiB free
0.02.092.070 I common_params_fit_impl: converting dense-only layers to full layers and filling them front-to-back with overflow to next device/system memory:
0.02.309.956 I common_memory_breakdown_print: | memory breakdown [MiB]                        | total    free     self   model   context   compute    unaccounted |
0.02.309.962 I common_memory_breakdown_print: |   - SYCL0 (Intel(R) Arc(TM) Pro B50 Graphics) | 15881 = 15489 + (49064 = 45864 +    1782 +    1417) +      -48672 |
0.02.309.963 I common_memory_breakdown_print: |   - SYCL1 (Intel(R) Arc(TM) Pro B50 Graphics) | 15881 = 15881 + (  244 =   243 +       0 +       1) +        -244 |
0.02.309.964 I common_memory_breakdown_print: |   - Host                                      |                   1224 =   166 +       0 +    1057                |
0.02.342.409 I common_params_fit_impl: memory for test allocation by device:
0.02.342.416 I common_params_fit_impl: id=0, n_layer=48, n_part= 0, overflow_type=4, mem= 49064 MiB
0.02.342.417 I common_params_fit_impl: id=1, n_layer= 1, n_part= 0, overflow_type=4, mem=   244 MiB
0.02.614.736 I common_memory_breakdown_print: | memory breakdown [MiB]                        | total    free     self   model   context   compute    unaccounted |
0.02.614.742 I common_memory_breakdown_print: |   - SYCL0 (Intel(R) Arc(TM) Pro B50 Graphics) | 15881 = 15599 + (13799 = 12621 +     449 +     727) +      -13517 |
0.02.614.743 I common_memory_breakdown_print: |   - SYCL1 (Intel(R) Arc(TM) Pro B50 Graphics) | 15881 = 15881 + ( 3815 =  1998 +    1332 +     484) +       -3815 |
0.02.614.743 I common_memory_breakdown_print: |   - Host                                      |                  31943 = 31654 +       0 +     288                |
0.02.645.836 I common_params_fit_impl: memory for test allocation by device:
0.02.645.843 I common_params_fit_impl: id=0, n_layer=13, n_part= 0, overflow_type=4, mem= 13799 MiB
0.02.645.845 I common_params_fit_impl: id=1, n_layer=36, n_part=35, overflow_type=4, mem=  3815 MiB
0.02.645.848 I common_params_fit_impl: set ngl_per_device[0].(n_layer, n_part)=(13, 0), id_dense_start=1
0.02.911.128 I common_memory_breakdown_print: | memory breakdown [MiB]                        | total    free     self   model   context   compute    unaccounted |
0.02.911.134 I common_memory_breakdown_print: |   - SYCL0 (Intel(R) Arc(TM) Pro B50 Graphics) | 15881 = 15593 + (14694 = 13512 +     454 +     727) +      -14406 |
0.02.911.135 I common_memory_breakdown_print: |   - SYCL1 (Intel(R) Arc(TM) Pro B50 Graphics) | 15881 = 15881 + ( 4008 =  2103 +    1328 +     576) +       -4008 |
0.02.911.136 I common_memory_breakdown_print: |   - Host                                      |                  30947 = 30658 +       0 +     288                |
0.02.942.154 I common_params_fit_impl: memory for test allocation by device:
0.02.942.160 I common_params_fit_impl: id=0, n_layer=14, n_part= 0, overflow_type=4, mem= 14694 MiB
0.02.942.161 I common_params_fit_impl: id=1, n_layer=35, n_part=34, overflow_type=4, mem=  4008 MiB
0.02.942.164 I common_params_fit_impl: set ngl_per_device_high[0].(n_layer, n_part)=(14, 0), id_dense_start_high=1
0.02.942.174 I common_params_fit_impl: trying to fit one extra layer with overflow_type=LAYER_FRACTION_UP
0.03.207.736 I common_memory_breakdown_print: | memory breakdown [MiB]                        | total    free     self   model   context   compute    unaccounted |
0.03.207.742 I common_memory_breakdown_print: |   - SYCL0 (Intel(R) Arc(TM) Pro B50 Graphics) | 15881 = 15593 + (14113 = 12931 +     454 +     727) +      -13825 |
0.03.207.742 I common_memory_breakdown_print: |   - SYCL1 (Intel(R) Arc(TM) Pro B50 Graphics) | 15881 = 15881 + ( 4601 =  2684 +    1328 +     588) +       -4601 |
0.03.207.743 I common_memory_breakdown_print: |   - Host                                      |                  30947 = 30658 +       0 +     288                |
0.03.239.076 I common_params_fit_impl: memory for test allocation by device:
0.03.239.084 I common_params_fit_impl: id=0, n_layer=14, n_part= 1, overflow_type=2, mem= 14113 MiB
0.03.239.085 I common_params_fit_impl: id=1, n_layer=35, n_part=34, overflow_type=4, mem=  4601 MiB
0.03.239.090 I common_params_fit_impl: set ngl_per_device[0].(n_layer, n_part, overflow_type)=(14, 1, UP), id_dense_start=1
0.03.239.091 I common_params_fit_impl: trying to fit one extra layer with overflow_type=LAYER_FRACTION_GATE
0.03.503.537 I common_memory_breakdown_print: | memory breakdown [MiB]                        | total    free     self   model   context   compute    unaccounted |
0.03.503.541 I common_memory_breakdown_print: |   - SYCL0 (Intel(R) Arc(TM) Pro B50 Graphics) | 15881 = 15593 + (14405 = 13223 +     454 +     727) +      -14117 |
0.03.503.542 I common_memory_breakdown_print: |   - SYCL1 (Intel(R) Arc(TM) Pro B50 Graphics) | 15881 = 15881 + ( 4296 =  2391 +    1328 +     576) +       -4296 |
0.03.503.542 I common_memory_breakdown_print: |   - Host                                      |                  30947 = 30658 +       0 +     288                |
0.03.534.005 I common_params_fit_impl: memory for test allocation by device:
0.03.534.012 I common_params_fit_impl: id=0, n_layer=14, n_part= 1, overflow_type=3, mem= 14405 MiB
0.03.534.013 I common_params_fit_impl: id=1, n_layer=35, n_part=34, overflow_type=4, mem=  4296 MiB
0.03.534.017 I common_params_fit_impl: set ngl_per_device[0].(n_layer, n_part, overflow_type)=(14, 1, GATE), id_dense_start=1
0.03.534.018 I common_params_fit_impl:   - SYCL0 (Intel(R) Arc(TM) Pro B50 Graphics): 14 layers ( 1 overflowing),  14405 MiB used,   1156 MiB free
0.03.741.992 I common_memory_breakdown_print: | memory breakdown [MiB]                        | total    free     self   model   context   compute    unaccounted |
0.03.741.998 I common_memory_breakdown_print: |   - SYCL0 (Intel(R) Arc(TM) Pro B50 Graphics) | 15881 = 15593 + (14278 = 13223 +     454 +     600) +      -13989 |
0.03.741.998 I common_memory_breakdown_print: |   - SYCL1 (Intel(R) Arc(TM) Pro B50 Graphics) | 15881 = 15881 + (34796 = 32883 +    1328 +     584) +      -34796 |
0.03.741.999 I common_memory_breakdown_print: |   - Host                                      |                    455 =   166 +       0 +     288                |
0.03.772.365 I common_params_fit_impl: memory for test allocation by device:
0.03.772.371 I common_params_fit_impl: id=0, n_layer=14, n_part= 1, overflow_type=3, mem= 14278 MiB
0.03.772.372 I common_params_fit_impl: id=1, n_layer=35, n_part= 0, overflow_type=4, mem= 34796 MiB
0.04.024.563 I common_memory_breakdown_print: | memory breakdown [MiB]                        | total    free     self   model   context   compute    unaccounted |
0.04.024.569 I common_memory_breakdown_print: |   - SYCL0 (Intel(R) Arc(TM) Pro B50 Graphics) | 15881 = 15593 + (14405 = 13223 +     454 +     727) +      -14117 |
0.04.024.569 I common_memory_breakdown_print: |   - SYCL1 (Intel(R) Arc(TM) Pro B50 Graphics) | 15881 = 15881 + (14204 = 12291 +    1328 +     584) +      -14204 |
0.04.024.570 I common_memory_breakdown_print: |   - Host                                      |                  21047 = 20758 +       0 +     288                |
0.04.057.936 I common_params_fit_impl: memory for test allocation by device:
0.04.057.944 I common_params_fit_impl: id=0, n_layer=14, n_part= 1, overflow_type=3, mem= 14405 MiB
0.04.057.945 I common_params_fit_impl: id=1, n_layer=35, n_part=23, overflow_type=4, mem= 14204 MiB
0.04.057.948 I common_params_fit_impl: set ngl_per_device[1].(n_layer, n_part)=(35, 23), id_dense_start=1
0.04.304.048 I common_memory_breakdown_print: | memory breakdown [MiB]                        | total    free     self   model   context   compute    unaccounted |
0.04.304.054 I common_memory_breakdown_print: |   - SYCL0 (Intel(R) Arc(TM) Pro B50 Graphics) | 15881 = 15593 + (14405 = 13223 +     454 +     727) +      -14117 |
0.04.304.055 I common_memory_breakdown_print: |   - SYCL1 (Intel(R) Arc(TM) Pro B50 Graphics) | 15881 = 15881 + (15200 = 13287 +    1328 +     584) +      -15200 |
0.04.304.055 I common_memory_breakdown_print: |   - Host                                      |                  20051 = 19762 +       0 +     288                |
0.04.334.648 I common_params_fit_impl: memory for test allocation by device:
0.04.334.655 I common_params_fit_impl: id=0, n_layer=14, n_part= 1, overflow_type=3, mem= 14405 MiB
0.04.334.655 I common_params_fit_impl: id=1, n_layer=35, n_part=22, overflow_type=4, mem= 15200 MiB
0.04.334.658 I common_params_fit_impl: set ngl_per_device_high[1].(n_layer, n_part)=(35, 22), id_dense_start_high=1
0.04.334.659 I common_params_fit_impl: trying to fit one extra layer with overflow_type=LAYER_FRACTION_UP
0.04.593.284 I common_memory_breakdown_print: | memory breakdown [MiB]                        | total    free     self   model   context   compute    unaccounted |
0.04.593.290 I common_memory_breakdown_print: |   - SYCL0 (Intel(R) Arc(TM) Pro B50 Graphics) | 15881 = 15593 + (14405 = 13223 +     454 +     727) +      -14117 |
0.04.593.290 I common_memory_breakdown_print: |   - SYCL1 (Intel(R) Arc(TM) Pro B50 Graphics) | 15881 = 15881 + (14487 = 12574 +    1328 +     584) +      -14487 |
0.04.593.292 I common_memory_breakdown_print: |   - Host                                      |                  20764 = 20476 +       0 +     288                |
0.04.623.731 I common_params_fit_impl: memory for test allocation by device:
0.04.623.738 I common_params_fit_impl: id=0, n_layer=14, n_part= 1, overflow_type=3, mem= 14405 MiB
0.04.623.739 I common_params_fit_impl: id=1, n_layer=35, n_part=23, overflow_type=2, mem= 14487 MiB
0.04.623.744 I common_params_fit_impl: set ngl_per_device[1].(n_layer, n_part, overflow_type)=(35, 23, UP), id_dense_start=1
0.04.623.744 I common_params_fit_impl: trying to fit one extra layer with overflow_type=LAYER_FRACTION_GATE
0.04.876.813 I common_memory_breakdown_print: | memory breakdown [MiB]                        | total    free     self   model   context   compute    unaccounted |
0.04.876.818 I common_memory_breakdown_print: |   - SYCL0 (Intel(R) Arc(TM) Pro B50 Graphics) | 15881 = 15593 + (14405 = 13223 +     454 +     727) +      -14117 |
0.04.876.819 I common_memory_breakdown_print: |   - SYCL1 (Intel(R) Arc(TM) Pro B50 Graphics) | 15881 = 15881 + (14780 = 12867 +    1328 +     584) +      -14780 |
0.04.876.819 I common_memory_breakdown_print: |   - Host                                      |                  20472 = 20183 +       0 +     288                |
0.04.908.839 I common_params_fit_impl: memory for test allocation by device:
0.04.908.846 I common_params_fit_impl: id=0, n_layer=14, n_part= 1, overflow_type=3, mem= 14405 MiB
0.04.908.847 I common_params_fit_impl: id=1, n_layer=35, n_part=23, overflow_type=3, mem= 14780 MiB
0.04.908.851 I common_params_fit_impl: set ngl_per_device[1].(n_layer, n_part, overflow_type)=(35, 23, GATE), id_dense_start=1
0.04.908.852 I common_params_fit_impl:   - SYCL1 (Intel(R) Arc(TM) Pro B50 Graphics): 35 layers (23 overflowing),  14780 MiB used,   1101 MiB free
0.04.908.856 I common_fit_params: successfully fit params to free device memory
0.04.908.860 I common_fit_params: fitting params to free memory took 0.16 seconds
0.04.944.614 I llama_model_loader: loaded meta data with 53 key-value pairs and 843 tensors from C:\Users\root\.cache\huggingface\hub\models--unsloth--Qwen3-Coder-Next-GGUF\snapshots\ce09c67b53bc8739eef83fe67b2f5d293c270632\Qwen3-Coder-Next-Q4_K_M.gguf (version GGUF V3 (latest))
0.04.944.682 I llama_model_loader: Dumping metadata keys/values. Note: KV overrides do not apply in this output.
0.04.944.685 I llama_model_loader: - kv   0:                       general.architecture str              = qwen3next
0.04.944.686 I llama_model_loader: - kv   1:                               general.type str              = model
0.04.944.688 I llama_model_loader: - kv   2:                     general.sampling.top_k i32              = 40
0.04.944.694 I llama_model_loader: - kv   3:                     general.sampling.top_p f32              = 0.950000
0.04.944.696 I llama_model_loader: - kv   4:                      general.sampling.temp f32              = 1.000000
0.04.944.697 I llama_model_loader: - kv   5:                               general.name str              = Qwen3-Coder-Next
0.04.944.697 I llama_model_loader: - kv   6:                           general.basename str              = Qwen3-Coder-Next
0.04.944.698 I llama_model_loader: - kv   7:                       general.quantized_by str              = Unsloth
0.04.944.699 I llama_model_loader: - kv   8:                         general.size_label str              = 512x2.5B
0.04.944.699 I llama_model_loader: - kv   9:                            general.license str              = apache-2.0
0.04.944.703 I llama_model_loader: - kv  10:                       general.license.link str              = https://huggingface.co/Qwen/Qwen3-Cod...
0.04.944.704 I llama_model_loader: - kv  11:                           general.repo_url str              = https://huggingface.co/unsloth
0.04.944.705 I llama_model_loader: - kv  12:                   general.base_model.count u32              = 1
0.04.944.705 I llama_model_loader: - kv  13:                  general.base_model.0.name str              = Qwen3 Coder Next
0.04.944.706 I llama_model_loader: - kv  14:          general.base_model.0.organization str              = Qwen
0.04.944.708 I llama_model_loader: - kv  15:              general.base_model.0.repo_url str              = https://huggingface.co/Qwen/Qwen3-Cod...
0.04.944.721 I llama_model_loader: - kv  16:                               general.tags arr[str,2]       = ["unsloth", "text-generation"]
0.04.944.722 I llama_model_loader: - kv  17:                      qwen3next.block_count u32              = 48
0.04.944.722 I llama_model_loader: - kv  18:                   qwen3next.context_length u32              = 262144
0.04.944.723 I llama_model_loader: - kv  19:                 qwen3next.embedding_length u32              = 2048
0.04.944.723 I llama_model_loader: - kv  20:              qwen3next.feed_forward_length u32              = 5120
0.04.944.724 I llama_model_loader: - kv  21:             qwen3next.attention.head_count u32              = 16
0.04.944.724 I llama_model_loader: - kv  22:          qwen3next.attention.head_count_kv u32              = 2
0.04.944.726 I llama_model_loader: - kv  23:                   qwen3next.rope.freq_base f32              = 5000000.000000
0.04.944.728 I llama_model_loader: - kv  24: qwen3next.attention.layer_norm_rms_epsilon f32              = 0.000001
0.04.944.729 I llama_model_loader: - kv  25:                     qwen3next.expert_count u32              = 512
0.04.944.729 I llama_model_loader: - kv  26:                qwen3next.expert_used_count u32              = 10
0.04.944.730 I llama_model_loader: - kv  27:             qwen3next.attention.key_length u32              = 256
0.04.944.730 I llama_model_loader: - kv  28:           qwen3next.attention.value_length u32              = 256
0.04.944.731 I llama_model_loader: - kv  29:       qwen3next.expert_feed_forward_length u32              = 512
0.04.944.732 I llama_model_loader: - kv  30: qwen3next.expert_shared_feed_forward_length u32              = 512
0.04.944.732 I llama_model_loader: - kv  31:                  qwen3next.ssm.conv_kernel u32              = 4
0.04.944.732 I llama_model_loader: - kv  32:                   qwen3next.ssm.state_size u32              = 128
0.04.944.733 I llama_model_loader: - kv  33:                  qwen3next.ssm.group_count u32              = 16
0.04.944.734 I llama_model_loader: - kv  34:               qwen3next.ssm.time_step_rank u32              = 32
0.04.944.734 I llama_model_loader: - kv  35:                   qwen3next.ssm.inner_size u32              = 4096
0.04.944.735 I llama_model_loader: - kv  36:          qwen3next.full_attention_interval u32              = 4
0.04.944.735 I llama_model_loader: - kv  37:             qwen3next.rope.dimension_count u32              = 64
0.04.944.736 I llama_model_loader: - kv  38:                       tokenizer.ggml.model str              = gpt2
0.04.944.737 I llama_model_loader: - kv  39:                         tokenizer.ggml.pre str              = qwen2
0.04.966.140 I llama_model_loader: - kv  40:                      tokenizer.ggml.tokens arr[str,151936]  = ["!", "\"", "#", "$", "%", "&", "'", ...
0.04.973.089 I llama_model_loader: - kv  41:                  tokenizer.ggml.token_type arr[i32,151936]  = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, ...
0.04.994.486 I llama_model_loader: - kv  42:                      tokenizer.ggml.merges arr[str,151387]  = ["Ġ Ġ", "ĠĠ ĠĠ", "i n", "Ġ t",...
0.04.994.492 I llama_model_loader: - kv  43:                tokenizer.ggml.eos_token_id u32              = 151645
0.04.994.493 I llama_model_loader: - kv  44:            tokenizer.ggml.padding_token_id u32              = 151654
0.04.994.494 I llama_model_loader: - kv  45:               tokenizer.ggml.add_bos_token bool             = false
0.04.994.498 I llama_model_loader: - kv  46:                    tokenizer.chat_template str              = {% macro render_extra_keys(json_dict,...
0.04.994.499 I llama_model_loader: - kv  47:               general.quantization_version u32              = 2
0.04.994.500 I llama_model_loader: - kv  48:                          general.file_type u32              = 15
0.04.994.501 I llama_model_loader: - kv  49:                      quantize.imatrix.file str              = Qwen3-Coder-Next-GGUF/imatrix_unsloth...
0.04.994.502 I llama_model_loader: - kv  50:                   quantize.imatrix.dataset str              = unsloth_calibration_Qwen3-Coder-Next.txt
0.04.994.503 I llama_model_loader: - kv  51:             quantize.imatrix.entries_count u32              = 576
0.04.994.504 I llama_model_loader: - kv  52:              quantize.imatrix.chunks_count u32              = 154
0.04.994.506 I llama_model_loader: - type  f32:  361 tensors
0.04.994.506 I llama_model_loader: - type q4_K:  233 tensors
0.04.994.507 I llama_model_loader: - type q5_K:   72 tensors
0.04.994.507 I llama_model_loader: - type q6_K:   81 tensors
0.04.994.507 I llama_model_loader: - type mxfp4:   96 tensors
0.04.994.508 I print_info: file format = GGUF V3 (latest)
0.04.994.509 I print_info: file type   = Q4_K - Medium
0.04.994.514 I print_info: file size   = 45.19 GiB (4.87 BPW)
0.04.994.653 I llama_prepare_model_devices: using device SYCL0 (Intel(R) Arc(TM) Pro B50 Graphics) (unknown id) - 15641 MiB free
0.04.994.663 I llama_prepare_model_devices: using device SYCL1 (Intel(R) Arc(TM) Pro B50 Graphics) (unknown id) - 15881 MiB free
0.05.084.711 I load: 0 unused tokens
0.05.095.216 W load: control-looking token: 128247 '</s>' was not control-type; this is probably a bug in the model. its type will be overridden
0.05.099.339 I load: printing all EOG tokens:
0.05.099.344 I load:   - 128247 ('</s>')
0.05.099.346 I load:   - 151643 ('<|endoftext|>')
0.05.099.346 I load:   - 151645 ('<|im_end|>')
0.05.099.347 I load:   - 151662 ('<|fim_pad|>')
0.05.099.347 I load:   - 151663 ('<|repo_name|>')
0.05.099.348 I load:   - 151664 ('<|file_sep|>')
0.05.099.900 I load: special tokens cache size = 27
0.05.121.242 I load: token to piece cache size = 0.9311 MB
0.05.121.261 I print_info: arch                  = qwen3next
0.05.121.261 I print_info: vocab_only            = 0
0.05.121.262 I print_info: no_alloc              = 0
0.05.121.263 I print_info: n_ctx_train           = 262144
0.05.121.263 I print_info: n_embd_inp            = 2048
0.05.121.264 I print_info: n_embd                = 2048
0.05.121.265 I print_info: n_embd_out            = 2048
0.05.121.265 I print_info: n_layer               = 48
0.05.121.265 I print_info: n_layer_all           = 48
0.05.121.281 I print_info: n_head                = 16
0.05.121.283 I print_info: n_head_kv             = 2
0.05.121.283 I print_info: n_rot                 = 64
0.05.121.284 I print_info: n_swa                 = 0
0.05.121.284 I print_info: is_swa_any            = 0
0.05.121.285 I print_info: n_embd_head_k         = 256
0.05.121.285 I print_info: n_embd_head_v         = 256
0.05.121.287 I print_info: n_gqa                 = 8
0.05.121.289 I print_info: n_embd_k_gqa          = 512
0.05.121.291 I print_info: n_embd_v_gqa          = 512
0.05.121.292 I print_info: f_norm_eps            = 0.0e+00
0.05.121.293 I print_info: f_norm_rms_eps        = 1.0e-06
0.05.121.294 I print_info: f_clamp_kqv           = 0.0e+00
0.05.121.294 I print_info: f_max_alibi_bias      = 0.0e+00
0.05.121.294 I print_info: f_logit_scale         = 0.0e+00
0.05.121.295 I print_info: f_attn_scale          = 0.0e+00
0.05.121.295 I print_info: f_attn_value_scale    = 0.0000
0.05.121.297 I print_info: n_ff                  = 5120
0.05.121.297 I print_info: n_expert              = 512
0.05.121.298 I print_info: n_expert_used         = 10
0.05.121.298 I print_info: n_expert_groups       = 0
0.05.121.298 I print_info: n_group_used          = 0
0.05.121.299 I print_info: causal attn           = 1
0.05.121.299 I print_info: pooling type          = -1
0.05.121.300 I print_info: rope type             = 2
0.05.121.300 I print_info: rope scaling          = linear
0.05.121.302 I print_info: freq_base_train       = 5000000.0
0.05.121.303 I print_info: freq_scale_train      = 1
0.05.121.304 I print_info: n_ctx_orig_yarn       = 262144
0.05.121.304 I print_info: rope_yarn_log_mul     = 0.0000
0.05.121.305 I print_info: rope_finetuned        = unknown
0.05.121.305 I print_info: ssm_d_conv            = 4
0.05.121.305 I print_info: ssm_d_inner           = 4096
0.05.121.306 I print_info: ssm_d_state           = 128
0.05.121.306 I print_info: ssm_dt_rank           = 32
0.05.121.306 I print_info: ssm_n_group           = 16
0.05.121.307 I print_info: ssm_dt_b_c_rms        = 0
0.05.121.308 I print_info: model type            = 80B.A3B
0.05.121.309 I print_info: model params          = 79.67 B
0.05.121.309 I print_info: general.name          = Qwen3-Coder-Next
0.05.121.310 I print_info: vocab type            = BPE
0.05.121.311 I print_info: n_vocab               = 151936
0.05.121.311 I print_info: n_merges              = 151387
0.05.121.312 I print_info: BOS token             = 11 ','
0.05.121.312 I print_info: EOS token             = 151645 '<|im_end|>'
0.05.121.313 I print_info: EOT token             = 151645 '<|im_end|>'
0.05.121.313 I print_info: PAD token             = 151654 '<|vision_pad|>'
0.05.121.314 I print_info: LF token              = 198 'Ċ'
0.05.121.314 I print_info: FIM PRE token         = 151659 '<|fim_prefix|>'
0.05.121.315 I print_info: FIM SUF token         = 151661 '<|fim_suffix|>'
0.05.121.315 I print_info: FIM MID token         = 151660 '<|fim_middle|>'
0.05.121.316 I print_info: FIM PAD token         = 151662 '<|fim_pad|>'
0.05.121.316 I print_info: FIM REP token         = 151663 '<|repo_name|>'
0.05.121.317 I print_info: FIM SEP token         = 151664 '<|file_sep|>'
0.05.121.317 I print_info: EOG token             = 128247 '</s>'
0.05.121.318 I print_info: EOG token             = 151643 '<|endoftext|>'
0.05.121.318 I print_info: EOG token             = 151645 '<|im_end|>'
0.05.121.319 I print_info: EOG token             = 151662 '<|fim_pad|>'
0.05.121.319 I print_info: EOG token             = 151663 '<|repo_name|>'
0.05.121.319 I print_info: EOG token             = 151664 '<|file_sep|>'
0.05.121.320 I print_info: max token length      = 256
0.05.121.321 I load_tensors: loading model tensors, this can take a while... (mmap = false, direct_io = false)
0.05.209.565 I load_tensors: offloading output layer to GPU
0.05.209.572 I load_tensors: offloading 47 repeating layers to GPU
0.05.209.573 I load_tensors: offloaded 49/49 layers to GPU
0.05.209.579 I load_tensors:        SYCL0 model buffer size = 13223.68 MiB
0.05.209.581 I load_tensors:        SYCL1 model buffer size = 12867.08 MiB
0.05.209.582 I load_tensors:    SYCL_Host model buffer size = 20183.74 MiB
....................................................................................................
0.15.627.997 I common_init_result: added </s> logit bias = -inf
0.15.628.107 I common_init_result: added <|endoftext|> logit bias = -inf
0.15.628.110 I common_init_result: added <|im_end|> logit bias = -inf
0.15.628.111 I common_init_result: added <|fim_pad|> logit bias = -inf
0.15.628.112 I common_init_result: added <|repo_name|> logit bias = -inf
0.15.628.112 I common_init_result: added <|file_sep|> logit bias = -inf
0.15.628.212 I llama_context: constructing llama_context
0.15.628.216 I llama_context: n_seq_max     = 2
0.15.628.216 I llama_context: n_ctx         = 131072
0.15.628.217 I llama_context: n_ctx_seq     = 65536
0.15.628.217 I llama_context: n_batch       = 8192
0.15.628.217 I llama_context: n_ubatch      = 2048
0.15.628.218 I llama_context: causal_attn   = 1
0.15.628.218 I llama_context: flash_attn    = auto
0.15.628.218 I llama_context: kv_unified    = false
0.15.628.221 I llama_context: freq_base     = 5000000.0
0.15.628.223 I llama_context: freq_scale    = 1
0.15.628.223 I llama_context: n_rs_seq      = 0
0.15.628.224 I llama_context: n_outputs_max = 2
0.15.628.225 W llama_context: n_ctx_seq (65536) < n_ctx_train (262144) -- the full capacity of the model will not be utilized
0.15.628.630 I llama_context:  SYCL_Host  output buffer size =     1.16 MiB
0.15.630.849 I llama_kv_cache:      SYCL0 KV buffer size =   408.00 MiB
0.15.688.957 I llama_kv_cache:      SYCL1 KV buffer size =  1224.00 MiB
0.15.720.922 I llama_kv_cache: size = 1632.00 MiB ( 65536 cells,  12 layers,  2/2 seqs), K (q8_0):  816.00 MiB, V (q8_0):  816.00 MiB
0.15.720.933 I llama_kv_cache: attn_rot_k = 1, n_embd_head_k_all = 256
0.15.720.934 I llama_kv_cache: attn_rot_v = 1, n_embd_head_k_all = 256
0.15.732.879 I llama_memory_recurrent:      SYCL0 RS buffer size =    46.06 MiB
0.15.738.026 I llama_memory_recurrent:      SYCL1 RS buffer size =   104.69 MiB
0.15.738.036 I llama_memory_recurrent: size =  150.75 MiB (     2 cells,  48 layers,  2 seqs  0 rs_seq), R (f32):    6.75 MiB, S (f32):  144.00 MiB
0.15.738.046 I sched_reserve: reserving ...
0.15.750.634 I sched_reserve: Flash Attention was auto, set to enabled
0.15.750.639 I sched_reserve: resolving fused Gated Delta Net support:
0.15.751.798 I sched_reserve: fused Gated Delta Net (autoregressive) enabled
0.15.752.977 I sched_reserve: fused Gated Delta Net (chunked) enabled
0.15.760.709 I sched_reserve:      SYCL0 compute buffer size =   728.00 MiB
0.15.760.713 I sched_reserve:      SYCL1 compute buffer size =   600.30 MiB
0.15.760.714 I sched_reserve:  SYCL_Host compute buffer size =   288.31 MiB
0.15.760.714 I sched_reserve: graph nodes  = 5180
0.15.760.715 I sched_reserve: graph splits = 93 (with bs=2048), 53 (with bs=1)
0.15.760.717 I sched_reserve: reserve took 22.67 ms, sched copies = 1
0.15.760.867 I common_init_from_params: warming up the model with an empty run - please wait ... (--no-warmup to disable)
0.17.840.117 I srv    load_model: initializing slots, n_slots = 2
0.17.947.785 I common_context_can_seq_rm: the context does not support partial sequence removal
0.17.958.930 W srv    load_model: speculative decoding will use checkpoints
0.17.958.961 W common_speculative_init: no implementations specified for speculative decoding
0.17.958.964 I slot   load_model: id  0 | task -1 | new slot, n_ctx = 65536
0.17.958.968 I slot   load_model: id  1 | task -1 | new slot, n_ctx = 65536
0.17.959.246 I srv    load_model: prompt cache is enabled, size limit: 8192 MiB
0.17.959.246 I srv    load_model: use `--cache-ram 0` to disable the prompt cache
0.17.959.248 I srv    load_model: for more info see https://github.com/ggml-org/llama.cpp/pull/16391
0.17.959.249 I srv    load_model: context checkpoints enabled, max = 32, min spacing = 256
0.17.959.281 I srv          init: idle slots will be saved to prompt cache upon starting a new task
0.18.001.833 I init: chat template, example_format: '<|im_start|>system
You are a helpful assistant<|im_end|>
<|im_start|>user
Hello<|im_end|>
<|im_start|>assistant
Hi there<|im_end|>
<|im_start|>user
How are you?<|im_end|>
<|im_start|>assistant
'
0.18.038.377 I srv          init: init: chat template, thinking = 0
0.18.038.417 I srv  llama_server: model loaded
0.18.038.420 I srv  llama_server: server is listening on http://192.168.90.128:8080
0.18.038.433 I srv  update_slots: all slots are idle
0.21.149.633 I srv  params_from_: Chat format: peg-native
0.21.149.714 I srv  prompt_get_n: message_spans: last user message: byte_pos=0, media=0, n_before_user=0
0.21.149.953 I slot get_availabl: id  1 | task -1 | selected slot by LRU, t_last = -1
0.21.149.958 I srv  get_availabl: updating prompt cache
0.21.149.965 I srv          load:  - looking for better prompt, base f_keep = -1.000, sim = 0.000
0.21.149.970 I srv        update:  - cache state: 0 prompts, 0.000 MiB (limits: 8192.000 MiB, 131072 tokens, 8589934592 est)
0.21.149.971 I srv  get_availabl: prompt cache update took 0.01 ms
0.21.150.153 I slot launch_slot_: id  1 | task -1 | sampler chain: logits -> ?penalties -> ?dry -> ?top-n-sigma -> top-k -> ?typical -> top-p -> min-p -> ?xtc -> ?temp-ext -> dist
0.21.150.163 I slot launch_slot_: id  1 | task -1 | sampler params:
        repeat_last_n = 64, repeat_penalty = 1.000, frequency_penalty = 0.000, presence_penalty = 0.000
        dry_multiplier = 0.000, dry_base = 1.750, dry_allowed_length = 2, dry_penalty_last_n = 65536
        top_k = 40, top_p = 0.950, min_p = 0.010, xtc_probability = 0.000, xtc_threshold = 0.100, typical_p = 1.000, top_n_sigma = -1.000, temp = 1.000
        mirostat = 0, mirostat_lr = 0.100, mirostat_ent = 5.000, adaptive_target = -1.000, adaptive_decay = 0.900
0.21.150.165 I slot launch_slot_: id  1 | task 0 | processing task, is_child = 0
0.21.150.166 I slot process_sing: id  0 | task -1 | saving idle slot to prompt cache
0.21.150.173 I slot update_slots: id  1 | task 0 | new prompt, n_ctx_slot = 65536, n_keep = 0, task.n_tokens = 21
0.21.150.184 I slot update_slots: id  1 | task 0 | cached n_tokens = 0, memory_seq_rm [0, end)
0.22.811.155 I slot update_slots: id  1 | task 0 | cached n_tokens = 17, memory_seq_rm [17, end)
0.22.811.248 I slot init_sampler: id  1 | task 0 | init sampler, took 0.00 ms, tokens: text = 21, total = 21
0.22.836.537 I slot create_check: id  1 | task 0 | created context checkpoint 1 of 32 (pos_min = 16, pos_max = 16, n_tokens = 17, size = 75.376 MiB)
0.29.681.920 I slot print_timing: id  1 | task 0 | n_decoded =    100, tg =  15.05 t/s
0.32.722.010 I slot print_timing: id  1 | task 0 | n_decoded =    158, tg =  16.31 t/s
0.35.729.426 I slot print_timing: id  1 | task 0 | n_decoded =    215, tg =  16.94 t/s
0.38.758.470 I slot print_timing: id  1 | task 0 | n_decoded =    272, tg =  17.30 t/s
0.41.805.511 I slot print_timing: id  1 | task 0 | n_decoded =    329, tg =  17.53 t/s
0.44.842.384 I slot print_timing: id  1 | task 0 | n_decoded =    386, tg =  17.70 t/s
0.47.882.043 I slot print_timing: id  1 | task 0 | n_decoded =    443, tg =  17.83 t/s
0.50.975.084 I slot print_timing: id  1 | task 0 | n_decoded =    491, tg =  17.57 t/s
0.54.020.635 I slot print_timing: id  1 | task 0 | n_decoded =    531, tg =  17.14 t/s
0.57.065.965 I slot print_timing: id  1 | task 0 | n_decoded =    557, tg =  16.37 t/s
1.00.117.113 I slot print_timing: id  1 | task 0 | n_decoded =    601, tg =  16.21 t/s
1.03.135.065 I slot print_timing: id  1 | task 0 | n_decoded =    647, tg =  16.13 t/s
1.06.172.509 I slot print_timing: id  1 | task 0 | n_decoded =    704, tg =  16.32 t/s
1.08.157.870 I slot print_timing: id  1 | task 0 | prompt eval time =    1885.69 ms /    21 tokens (   89.79 ms per token,    11.14 tokens per second)
1.08.157.877 I slot print_timing: id  1 | task 0 |        eval time =   45121.98 ms /   740 tokens (   60.98 ms per token,    16.40 tokens per second)
1.08.157.879 I slot print_timing: id  1 | task 0 |       total time =   47007.67 ms /   761 tokens
1.08.157.880 I slot print_timing: id  1 | task 0 |    graphs reused =        737
1.08.157.914 I slot      release: id  1 | task 0 | stop processing: n_tokens = 760, truncated = 0
1.08.157.927 I srv  update_slots: all slots are idle

@arthw

arthw commented Jun 18, 2026

Copy link
Copy Markdown
Contributor Author

@pankleks
Got it! It's great!

Thank you very much! :)

@pankleks

Copy link
Copy Markdown

if you need anything else - let me know

@ccross

ccross commented Jun 19, 2026

Copy link
Copy Markdown

Thanks for this work. I know it's already merged, but I've been testing dual Arc Pro B70 (BMG-G31) on Linux/xe and wanted to share what I'm seeing in case you have more context. Happy to move this somewhere more appropriate if there's a better place for it.

With a small kernel patch to add the Arrow Lake-S host bridge to the pci_p2pdma whitelist, the B70s do report peer access: ext_oneapi_can_access_peer = YES, and a dma-buf export/import between the two cards succeeds. But the actual peer copy then fails. A Level Zero C-API probe (two single-device contexts, export dev0 → import into dev1 → copy) gets all the way through export and import, then returns ZE_RESULT_ERROR_UNSUPPORTED_FEATURE (0x70000003) on the VRAM→VRAM copy itself. I haven't ruled out whether the host-bridge P2P path is the limiter here vs. the card. Multi-device SYCL contexts fail earlier too, V2 aborts in urContextCreate, V1 builds the context but malloc_device returns null.

Digging into compute-runtime, shouldQueryPeerAccess() is false on the base/Alchemist path (dg2 doesn't override it) and true on Battlemage (bmg_g31/g21). So the A770 never probes peer access at all and just host-stages, whereas the B70 probes, reports it works, and then can't complete the copy, at least on my hardware.

Two questions if you have time. Has direct peer copy ever actually been shown working on these (vs. host-staged), and was there any attempt to push this upstream to the Intel driver? I'm trying to figure out whether the unsupported copy is a permanent limit, an unfinished xe/compute-runtime path, or something about my hardware. Happy to share the probes and logs if it's useful.

@mjsabby

mjsabby commented Jun 19, 2026

Copy link
Copy Markdown

@ccross vllm-project/vllm#41663 and intel/compute-runtime#935 -- we're all still trying to figure it out. What I'm doing is trying the B70's in a threadripper setup, so at least the cross port stuff is eliminated.

@arthw

arthw commented Jun 20, 2026

Copy link
Copy Markdown
Contributor Author

@ccross @mjsabby
The p2p memcpy depend on the hardware and driver.
We hope it be supported on all Intel dGPUs.

I have no dual B60/B70 PC to test this issue.
I guess it also has relationship with the linux kernel 7.x.

We don't know when it will be fixed by driver.
Current implementation help workaround it: if p2p memcpy is fail, switch to dev-host-dev.
It will reduce about 2-5% performance in -sm layer model.

Hope it be fixed in driver and more linux kernel.

@ccross

ccross commented Jun 20, 2026

Copy link
Copy Markdown

@arthw Good to hear. Also I appreciate your work on llama.cpp SYCL stuff. @mjsabby Thank you for the links. Glad I am not the only one that found the same thing.

papamoose pushed a commit to papamoose/llama.cpp that referenced this pull request Jun 27, 2026
* add dev2dev memcpy by SYCL API

* mv GGML_SYCL_DEV2DEV_MEMCPY to runntime table

* update the detect method for p2p comm

* fix the erro created during fix confilct

---------

Co-authored-by: Neo Zhang <NA>
@mjsabby

mjsabby commented Jun 28, 2026

Copy link
Copy Markdown

@ccross I just confirmed, you need an AMD host with the two Intel B70 GPUs to have P2P along with Kernel 7.1 and Intel Compute Runtime 26.22.38646.4. Prompt processing does get a pretty big boost, no real imapct on token generation. @Spruill-1's change #24152 really has made it worth while to have two B70's and llama.cpp in an AMD setup.

adrianhoehne pushed a commit to adrianhoehne/llama.cpp that referenced this pull request Jul 5, 2026
* add dev2dev memcpy by SYCL API

* mv GGML_SYCL_DEV2DEV_MEMCPY to runntime table

* update the detect method for p2p comm

* fix the erro created during fix confilct

---------

Co-authored-by: Neo Zhang <NA>
@remy-luisant

Copy link
Copy Markdown

Possibly relevant for people who built a multi-GPU setup on Intel's consumer platforms: NVIDIA/open-gpu-kernel-modules#1253

This seems to be a hardware/firmware issue.

It seems like direct GPU-originating writes may be functioning fine, reads being the problem part. The bandwidth is (possibly?) cut, but latency might be able to be at least somewhat regained. Neither GPUs nor PCIe are my domains of knowledge, but a thought has come to me: Should one reverse the direction to a write then the matter mostly reduces to a notification of completion to the other GPU.

If doing that is possible, practical or beneficial is beyond my expertise.

@arthw

arthw commented Jul 28, 2026

Copy link
Copy Markdown
Contributor Author

Possibly relevant for people who built a multi-GPU setup on Intel's consumer platforms: NVIDIA/open-gpu-kernel-modules#1253

This seems to be a hardware/firmware issue.

It seems like direct GPU-originating writes may be functioning fine, reads being the problem part. The bandwidth is (possibly?) cut, but latency might be able to be at least somewhat regained. Neither GPUs nor PCIe are my domains of knowledge, but a thought has come to me: Should one reverse the direction to a write then the matter mostly reduces to a notification of completion to the other GPU.

If doing that is possible, practical or beneficial is beyond my expertise.

It's a little complex issue in hardware/firmware in fact.
SYCL backend will choose the most stable method which can cover most user cases.
The communication between GPUs is impacted by the hardware feature in same case.
It's hard to control by the software.
We will always keep an eye on the issue.

Thank you!

@mjsabby

mjsabby commented Jul 28, 2026

Copy link
Copy Markdown

@arthw I totally understand, but mentioning it in official intel docs about the caveats will help B70 adoption. I've basically got Claude and Copilot to write gemma and qwen for Intel B70 P2P dual GPU setup and it is faster than llama.cpp and vLLM for single token stream and can fit unquantized weights up 90k on dual GPUs for Gemma 31b.

https://github.com/mjsabby/qwen35-intel-serve and https://github.com/mjsabby/gemma-intel-serve

For example, I use 1 SYCL context, llama.cpp uses 2 SYCL context and all sorts of issues come because of it.

@NeoZhangJianyu

Copy link
Copy Markdown
Contributor

@mjsabby
It's great!
A single project face to special LLM.
It's good idea to get better performance.

llama.cpp and vLLM must support multiple LLMs and models of GPU.
It limits their capability.
AI can reduce the software cost and make any idea to be implemented easily. :)

Thank you for your sharing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation ggml changes relating to the ggml tensor library for machine learning merge ready A maintainer can use this label to indicate that they consider the changes final and ready to merge. SYCL https://en.wikipedia.org/wiki/SYCL - GPU programming language

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants