From 5eb640b20ad94b2527c0c597131e6cf6c9c30988 Mon Sep 17 00:00:00 2001 From: likelovewant Date: Sat, 22 Feb 2025 13:34:31 +0800 Subject: [PATCH] robertrosenbusch patch for old cards in linux https://github.com/likelovewant/ollama-for-amd/issues/51 --- discover/gpu.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/discover/gpu.go b/discover/gpu.go index ba906a18..96f6e2fd 100644 --- a/discover/gpu.go +++ b/discover/gpu.go @@ -69,8 +69,8 @@ var ( CudaComputeMajorMin = "5" CudaComputeMinorMin = "0" ) - -var RocmComputeMajorMin = "9" +//change valute from 9 to 8 would reduce realease the gfx version limits ,refer to https://github.com/likelovewant/ollama-for-amd/issues/51 +var RocmComputeMajorMin = "8" // TODO find a better way to detect iGPU instead of minimum memory const IGPUMemLimit = 1 * format.GibiByte // 512G is what they typically report, so anything less than 1G must be iGPU