return"",fmt.Errorf("failed to create empty rocm dir %s %w",rocmTargetDir,err)
}
// If we still haven't found a usable rocm, the user will have to download it on their own
// If we still haven't found a usable rocm, the user will have to install it on their own
slog.Warn("amdgpu detected, but no compatible rocm library found. Either install rocm v6, or run the following")
slog.Warn("amdgpu detected, but no compatible rocm library found. Either install rocm v6, or follow manual install instructions at https://github.com/ollama/ollama/blob/main/docs/linux.md#manual-install")