ollama/scripts
Daniel Hiltgen 6c5ccb11f9 Revamp ROCm support
This refines where we extract the LLM libraries to by adding a new
OLLAMA_HOME env var, that defaults to `~/.ollama` The logic was already
idempotenent, so this should speed up startups after the first time a
new release is deployed.  It also cleans up after itself.

We now build only a single ROCm version (latest major) on both windows
and linux.  Given the large size of ROCms tensor files, we split the
dependency out.  It's bundled into the installer on windows, and a
separate download on windows.  The linux install script is now smart and
detects the presence of AMD GPUs and looks to see if rocm v6 is already
present, and if not, then downloads our dependency tar file.

For Linux discovery, we now use sysfs and check each GPU against what
ROCm supports so we can degrade to CPU gracefully instead of having
llama.cpp+rocm assert/crash on us.  For Windows, we now use go's windows
dynamic library loading logic to access the amdhip64.dll APIs to query
the GPU information.
2024-03-07 10:36:50 -08:00
..
build.sh update build_darwin.sh 2023-09-29 11:29:23 -07:00
build_darwin.sh Move Mac App to a new dir 2024-02-15 05:56:45 +00:00
build_docker.sh Refine container image build script 2024-02-26 17:26:49 -08:00
build_linux.sh Revamp ROCm support 2024-03-07 10:36:50 -08:00
build_remote.py Implement new Go based Desktop app 2024-02-15 05:56:45 +00:00
build_windows.ps1 restore windows build flags and compression 2024-02-22 18:07:18 -05:00
install.sh Add ollama user to video group 2024-02-29 08:50:10 -08:00
publish.sh darwin build script 2023-07-28 12:23:27 -07:00
push_docker.sh use docker build in build scripts 2024-01-02 19:32:54 -05:00
rh_linux_deps.sh use gzip for runner embedding (#2067) 2024-01-19 13:23:03 -05:00
setup_integration_tests.sh Guard integration tests with a tag 2023-12-22 16:33:27 -08:00