Cargo Features

[dependencies]
llama-cpp-4 = { version = "0.1.85", default-features = false, features = ["cuda", "metal", "dynamic-link", "vulkan", "native", "openmp"] }
default = openmp

The openmp feature is set by default whenever llama-cpp-4 is added without default-features = false somewhere in the dependency tree.

cuda

Enables cuda of llama-cpp-sys-4

metal

Enables metal of llama-cpp-sys-4

Enables dynamic-link of llama-cpp-sys-4

vulkan

Enables vulkan of llama-cpp-sys-4

native

Enables native of llama-cpp-sys-4

openmp default

Enables openmp of llama-cpp-sys-4

llama-cpp-4 has 7 features without comments.