1. 14 Apr, 2024 1 commit
  2. 10 Apr, 2024 1 commit
  3. 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
  4. 26 Mar, 2024 1 commit
  5. 13 Mar, 2024 1 commit
  6. 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
  7. 27 Feb, 2024 1 commit
  8. 25 Feb, 2024 1 commit
  9. 23 Feb, 2024 1 commit
  10. 22 Feb, 2024 1 commit
  11. 21 Feb, 2024 1 commit
  12. 20 Feb, 2024 1 commit
  13. 16 Feb, 2024 2 commits
  14. 15 Feb, 2024 15 commits
  15. 19 Oct, 2023 1 commit
  16. 13 Oct, 2023 3 commits
  17. 28 Sep, 2023 1 commit
  18. 31 Aug, 2023 1 commit
  19. 30 Aug, 2023 1 commit
    • Bruce MacDonald's avatar
      subprocess llama.cpp server (#401) · 42998d79
      Bruce MacDonald authored
      * remove c code
      * pack llama.cpp
      * use request context for llama_cpp
      * let llama_cpp decide the number of threads to use
      * stop llama runner when app stops
      * remove sample count and duration metrics
      * use go generate to get libraries
      * tmp dir for running llm
      42998d79
  20. 18 Aug, 2023 1 commit
  21. 10 Aug, 2023 2 commits
  22. 02 Aug, 2023 1 commit