Skip to content

Eval bug: llama-server crashes on CUDA with Qwen3.6-27B #23210

Description

@t-jet

Name and Version

llama-cli --version
version: 9186 (3a92bc9)
built with Clang 19.1.5 for Windows x86_64

Operating systems

Windows

GGML backends

CUDA

Hardware

AMD Ryzen 7900X, 64GB RAM, chipset X870E + 2 x NVIDIA RTX 5060 Ti 16 GB

Models

unsloth/Qwen3.6-27B-MTP-GGUF/Qwen3.6-27B-Q5_K_M.gguf

Problem description & steps to reproduce

After running a model for 3-4 prompts in the agentic workflow environment, the server silently crashes without any error message, sometime reporting "CUDA Error". There are no signs of GPU memory overload and enough amount of free RAM.

Command line parameters used to launch model:

llama-server.exe ^
  -m c:\models\unsloth\Qwen3.6-27B-MTP-GGUF\Qwen3.6-27B-Q5_K_M.gguf ^
  --port 35762 ^
  -c 65536 ^
  --parallel 1 ^
  --flash-attn on ^
  --no-context-shift ^
  -ngl -1 ^
  --threads -1 ^
  --jinja ^
  --reasoning on ^
  --no-mmap ^
  --mlock ^
  --spec-type draft-mtp ^
  --spec-draft-n-max 3 ^
  -lv 4 ^
  --cache-type-k q8_0 ^
  --cache-type-v q8_0 ^
  --metrics

First Bad Commit

No response

Relevant log output

