ollama/scripts
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
..
build_darwin.sh
build_docker.sh
build_linux.sh
build_windows.ps1 DRY out the runner lifecycle code (#12540) 2025-10-23 11:20:02 -07:00
env.sh
install.sh
push_docker.sh
tag_latest.sh