Skip to content

GGML_CPU_ALL_VARIANTS causes a silent exception #2963

@peardox

Description

@peardox

Building on Win11 using VC like this (CMAKE_TOOLCHAIN_FILE is for SDL2)

cmake -B build -DCMAKE_TOOLCHAIN_FILE=C:\git\vcpkg\scripts\buildsystems\vcpkg.cmake -DGGML_CCACHE=OFF -DGGML_CUDA=1 -DGGML_VULKAN=1 -DWHISPER_SDL2=ON -DGGML_BACKEND_DL=ON -DBUILD_SHARED_LIBS=ON -DGGML_CPU_ALL_VARIANTS=ON

This should (and does) build CPU/CUDA/Vulkan for all x64 CPUs back to Haswell, the aim, of course, being to allow for older CPU architectures so the same apps will run on a wide range of end-user configs

However, when it comes to loading GGML it fails silently. Looking into this but my C++ is rusty

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions