Skip to content

Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.

Skip PhysX cudart library

Daniel Hiltgenb1ad3a43cb58
diff --git a/gpu/gpu.go b/gpu/gpu.go
index 9b9150155..73dbe2759 100644
--- a/gpu/gpu.go
+++ b/gpu/gpu.go
@@ -220,6 +220,11 @@ func FindGPULibs(baseLibName string, patterns []string) []string {
}
slog.Debug("gpu library search", "globs", patterns)
for _, pattern := range patterns {
+
+ // Nvidia PhysX known to return bogus results
+ if strings.Contains(pattern, "PhysX") {
+ slog.Debug("skipping PhysX cuda library path", "path", pattern)
+ }
// Ignore glob discovery errors
matches, _ := filepath.Glob(pattern)
for _, match := range matches {