mirror of
https://github.com/tcsenpai/ollama.git
synced 2025-06-08 12:15:22 +00:00
Actually skip PhysX on windows
This commit is contained in:
parent
c69bc19e46
commit
aac367636d
@ -296,6 +296,7 @@ func FindGPULibs(baseLibName string, defaultPatterns []string) []string {
|
|||||||
// Nvidia PhysX known to return bogus results
|
// Nvidia PhysX known to return bogus results
|
||||||
if strings.Contains(pattern, "PhysX") {
|
if strings.Contains(pattern, "PhysX") {
|
||||||
slog.Debug("skipping PhysX cuda library path", "path", pattern)
|
slog.Debug("skipping PhysX cuda library path", "path", pattern)
|
||||||
|
continue
|
||||||
}
|
}
|
||||||
// Ignore glob discovery errors
|
// Ignore glob discovery errors
|
||||||
matches, _ := filepath.Glob(pattern)
|
matches, _ := filepath.Glob(pattern)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user