From 6f03952a62811af1af491a9a69930ddff8f3e76e Mon Sep 17 00:00:00 2001 From: likelovewant Date: Fri, 24 May 2024 15:30:41 +0800 Subject: [PATCH] Update amd_linux.go remove old gpu limits due to the new rocm supports --- gpu/amd_linux.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gpu/amd_linux.go b/gpu/amd_linux.go index 6b08ac2e..4258e449 100644 --- a/gpu/amd_linux.go +++ b/gpu/amd_linux.go @@ -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)