failed on llama.cpp (GGML_ASSERT)

#1
by mahdisml - opened

Hi ! i got this error :

D:/a/llama.cpp/llama.cpp/src/llama-graph.cpp:1352: GGML_ASSERT(t_layer_inp[il] != nullptr && "layer input tensor is null") failed

i run this config :
"***\llama-server.exe" -m "***\LFM2.5-2.6B-QAD-Q4_0.gguf" -c 128000 -ctk q8_0 -ctv q8_0 -fa on -rea on -ngl all -md "***\LFM2.5-2.6B-DSpark-Draft-v1-Q4_K_M.gguf" --spec-type draft-dspark

I'm getting the same error
{5E9E4744-4F5E-4C20-90A5-6A3C467C05EC}

image

Yeah, same thing.

Aug 21 14:55:21 hyarch llama-server[10220]: [55319] 0.00.314.622 I srv    load_model: loading model '/mnt/flash/models/LFM2.5-2.6B/LFM2.5-2.6B-Q4_0.gguf'
Aug 21 14:55:23 hyarch llama-server[10220]: [55319] 0.02.809.168 I cmn          init: llama threadpool init, n_threads = 6
Aug 21 14:55:23 hyarch llama-server[10220]: [55319] 0.02.880.190 I common_speculative_init_result: loading draft model '/mnt/flash/models/LFM2.5-2.6B/LFM2.5-2.6B-DSpark-Q4_K_M.gguf'
Aug 21 14:55:24 hyarch llama-server[10220]: [55319] 0.03.451.017 I srv    load_model: initializing, n_slots = 3, n_ctx_slot = 65536, kv_unified = 'true'
Aug 21 14:55:24 hyarch llama-server[10220]: [55319] 0.03.451.040 I common_speculative_impl_draft_dflash: adding speculative implementation 'draft-dspark'
Aug 21 14:55:24 hyarch llama-server[10220]: [55319] 0.03.451.045 I common_speculative_impl_draft_dflash: - n_max=2, n_min=0, p_min=0.00
Aug 21 14:55:24 hyarch llama-server[10220]: [55319] 0.03.451.046 I common_speculative_impl_draft_dflash: - block_size=9, mask_token_id=125017, n_extract=5, sample_from_anchor=true
Aug 21 14:55:24 hyarch llama-server[10220]: [55319] 0.03.622.563 I srv  llama_server: model loaded
Aug 21 14:55:24 hyarch llama-server[10220]: [55319] 0.03.622.571 I srv  llama_server: listening on http://127.0.0.1:55319
Aug 21 14:55:24 hyarch llama-server[10220]: 0.08.701.187 I srv  proxy_reques: proxying request to model LFM2.5-2.6B on port 55319
Aug 21 14:55:24 hyarch llama-server[10220]: [55319] 0.03.625.404 I slot get_availabl: id  2 | task -1 | selected slot by LRU, t_last = -1
Aug 21 14:55:24 hyarch llama-server[10220]: [55319] 0.03.625.456 I slot launch_slot_: id  2 | task 0 | processing task, is_child = 0
Aug 21 14:55:24 hyarch llama-server[10220]: [55319] /home/itzstrai/.cache/yay/llama.cpp-cuda/src/llama.cpp/src/llama-graph.cpp:1352: GGML_ASSERT(t_layer_inp[il] != nullptr && "layer input tensor is null") failed
Aug 21 14:55:24 hyarch llama-server[10220]: [55319] gdb: warning: Couldn't determine a path for the index cache directory.

Pulling the latest llama.cpp Docker image with build 10548 worked for me

it works You need at least v0.2.0 or b10541.

mahdisml changed discussion status to closed

Sign up or log in to comment