Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.
Revert "ggml: Temporarily disable reporting UUIDs"
Jesse Gross592d21e7dbff
diff --git a/ml/backend/ggml/ggml.go b/ml/backend/ggml/ggml.goindex f8727490d..4f1212de4 100644--- a/ml/backend/ggml/ggml.go+++ b/ml/backend/ggml/ggml.go@@ -138,10 +138,7 @@ func New(modelPath string, params ml.BackendParams) (ml.Backend, error) {requiredMemory.CPU.Name = C.GoString(C.ggml_backend_dev_name(cpuDeviceBufferType.d))var props C.struct_ggml_backend_dev_propsC.ggml_backend_dev_get_props(cpuDeviceBufferType.d, &props)-- // Bug #11211: Reporting of UUIDs is temporarily disabled due to causing segfaults- // This only affects debug information until the new memory management code is in place- // requiredMemory.CPU.UUID = C.GoString(props.uuid)+ requiredMemory.CPU.UUID = C.GoString(props.uuid)requiredMemory.CPU.Weights = make([]ml.Memory, blocks+1)requiredMemory.CPU.Cache = make([]ml.Memory, blocks+1)@@ -158,7 +155,7 @@ func New(modelPath string, params ml.BackendParams) (ml.Backend, error) {requiredMemory.GPUs[i].Name = C.GoString(C.ggml_backend_dev_name(d))var props C.struct_ggml_backend_dev_propsC.ggml_backend_dev_get_props(d, &props)- // requiredMemory.GPUs[i].UUID = C.GoString(props.uuid)+ requiredMemory.GPUs[i].UUID = C.GoString(props.uuid)requiredMemory.GPUs[i].Weights = make([]ml.Memory, blocks+1)requiredMemory.GPUs[i].Cache = make([]ml.Memory, blocks+1)}