mirror of
https://github.com/tcsenpai/ollama.git
synced 2025-06-08 04:05:20 +00:00
fix gpu_test.go Error (same type) uint64->uint32 (#1921)
This commit is contained in:
parent
ab6be852c7
commit
3bc8b9832b
@ -18,7 +18,7 @@ func TestBasicGetGPUInfo(t *testing.T) {
|
|||||||
case "linux", "windows":
|
case "linux", "windows":
|
||||||
assert.Greater(t, info.TotalMemory, uint64(0))
|
assert.Greater(t, info.TotalMemory, uint64(0))
|
||||||
assert.Greater(t, info.FreeMemory, uint64(0))
|
assert.Greater(t, info.FreeMemory, uint64(0))
|
||||||
assert.Greater(t, info.DeviceCount, uint64(0))
|
assert.Greater(t, info.DeviceCount, uint32(0))
|
||||||
default:
|
default:
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user