types.go 358 B

1234567891011
  1. package gpu
  2. // Beginning of an `ollama info` command
  3. type GpuInfo struct {
  4. Driver string `json:"driver,omitempty"`
  5. Library string `json:"library,omitempty"`
  6. TotalMemory uint64 `json:"total_memory,omitempty"`
  7. FreeMemory uint64 `json:"free_memory,omitempty"`
  8. // TODO add other useful attributes about the card here for discovery information
  9. }