We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 750ed12 commit 7d12f30Copy full SHA for 7d12f30
llama-cpp-2/src/lib.rs
@@ -428,7 +428,7 @@ pub fn list_llama_ggml_backend_devices() -> Vec<LlamaBackendDevice> {
428
let memory_total = props.memory_total;
429
let memory_free = props.memory_free;
430
let device_type = match props.type_ {
431
- llama_cpp_sys_2::GGML_BACKEND_DEVICE_TYPE_CPU => LlamaBackendDeviceType::Gpu,
+ llama_cpp_sys_2::GGML_BACKEND_DEVICE_TYPE_CPU => LlamaBackendDeviceType::Cpu,
432
llama_cpp_sys_2::GGML_BACKEND_DEVICE_TYPE_ACCEL => {
433
LlamaBackendDeviceType::Accelerator
434
}
0 commit comments