Skip to content

Misc. bug: 'llama-server --list-devices' doesn't show the CPU device #16659

Description

@yurivict

Name and Version

$ llama-cli --version
ggml_vulkan: Found 1 Vulkan devices:
ggml_vulkan: 0 = NVIDIA GeForce RTX 2060 (NVIDIA) | uma: 0 | fp16: 1 | bf16: 1 | warp size: 32 | shared memory: 49152 | int dot: 1 | matrix cores: NV_coopmat2
version: 6795 (unknown)
built with FreeBSD clang version 19.1.7 (https://github.com/llvm/llvm-project.git llvmorg-19.1.7-0-gcd708029e0b2) for x86_64-unknown-freebsd14.3

Operating systems

BSD

Which llama.cpp modules do you know to be affected?

llama-server

Command line

$ llama-server --list-devices
ggml_vulkan: Found 1 Vulkan devices:
ggml_vulkan: 0 = NVIDIA GeForce RTX 2060 (NVIDIA) | uma: 0 | fp16: 1 | bf16: 1 | warp size: 32 | shared memory: 49152 | int dot: 1 | matrix cores: NV_coopmat2
Available devices:
  Vulkan0: NVIDIA GeForce RTX 2060 (6144 MiB, 5136 MiB free)

Problem description & steps to reproduce

The CPU device isn't present in the list even though libggml-cpu.so is installed:

       /usr/local/lib/libggml-base.so
        /usr/local/lib/libggml-cpu.so
        /usr/local/lib/libggml-vulkan.so
        /usr/local/lib/libggml.so

First Bad Commit

n/a

Relevant log output

n/a

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