Revert "ggml: Export GPU UUIDs" (#11115)

This reverts commit aaa7818000.
This commit is contained in:
Jeffrey Morgan
2025-06-18 05:45:00 -07:00
committed by GitHub
parent a6e64fbdf2
commit ed567ef43b
6 changed files with 0 additions and 151 deletions

View File

@@ -124,10 +124,6 @@ type DeviceMemory struct {
// may not be persistent across instances of the runner.
Name string
// UUID is a unique persistent identifier for the device for matching
// with system management libraries
UUID string
// Weights is the per-layer memory needed for the model weights.
Weights []Memory
@@ -156,10 +152,6 @@ func (m DeviceMemory) LogValue() slog.Value {
attrs = append(attrs, slog.Any("Graph", m.Graph))
}
if len(attrs) > 0 && m.UUID != "" {
attrs = append([]slog.Attr{slog.String("UUID", m.UUID)}, attrs...)
}
return slog.GroupValue(attrs...)
}