![Daniel Hiltgen](/assets/img/avatar_default.png)
Refactor where we store build outputs, and support a fully dynamic loading model on windows so the base executable has no special dependencies thus doesn't require a special PATH.
11 lines
312 B
Go
11 lines
312 B
Go
package gpu
|
|
|
|
// Beginning of an `ollama info` command
|
|
type GpuInfo struct {
|
|
Library string `json:"library,omitempty"`
|
|
TotalMemory uint64 `json:"total_memory,omitempty"`
|
|
FreeMemory uint64 `json:"free_memory,omitempty"`
|
|
|
|
// TODO add other useful attributes about the card here for discovery information
|
|
}
|