ollama/discover
Daniel Hiltgen 3258a89b6e
DRY out the runner lifecycle code (#12540)
* DRY out the runner lifecycle code

Now that discovery uses the runners as well, this unifies the runner spawning code
into a single place.  This also unifies GPU discovery types with the newer ml.DeviceInfo

* win: make incremental builds better

Place build artifacts in discrete directories so incremental builds don't have to start fresh

* Adjust sort order to consider iGPUs

* handle cpu inference oom scenarios

* review comments
2025-10-23 11:20:02 -07:00
..
cpu_linux_test.go DRY out the runner lifecycle code (#12540) 2025-10-23 11:20:02 -07:00
cpu_linux.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
cpu_windows.go Use runners for GPU discovery (#12090) 2025-10-01 15:12:32 -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
gpu.go DRY out the runner lifecycle code (#12540) 2025-10-23 11:20:02 -07:00
path.go Re-remove cuda v11 (#10694) 2025-06-23 14:07:00 -07:00
runner_test.go Use runners for GPU discovery (#12090) 2025-10-01 15:12:32 -07:00
runner.go DRY out the runner lifecycle code (#12540) 2025-10-23 11:20:02 -07:00
types.go DRY out the runner lifecycle code (#12540) 2025-10-23 11:20:02 -07:00