mirror of
https://github.com/ollama/ollama.git
synced 2025-09-29 17:03:24 +02:00
fix gpu_test.go Error (same type) uint64->uint32 (#1921)
This commit is contained in:
@@ -18,7 +18,7 @@ func TestBasicGetGPUInfo(t *testing.T) {
|
||||
case "linux", "windows":
|
||||
assert.Greater(t, info.TotalMemory, uint64(0))
|
||||
assert.Greater(t, info.FreeMemory, uint64(0))
|
||||
assert.Greater(t, info.DeviceCount, uint64(0))
|
||||
assert.Greater(t, info.DeviceCount, uint32(0))
|
||||
default:
|
||||
return
|
||||
}
|
||||
|
Reference in New Issue
Block a user