Skip to content

Compile bug: vulkan set_rows seems broken #14971

@414n

Description

@414n

Git commit

a118d80

Operating systems

Linux

GGML backends

Vulkan

Problem description & steps to reproduce

I'm trying to compile llama.cpp with vulkan support on a Slackware64-15.0 system with updated kernel (6.14.9), mesa (25.1.2) and vulkan-sdk (1.4.313).

CMakeCache.txt

First Bad Commit

b3ad3a0

Compile command

make -C build

Relevant log output

/data/toshi/ai/llama.cpp/ggml/src/ggml-vulkan/ggml-vulkan.cpp:11403:37: error: too few arguments to function ‘ggml_tensor* ggml_set_rows(ggml_context*, ggml_tensor*, ggml_tensor*, ggml_tensor*)’
11403 |         tensor_clone = ggml_set_rows(ggml_ctx, src_clone[0], src_clone[1]);
      |                        ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /data/toshi/ai/llama.cpp/ggml/src/../include/ggml-vulkan.h:3,
                 from /data/toshi/ai/llama.cpp/ggml/src/ggml-vulkan/ggml-vulkan.cpp:1:
/data/toshi/ai/llama.cpp/ggml/src/../include/ggml.h:1514:35: note: declared here
 1514 |     GGML_API struct ggml_tensor * ggml_set_rows(
      |                                   ^~~~~~~~~~~~~

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