Logs
�[34m2.28.454.754�[0m �[32mI �[0mslot create_check: id  0 | task 0 | created context checkpoint 3 of 32 (pos_min = 24575, pos_max = 24575, n_tokens = 24576, size = 201.095 MiB)
�[34m2.31.613.813�[0m �[32mI �[0mslot print_timing: id  0 | task 0 | prompt processing, n_tokens =  26624, progress = 0.91, t =  37.80 s / 704.26 tokens per second
�[34m2.31.613.819�[0m �[32mI �[0mslot update_slots: id  0 | task 0 | cached n_tokens = 26624, memory_seq_rm [26624, end)
�[34m2.34.775.559�[0m �[32mI �[0mslot print_timing: id  0 | task 0 | prompt processing, n_tokens =  28672, progress = 0.98, t =  40.97 s / 699.90 tokens per second
�[34m2.34.775.565�[0m �[32mI �[0mslot update_slots: id  0 | task 0 | cached n_tokens = 28672, memory_seq_rm [28672, end)
�[34m2.35.141.953�[0m �[32mI �[0mslot print_timing: id  0 | task 0 | prompt processing, n_tokens =  28878, progress = 0.98, t =  41.33 s / 698.68 tokens per second
�[34m2.35.141.959�[0m �[32mI �[0mslot update_slots: id  0 | task 0 | cached n_tokens = 28878, memory_seq_rm [28878, end)
�[34m2.35.191.665�[0m �[32mI �[0mslot create_check: id  0 | task 0 | created context checkpoint 4 of 32 (pos_min = 28877, pos_max = 28877, n_tokens = 28878, size = 210.104 MiB)
�[34m2.35.991.114�[0m �[32mI �[0mslot print_timing: id  0 | task 0 | prompt processing, n_tokens =  29390, progress = 1.00, t =  42.18 s / 696.75 tokens per second
�[34m2.35.991.120�[0m �[32mI �[0mslot update_slots: id  0 | task 0 | cached n_tokens = 29390, memory_seq_rm [29390, end)
�[34m2.35.993.615�[0m �[32mI �[0mslot init_sampler: id  0 | task 0 | init sampler, took 2.32 ms, tokens: text = 29394, total = 29394
�[34m2.36.041.609�[0m �[32mI �[0mslot create_check: id  0 | task 0 | created context checkpoint 5 of 32 (pos_min = 29389, pos_max = 29389, n_tokens = 29390, size = 211.177 MiB)
�[34m2.36.183.565�[0m �[32mI �[0msrv  log_server_r: done request: POST /v1/chat/completions 127.0.0.1 200
�[34m2.39.154.323�[0m �[32mI �[0mslot print_timing: id  0 | task 0 | n_decoded =    102, tg =  34.31 t/s
�[34m2.42.243.591�[0m �[32mI �[0mslot print_timing: id  0 | task 0 | n_decoded =    212, tg =  34.97 t/s
�[34m2.45.255.703�[0m �[32mI �[0mslot print_timing: id  0 | task 0 | n_decoded =    306, tg =  33.72 t/s
�[34m2.48.263.476�[0m �[32mI �[0mslot print_timing: id  0 | task 0 | n_decoded =    386, tg =  31.95 t/s
�[34m2.48.444.850�[0m �[32mI �[0mreasoning-budget: deactivated (natural end)
�[34m2.51.266.797�[0m �[32mI �[0mslot print_timing: id  0 | task 0 | n_decoded =    502, tg =  33.28 t/s
�[34m2.53.287.864�[0m �[32mI �[0mslot print_timing: id  0 | task 0 |
prompt eval time =   42371.37 ms / 29394 tokens (    1.44 ms per token,   693.72 tokens per second)
       eval time =   17106.68 ms /   585 tokens (   29.24 ms per token,    34.20 tokens per second)
      total time =   59478.05 ms / 29979 tokens
draft acceptance rate = 0.70945 (  398 accepted /   561 generated)
�[34m2.53.287.887�[0m �[32mI �[0mstatistics draft-mtp: #calls(b,g,a) = 1 187 187, #gen drafts = 187, #acc drafts = 162, #gen tokens = 561, #acc tokens = 398, dur(b,g,a) = 0.001, 2902.024, 0.192 ms
�[34m2.53.288.992�[0m �[32mI �[0mslot      release: id  0 | task 0 | stop processing: n_tokens = 29979, truncated = 0
�[34m2.53.289.001�[0m �[32mI �[0msrv  update_slots: all slots are idle
�[34m2.53.763.627�[0m �[32mI �[0msrv  params_from_: Chat format: peg-native
�[34m2.53.769.536�[0m �[32mI �[0mslot get_availabl: id  0 | task -1 | selected slot by LCP similarity, sim_best = 0.971 (> 0.100 thold), f_keep = 0.980
�[34m2.53.770.918�[0m �[32mI �[0mreasoning-budget: activated, budget=2147483647 tokens
�[34m2.53.771.286�[0m �[32mI �[0mslot launch_slot_: id  0 | task -1 | sampler chain: logits -> ?penalties -> ?dry -> ?top-n-sigma -> top-k -> ?typical -> ?top-p -> min-p -> ?xtc -> ?temp-ext -> dist
�[34m2.53.771.296�[0m �[32mI �[0mslot launch_slot_: id  0 | 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 = 140032
        top_k = 20, top_p = 1.000, min_p = 0.050, 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
�[34m2.53.771.298�[0m �[32mI �[0mslot launch_slot_: id  0 | task 205 | processing task, is_child = 0
�[34m2.53.771.314�[0m �[32mI �[0mslot update_slots: id  0 | task 205 | new prompt, n_ctx_slot = 140032, n_keep = 0, task.n_tokens = 30270
�[34m2.53.771.327�[0m �[35mW slot update_slots: id  0 | task 205 | n_past = 29393, slot.prompt.tokens.size() = 29979, seq_id = 0, pos_min = 29978, n_swa = 0
�[0m�[34m2.53.771.328�[0m �[32mI �[0mslot update_slots: id  0 | task 205 | Checking checkpoint with [29389, 29389] against 29393...
�[34m2.53.791.917�[0m �[35mW slot update_slots: id  0 | task 205 | restored context checkpoint (pos_min = 29389, pos_max = 29389, n_tokens = 29390, n_past = 29390, size = 211.177 MiB)
�[0m�[34m2.53.791.924�[0m �[32mI �[0mslot update_slots: id  0 | task 205 | cached n_tokens = 29390, memory_seq_rm [29390, end)
�[34m2.54.383.656�[0m �[32mI �[0mslot update_slots: id  0 | task 205 | cached n_tokens = 29754, memory_seq_rm [29754, end)
�[34m2.54.431.669�[0m �[32mI �[0mslot create_check: id  0 | task 205 | created context checkpoint 6 of 32 (pos_min = 29753, pos_max = 29753, n_tokens = 29754, size = 211.939 MiB)
�[34m2.55.238.829�[0m �[32mI �[0mslot update_slots: id  0 | task 205 | cached n_tokens = 30266, memory_seq_rm [30266, end)
�[34m2.55.241.379�[0m �[32mI �[0mslot init_sampler: id  0 | task 205 | init sampler, took 2.37 ms, tokens: text = 30270, total = 30270
�[34m2.55.290.705�[0m �[32mI �[0mslot create_check: id  0 | task 205 | created context checkpoint 7 of 32 (pos_min = 30265, pos_max = 30265, n_tokens = 30266, size = 213.011 MiB)
�[34m2.55.378.451�[0m �[32mI �[0msrv  log_server_r: done request: POST /v1/chat/completions 127.0.0.1 200
�[34m2.57.485.689�[0m �[32mI �[0mreasoning-budget: deactivated (natural end)
�[34m2.58.310.752�[0m �[32mI �[0mslot print_timing: id  0 | task 205 | n_decoded =    101, tg =  34.44 t/s
�[34m3.01.341.495�[0m �[32mI �[0mslot print_timing: id  0 | task 205 | n_decoded =    232, tg =  38.90 t/s
�[34m3.03.355.033�[0m �[32mI �[0mslot print_timing: id  0 | task 205 |
prompt eval time =    1606.20 ms /   880 tokens (    1.83 ms per token,   547.88 tokens per second)
       eval time =    7977.34 ms /   320 tokens (   24.93 ms per token,    40.11 tokens per second)
      total time =    9583.54 ms /  1200 tokens
draft acceptance rate = 0.88889 (  232 accepted /   261 generated)
�[34m3.03.355.050�[0m �[32mI �[0mstatistics draft-mtp: #calls(b,g,a) = 2 274 274, #gen drafts = 274, #acc drafts = 244, #gen tokens = 822, #acc tokens = 630, dur(b,g,a) = 0.001, 4202.304, 0.293 ms
�[34m3.03.356.068�[0m �[32mI �[0mslot      release: id  0 | task 205 | stop processing: n_tokens = 30589, truncated = 0
�[34m3.03.356.254�[0m �[32mI �[0msrv  update_slots: all slots are idle
�[34m3.06.066.990�[0m �[32mI �[0msrv  params_from_: Chat format: peg-native
�[34m3.06.072.514�[0m �[32mI �[0mslot get_availabl: id  0 | task -1 | selected slot by LCP similarity, sim_best = 0.843 (> 0.100 thold), f_keep = 0.990
�[34m3.06.073.976�[0m �[32mI �[0mreasoning-budget: activated, budget=2147483647 tokens
�[34m3.06.074.508�[0m �[32mI �[0mslot launch_slot_: id  0 | task -1 | sampler chain: logits -> ?penalties -> ?dry -> ?top-n-sigma -> top-k -> ?typical -> ?top-p -> min-p -> ?xtc -> ?temp-ext -> dist
�[34m3.06.074.522�[0m �[32mI �[0mslot launch_slot_: id  0 | 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 = 140032
        top_k = 20, top_p = 1.000, min_p = 0.050, 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
�[34m3.06.074.525�[0m �[32mI �[0mslot launch_slot_: id  0 | task 296 | processing task, is_child = 0
�[34m3.06.074.532�[0m �[32mI �[0mslot update_slots: id  0 | task 296 | new prompt, n_ctx_slot = 140032, n_keep = 0, task.n_tokens = 35888
�[34m3.06.074.547�[0m �[35mW slot update_slots: id  0 | task 296 | n_past = 30269, slot.prompt.tokens.size() = 30589, seq_id = 0, pos_min = 30588, n_swa = 0
�[0m�[34m3.06.074.548�[0m �[32mI �[0mslot update_slots: id  0 | task 296 | Checking checkpoint with [30265, 30265] against 30269...
�[34m3.06.097.455�[0m �[35mW slot update_slots: id  0 | task 296 | restored context checkpoint (pos_min = 30265, pos_max = 30265, n_tokens = 30266, n_past = 30266, size = 213.011 MiB)
�[0m�[34m3.06.097.463�[0m �[32mI �[0mslot update_slots: id  0 | task 296 | cached n_tokens = 30266, memory_seq_rm [30266, end)
�[34m3.09.436.106�[0m �[32mI �[0mslot print_timing: id  0 | task 296 | prompt processing, n_tokens =   2048, progress = 0.90, t =   3.36 s / 609.24 tokens per second
�[34m3.09.436.113�[0m �[32mI �[0mslot update_slots: id  0 | task 296 | cached n_tokens = 32314, memory_seq_rm [32314, end)
�[34m3.12.735.782�[0m �[32mI �[0mslot print_timing: id  0 | task 296 | prompt processing, n_tokens =   4096, progress = 0.96, t =   6.66 s / 614.90 tokens per second
�[34m3.12.735.787�[0m �[32mI �[0mslot update_slots: id  0 | task 296 | cached n_tokens = 34362, memory_seq_rm [34362, end)
D:\source\llama.cpp\ggml\src\ggml-cuda\ggml-cuda.cu:102: CUDA error

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions