Skip to content

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

jetpack: require exact match or skip cuda_jetpack* (#13288)

Daniel Hiltgen467bbc0dd5a0
diff --git a/discover/runner.go b/discover/runner.go
index 0915594dc..fcac0225f 100644
--- a/discover/runner.go
+++ b/discover/runner.go
@@ -98,6 +98,9 @@ func GPUDevices(ctx context.Context, runners []ml.FilteredRunnerDiscovery) []ml.
continue
} else if jetpack != "" && filepath.Base(dir) != "cuda_"+jetpack {
continue
+ } else if jetpack == "" && strings.Contains(filepath.Base(dir), "cuda_jetpack") {
+ slog.Debug("jetpack not detected (set JETSON_JETPACK or OLLAMA_LLM_LIBRARY to override), skipping", "libDir", dir)
+ continue
} else if !envconfig.EnableVulkan() && strings.Contains(filepath.Base(dir), "vulkan") {
slog.Info("experimental Vulkan support disabled. To enable, set OLLAMA_VULKAN=1")
continue