Cargo Features

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

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

cuda

Enables cuda of llama-cpp-sys-2

metal

Enables metal of llama-cpp-sys-2

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

vulkan

Enables vulkan of llama-cpp-sys-2

native

Enables native of llama-cpp-sys-2

openmp default

Enables openmp of llama-cpp-sys-2

sampler

Affects sample::sampler