1. 03 Oct, 2025 2 commits
  2. 02 Oct, 2025 1 commit
  3. 11 Sep, 2025 1 commit
  4. 10 Sep, 2025 1 commit
    • Daniel Hiltgen's avatar
      Add v12 + v13 cuda support (#12000) · 17a023f3
      Daniel Hiltgen authored
      * Add support for upcoming NVIDIA Jetsons
      
      The latest Jetsons with JetPack 7 are moving to an SBSA compatible model and
      will not require building a JetPack specific variant.
      
      * cuda: bring back dual versions
      
      This adds back dual CUDA versions for our releases,
      with v11 and v13 to cover a broad set of GPUs and
      driver versions.
      
      * win: break up native builds in build_windows.ps1
      
      * v11 build working on windows and linux
      
      * switch to cuda v12.8 not JIT
      
      * Set CUDA compression to size
      
      * enhance manual install linux docs
      17a023f3
  5. 30 Jul, 2025 1 commit
  6. 29 Jul, 2025 1 commit
  7. 17 Jul, 2025 1 commit
  8. 07 Jul, 2025 1 commit
  9. 26 Jun, 2025 1 commit
  10. 25 Jun, 2025 4 commits
  11. 24 Jun, 2025 2 commits
  12. 23 Jun, 2025 1 commit
    • Daniel Hiltgen's avatar
      Re-remove cuda v11 (#10694) · 1c6669e6
      Daniel Hiltgen authored
      * Re-remove cuda v11
      
      Revert the revert - drop v11 support requiring drivers newer than Feb 23
      
      This reverts commit c6bcdc42.
      
      * Simplify layout
      
      With only one version of the GPU libraries, we can simplify things down somewhat.  (Jetsons still require special handling)
      
      * distinct sbsa variant for linux arm64
      
      This avoids accidentally trying to load the sbsa cuda libraries on
      a jetson system which results in crashes.
      
      * temporary prevent rocm+cuda mixed loading
      1c6669e6
  13. 13 May, 2025 1 commit
  14. 07 May, 2025 2 commits
  15. 25 Feb, 2025 1 commit
  16. 20 Feb, 2025 1 commit
    • Michael Yang's avatar
      ci: use clang for windows cpu builds · ba9ec3d0
      Michael Yang authored
      clang outputs are faster. we were previously building with clang via gcc
      wrapper in cgo but this was missed during the build updates so there was
      a drop in performance
      ba9ec3d0
  17. 18 Feb, 2025 1 commit
    • Michael Yang's avatar
      ci: set owner/group in tarball · 7b5d916a
      Michael Yang authored
      set owner and group when building the linux tarball so extracted files
      are consistent. this is the behaviour of release tarballs in version
      0.5.7 and lower
      7b5d916a
  18. 08 Feb, 2025 1 commit
    • Michael Yang's avatar
      ci: use windows-2022 to sign and bundle (#8941) · 1f766c36
      Michael Yang authored
      ollama requires vcruntime140_1.dll which isn't found on 2019. previously
      the job used the windows runner (2019) but it explicitly installs
      2022 to build the app. since the sign job doesn't actually build
      anything, it can use the windows-2022 runner instead.
      1f766c36
  19. 06 Feb, 2025 1 commit
    • Michael Yang's avatar
      ci: fix linux archive (#8862) · 1c198977
      Michael Yang authored
      the find returns intermediate directories which pulls the parent
      directories. it also omits files under lib/ollama.
      
      switch back to globbing
      1c198977
  20. 05 Feb, 2025 2 commits
  21. 04 Feb, 2025 2 commits
  22. 03 Feb, 2025 2 commits
  23. 31 Jan, 2025 2 commits
  24. 30 Jan, 2025 1 commit
  25. 29 Jan, 2025 1 commit
    • Michael Yang's avatar
      next build (#8539) · dcfb7a10
      Michael Yang authored
      
      
      * add build to .dockerignore
      
      * test: only build one arch
      
      * add build to .gitignore
      
      * fix ccache path
      
      * filter amdgpu targets
      
      * only filter if autodetecting
      
      * Don't clobber gpu list for default runner
      
      This ensures the GPU specific environment variables are set properly
      
      * explicitly set CXX compiler for HIP
      
      * Update build_windows.ps1
      
      This isn't complete, but is close.  Dependencies are missing, and it only builds the "default" preset.
      
      * build: add ollama subdir
      
      * add .git to .dockerignore
      
      * docs: update development.md
      
      * update build_darwin.sh
      
      * remove unused scripts
      
      * llm: add cwd and build/lib/ollama to library paths
      
      * default DYLD_LIBRARY_PATH to LD_LIBRARY_PATH in runner on macOS
      
      * add additional cmake output vars for msvc
      
      * interim edits to make server detection logic work with dll directories like lib/ollama/cuda_v12
      
      * remove unncessary filepath.Dir, cleanup
      
      * add hardware-specific directory to path
      
      * use absolute server path
      
      * build: linux arm
      
      * cmake install targets
      
      * remove unused files
      
      * ml: visit each library path once
      
      * build: skip cpu variants on arm
      
      * build: install cpu targets
      
      * build: fix workflow
      
      * shorter names
      
      * fix rocblas install
      
      * docs: clean up development.md
      
      * consistent build dir removal in development.md
      
      * silence -Wimplicit-function-declaration build warnings in ggml-cpu
      
      * update readme
      
      * update development readme
      
      * llm: update library lookup logic now that there is one runner (#8587)
      
      * tweak development.md
      
      * update docs
      
      * add windows cuda/rocm tests
      
      ---------
      Co-authored-by: default avatarjmorganca <jmorganca@gmail.com>
      Co-authored-by: default avatarDaniel Hiltgen <daniel@ollama.com>
      dcfb7a10
  26. 11 Dec, 2024 2 commits
  27. 10 Dec, 2024 1 commit
    • Daniel Hiltgen's avatar
      build: Make target improvements (#7499) · 4879a234
      Daniel Hiltgen authored
      * llama: wire up builtin runner
      
      This adds a new entrypoint into the ollama CLI to run the cgo built runner.
      On Mac arm64, this will have GPU support, but on all other platforms it will
      be the lowest common denominator CPU build.  After we fully transition
      to the new Go runners more tech-debt can be removed and we can stop building
      the "default" runner via make and rely on the builtin always.
      
      * build: Make target improvements
      
      Add a few new targets and help for building locally.
      This also adjusts the runner lookup to favor local builds, then
      runners relative to the executable, and finally payloads.
      
      * Support customized CPU flags for runners
      
      This implements a simplified custom CPU flags pattern for the runners.
      When built without overrides, the runner name contains the vector flag
      we check for (AVX) to ensure we don't try to run on unsupported systems
      and crash.  If the user builds a customized set, we omit the naming
      scheme and don't check for compatibility.  This avoids checking
      requirements at runtime, so that logic has been removed as well.  This
      can be used to build GPU runners with no vector flags, or CPU/GPU
      runners with additional flags (e.g. AVX512) enabled.
      
      * Use relative paths
      
      If the user checks out the repo in a path that contains spaces, make gets
      really confused so use relative paths for everything in-repo to avoid breakage.
      
      * Remove payloads from main binary
      
      * install: clean up prior libraries
      
      This removes support for v0.3.6 and older versions (before the tar bundle)
      and ensures we clean up prior libraries before extracting the bundle(s).
      Without this change, runners and dependent libraries could leak when we
      update and lead to subtle runtime errors.
      4879a234
  28. 04 Nov, 2024 2 commits