Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Tags: nLight/llama.cpp

Tags

b6517

Toggle b6517's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
ggml-amx : fix ggml_amx_init() on generic Linux (ggml-org#16049)

Generalize Linux check to `__linux__` to support non-glibc systems (like musl).
Also, return `false` on unknown/untested OS.

Without this commit, the code compiles (with warnings) but fails:

    register_backend: registered backend CPU (1 devices)
    register_device: registered device CPU (Intel(R) Xeon(R) Platinum 8488C)
    build: 6487 (51c4cac) with x86_64-linux-musl-gcc (GCC) 15.1.0 for x86_64-linux-musl (debug)
    system info: n_threads = 8, n_threads_batch = 8, total_threads = 16
    ....
    print_info: n_ctx_orig_yarn  = 262144
    print_info: rope_finetuned   = unknown
    print_info: model type       = 4B
    Illegal instruction (core dumped)

Signed-off-by: Adrien Gallouët <[email protected]>

b6512

Toggle b6512's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
CUDA: fix compilation on CC 6.0 (ggml-org#16091)