ollama/llm
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
..
llm_darwin.go Optimize container images for startup (#6547) 2024-09-12 12:10:30 -07:00
llm_linux.go Optimize container images for startup (#6547) 2024-09-12 12:10:30 -07:00
llm_windows.go win: lint fix (#10571) 2025-05-05 11:08:12 -07:00
memory_test.go DRY out the runner lifecycle code (#12540) 2025-10-23 11:20:02 -07:00
memory.go DRY out the runner lifecycle code (#12540) 2025-10-23 11:20:02 -07:00
server_test.go DRY out the runner lifecycle code (#12540) 2025-10-23 11:20:02 -07:00
server.go DRY out the runner lifecycle code (#12540) 2025-10-23 11:20:02 -07:00
status.go Improve crash reporting (#7728) 2024-11-19 16:26:57 -08:00