Merge pull request #3391 from ollama/mxyng-patch-1

This commit is contained in:
Michael Yang 2024-03-28 13:15:56 -07:00 committed by GitHub
commit 9c6a254945
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -113,7 +113,7 @@ func AMDGetGPUInfo(resp *GpuInfo) {
if !slices.Contains[[]string, string](supported, v.ToGFXString()) { if !slices.Contains[[]string, string](supported, v.ToGFXString()) {
slog.Warn(fmt.Sprintf("amdgpu [%d] %s is not supported by %s %v", i, v.ToGFXString(), libDir, supported)) slog.Warn(fmt.Sprintf("amdgpu [%d] %s is not supported by %s %v", i, v.ToGFXString(), libDir, supported))
// TODO - consider discrete markdown just for ROCM troubleshooting? // TODO - consider discrete markdown just for ROCM troubleshooting?
slog.Warn("See https://github.com/ollama/ollama/blob/main/docs/troubleshooting.md for HSA_OVERRIDE_GFX_VERSION usage") slog.Warn("See https://github.com/ollama/ollama/blob/main/docs/gpu.md#overrides for HSA_OVERRIDE_GFX_VERSION usage")
skip[i] = struct{}{} skip[i] = struct{}{}
} else { } else {
slog.Info(fmt.Sprintf("amdgpu [%d] %s is supported", i, v.ToGFXString())) slog.Info(fmt.Sprintf("amdgpu [%d] %s is supported", i, v.ToGFXString()))