mirror of
https://github.com/likelovewant/ollama-for-amd.git
synced 2025-12-22 14:53:56 +00:00
Update amd_linux.go
remove old gpu limits due to the new rocm supports
This commit is contained in:
@@ -159,10 +159,10 @@ func AMDGetGPUInfo() []GpuInfo {
|
|||||||
return []GpuInfo{}
|
return []GpuInfo{}
|
||||||
}
|
}
|
||||||
|
|
||||||
if int(major) < RocmComputeMin {
|
//if int(major) < RocmComputeMin {
|
||||||
slog.Warn(fmt.Sprintf("amdgpu too old gfx%d%x%x", major, minor, patch), "gpu", gpuID)
|
// slog.Warn(fmt.Sprintf("amdgpu too old gfx%d%x%x", major, minor, patch), "gpu", gpuID)
|
||||||
continue
|
// continue
|
||||||
}
|
//}
|
||||||
|
|
||||||
// Look up the memory for the current node
|
// Look up the memory for the current node
|
||||||
totalMemory := uint64(0)
|
totalMemory := uint64(0)
|
||||||
|
|||||||
Reference in New Issue
Block a user