-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Description
Name and Version
OP594DL1:/data/local/tmp $ ./llama-cli --version
ggml-hex: Hexagon backend (experimental) : allocating new registry : ndev 1
ggml-hex: Hexagon Arch version v73
ggml-hex: allocating new session: HTP0
ggml-hex: failed to get URI for session 0 : error 0x14
ggml-hex: releasing session: HTP0
ggml-hex: failed to create device/session 0
register_backend: registered backend HTP (1 devices)
/llama_cpp/ggml/src/ggml-backend.cpp:476: GGML_ASSERT(device) failed
0: 0x5926412d34
1: 0x5926412b68
2: 0x5926412fc4
3: 0x592642ecdc
4: 0x5926326a24
5: 0x59263268c4
6: 0x5926328434
7: 0x5926326770
8: 0x5926326a94
9: 0x5926326b78
10: 0x59260b00c0
11: 0x5925d5afac
12: 0x5925d52e74
13: 0x5925d32230
14: 0x7a522df678 __libc_init
Aborted
Operating systems
Linux
Which llama.cpp modules do you know to be affected?
Test code, llama-cli
Command line
cd /data/local/tmp && LLAMA_CACHE=/data/local/tmp/.cache LD_LIBRARY_PATH=./ ADSP_LIBRARY_PATH=./ ./test-backend-ops perf -b HTP0Problem description & steps to reproduce
Running on Snapdragon 8 Gen 2: initially showing error cannot locate symbol "rpcmem_alloc2". Switching to the deprecated rpcmem_alloc results in the error below.
First Bad Commit
Relevant log output
OP594DL1:/data/local/tmp $ ./llama-cli --version
ggml-hex: Hexagon backend (experimental) : allocating new registry : ndev 1
ggml-hex: Hexagon Arch version v73
ggml-hex: allocating new session: HTP0
ggml-hex: failed to get URI for session 0 : error 0x14
ggml-hex: releasing session: HTP0
ggml-hex: failed to create device/session 0
register_backend: registered backend HTP (1 devices)
/llama_cpp/ggml/src/ggml-backend.cpp:476: GGML_ASSERT(device) failed
0: 0x5926412d34
1: 0x5926412b68
2: 0x5926412fc4
3: 0x592642ecdc
4: 0x5926326a24
5: 0x59263268c4
6: 0x5926328434
7: 0x5926326770
8: 0x5926326a94
9: 0x5926326b78
10: 0x59260b00c0
11: 0x5925d5afac
12: 0x5925d52e74
13: 0x5925d32230
14: 0x7a522df678 __libc_init
Aborted