1. 12 Sep, 2024 2 commits
    • Daniel Hiltgen's avatar
      Use GOARCH for build dirs (#6779) · fda0d3be
      Daniel Hiltgen authored
      Corrects x86_64 vs amd64 discrepancy
      fda0d3be
    • Daniel Hiltgen's avatar
      Optimize container images for startup (#6547) · cd5c8f64
      Daniel Hiltgen authored
      * Optimize container images for startup
      
      This change adjusts how to handle runner payloads to support
      container builds where we keep them extracted in the filesystem.
      This makes it easier to optimize the cpu/cuda vs cpu/rocm images for
      size, and should result in faster startup times for container images.
      
      * Refactor payload logic and add buildx support for faster builds
      
      * Move payloads around
      
      * Review comments
      
      * Converge to buildx based helper scripts
      
      * Use docker buildx action for release
      cd5c8f64
  2. 23 Aug, 2024 1 commit
  3. 20 Aug, 2024 1 commit
    • Daniel Hiltgen's avatar
      Split rocm back out of bundle (#6432) · a017cf2f
      Daniel Hiltgen authored
      We're over budget for github's maximum release artifact size with rocm + 2 cuda
      versions.  This splits rocm back out as a discrete artifact, but keeps the layout so it can
      be extracted into the same location as the main bundle.
      a017cf2f
  4. 19 Aug, 2024 4 commits
  5. 11 Jul, 2024 1 commit
  6. 10 Jul, 2024 1 commit
  7. 08 Jul, 2024 1 commit
  8. 06 Jul, 2024 2 commits
  9. 05 Jul, 2024 1 commit
  10. 17 Jun, 2024 2 commits
  11. 07 Jun, 2024 1 commit
  12. 24 May, 2024 1 commit
  13. 15 May, 2024 1 commit
  14. 25 Apr, 2024 1 commit
  15. 18 Apr, 2024 1 commit
    • Jeremy's avatar
      Update gen_linux.sh · 440b7190
      Jeremy authored
      Added OLLAMA_CUSTOM_CUDA_DEFS and OLLAMA_CUSTOM_ROCM_DEFS instead of OLLAMA_CUSTOM_GPU_DEFS
      440b7190
  16. 17 Apr, 2024 4 commits
  17. 09 Apr, 2024 2 commits
  18. 07 Apr, 2024 1 commit
  19. 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
  20. 25 Mar, 2024 1 commit
  21. 15 Mar, 2024 1 commit
  22. 11 Mar, 2024 1 commit
  23. 10 Mar, 2024 1 commit
  24. 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
  25. 12 Feb, 2024 1 commit
  26. 25 Jan, 2024 1 commit
  27. 21 Jan, 2024 1 commit
  28. 20 Jan, 2024 2 commits
  29. 17 Jan, 2024 1 commit