ollama/discover
Daniel Hiltgen bd15eba4e4
Bring back escape valve for llm libraries and fix Jetpack6 crash (#12529)
* Bring back escape valve for llm libraries

If the new discovery logic picks the wrong library, this gives users the
ability to force a specific one using the same pattern as before. This
can also potentially speed up bootstrap discovery if one of the libraries
takes a long time to load and ultimately bind to no devices.  For example
unsupported AMD iGPUS can sometimes take a while to discover and rule out.

* Bypass extra discovery on jetpack systems

On at least Jetpack6, cuda_v12 appears to expose the iGPU, but crashes later on in
cublasInit so if we detect a Jetpack, short-circuit and use that variant.
2025-10-07 16:06:14 -07:00
..
cpu_linux.go Use runners for GPU discovery (#12090) 2025-10-01 15:12:32 -07:00
cpu_linux_test.go Use runners for GPU discovery (#12090) 2025-10-01 15:12:32 -07:00
cpu_windows.go Use runners for GPU discovery (#12090) 2025-10-01 15:12:32 -07:00
cpu_windows_test.go Use runners for GPU discovery (#12090) 2025-10-01 15:12:32 -07:00
gpu.go Bring back escape valve for llm libraries and fix Jetpack6 crash (#12529) 2025-10-07 16:06:14 -07:00
gpu_darwin.go Use runners for GPU discovery (#12090) 2025-10-01 15:12:32 -07:00
gpu_info_darwin.h Rename gpu package discover (#7143) 2024-10-16 17:45:00 -07:00
gpu_info_darwin.m Rename gpu package discover (#7143) 2024-10-16 17:45:00 -07:00
path.go Re-remove cuda v11 (#10694) 2025-06-23 14:07:00 -07:00
runner.go Bring back escape valve for llm libraries and fix Jetpack6 crash (#12529) 2025-10-07 16:06:14 -07:00
runner_test.go Use runners for GPU discovery (#12090) 2025-10-01 15:12:32 -07:00
types.go Use runners for GPU discovery (#12090) 2025-10-01 15:12:32 -07:00