ollama/discover
Daniel Hiltgen 27f1fde413
discovery: only retry AMD GPUs (#12894)
* discovery: only retry AMD GPUs

CUDA and Vulkan don't crash on unsupported devices, so retry isn't necessary.
This also refactors the code to shift the Library specific logic into the ml
package.

* review comments
2025-11-04 15:33:46 -08:00
..
cpu_linux.go Use runners for GPU discovery (#12090) 2025-10-01 15:12:32 -07:00
cpu_linux_test.go DRY out the runner lifecycle code (#12540) 2025-10-23 11:20:02 -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 DRY out the runner lifecycle code (#12540) 2025-10-23 11:20:02 -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
runner.go discovery: only retry AMD GPUs (#12894) 2025-11-04 15:33:46 -08:00
runner_test.go app: add code for macOS and Windows apps under 'app' (#12933) 2025-11-04 11:40:17 -08:00
types.go discovery: only retry AMD GPUs (#12894) 2025-11-04 15:33:46 -08:00