Revert "remove cuda v11 (#10569)" (#10692)

Bring back v11 until we can better warn users that their driver
is too old.

This reverts commit fa393554b9.
This commit is contained in:
Daniel Hiltgen
2025-05-13 13:12:54 -07:00
committed by GitHub
parent 4b903f088a
commit c6bcdc4223
11 changed files with 58 additions and 11 deletions

View File

@@ -12,7 +12,7 @@ import (
// '../lib/ollama' on Linux and the executable's directory on macOS
// note: distribution builds, additional GPU-specific libraries are
// found in subdirectories of the returned path, such as
// 'cuda_v12', 'rocm', etc.
// 'cuda_v11', 'cuda_v12', 'rocm', etc.
var LibOllamaPath string = func() string {
exe, err := os.Executable()
if err != nil {