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 wheneverllama-cpp-2
is added without
somewhere in the dependency tree.default-features = false - cuda
-
Enables cuda of llama-cpp-sys-2
- metal
-
Enables metal of llama-cpp-sys-2
- dynamic-link
-
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
…