mirror of
https://github.com/ollama/ollama.git
synced 2025-05-11 18:36:41 +02:00
scale graph based on gpu count
This commit is contained in:
parent
7c9792a6e0
commit
26df674785
2 changed files with 4 additions and 1 deletions
|
@ -55,6 +55,6 @@ func getCPUMem() (memInfo, error) {
|
|||
return memInfo{
|
||||
TotalMemory: uint64(C.getPhysicalMemory()),
|
||||
FreeMemory: 0,
|
||||
DeviceCount: 0,
|
||||
DeviceCount: 1,
|
||||
}, nil
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue