1. 09 Apr, 2024 1 commit
    • Blake Mizerany's avatar
      build.go: introduce a friendlier way to build Ollama (#3548) · fccf3eec
      Blake Mizerany authored
      This commit introduces a more friendly way to build Ollama dependencies
      and the binary without abusing `go generate` and removing the
      unnecessary extra steps it brings with it.
      
      This script also provides nicer feedback to the user about what is
      happening during the build process.
      
      At the end, it prints a helpful message to the user about what to do
      next (e.g. run the new local Ollama).
      fccf3eec
  2. 07 Apr, 2024 1 commit
  3. 04 Apr, 2024 2 commits
  4. 01 Apr, 2024 1 commit
    • Daniel Hiltgen's avatar
      Switch back to subprocessing for llama.cpp · 58d95cc9
      Daniel Hiltgen authored
      This should resolve a number of memory leak and stability defects by allowing
      us to isolate llama.cpp in a separate process and shutdown when idle, and
      gracefully restart if it has problems.  This also serves as a first step to be
      able to run multiple copies to support multiple models concurrently.
      58d95cc9
  5. 26 Mar, 2024 1 commit
  6. 15 Mar, 2024 2 commits
  7. 12 Mar, 2024 1 commit
  8. 07 Mar, 2024 1 commit
    • Daniel Hiltgen's avatar
      Revamp ROCm support · 6c5ccb11
      Daniel Hiltgen authored
      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.
      6c5ccb11
  9. 21 Feb, 2024 1 commit
  10. 16 Feb, 2024 1 commit
  11. 15 Feb, 2024 2 commits
  12. 25 Jan, 2024 1 commit
  13. 20 Jan, 2024 2 commits
  14. 19 Jan, 2024 1 commit
  15. 17 Jan, 2024 1 commit
  16. 11 Jan, 2024 1 commit
  17. 05 Jan, 2024 1 commit
  18. 04 Jan, 2024 3 commits
  19. 02 Jan, 2024 3 commits
  20. 22 Dec, 2023 1 commit
  21. 21 Dec, 2023 1 commit
    • Daniel Hiltgen's avatar
      Revive windows build · d9cd3d96
      Daniel Hiltgen authored
      The windows native setup still needs some more work, but this gets it building
      again and if you set the PATH properly, you can run the resulting exe on a cuda system.
      d9cd3d96
  22. 19 Dec, 2023 2 commits