Update amd_linux.go

remove old gpu limits due to the new rocm supports
This commit is contained in:
likelovewant
2024-05-24 15:30:41 +08:00
committed by GitHub
parent 0e5b263a60
commit 6f03952a62

View File

@@ -159,10 +159,10 @@ func AMDGetGPUInfo() []GpuInfo {
return []GpuInfo{}
}
if int(major) < RocmComputeMin {
slog.Warn(fmt.Sprintf("amdgpu too old gfx%d%x%x", major, minor, patch), "gpu", gpuID)
continue
}
//if int(major) < RocmComputeMin {
// slog.Warn(fmt.Sprintf("amdgpu too old gfx%d%x%x", major, minor, patch), "gpu", gpuID)
// continue
//}
// Look up the memory for the current node
totalMemory := uint64(0)