mirror of
https://github.com/ollama/ollama.git
synced 2026-04-26 18:55:53 +02:00
making amdgpu work on arm achitecutre with vulkan
This commit is contained in:
@@ -410,7 +410,7 @@ func GetGPUInfo() GpuInfoList {
|
||||
|
||||
rocmGPUs = AMDGetGPUInfo()
|
||||
bootstrapped = true
|
||||
if len(cudaGPUs) == 0 && len(rocmGPUs) == 0 && len(oneapiGPUs) == 0 {
|
||||
if len(cudaGPUs) == 0 && len(rocmGPUs) == 0 && len(oneapiGPUs) == 0 && len(vulkanGPUs) == 0 {
|
||||
slog.Info("no compatible GPUs were discovered")
|
||||
}
|
||||
}
|
||||
|
||||
@@ -53,12 +53,12 @@ var (
|
||||
)
|
||||
|
||||
var VulkanGlobs = []string{
|
||||
"/usr/lib/x86_64-linux-gnu/libvulkan.so*",
|
||||
"/usr/lib/aarch64-linux-gnu/libvulkan.so*",
|
||||
"/usr/lib*/libvulkan.so*",
|
||||
}
|
||||
|
||||
var capLinuxGlobs = []string{
|
||||
"/usr/lib/x86_64-linux-gnu/libcap.so*",
|
||||
"/usr/lib/aarch64-linux-gnu/libcap.so*",
|
||||
"/usr/lib*/libcap.so*",
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user