1. 12 Feb, 2024 1 commit
  2. 28 Jan, 2024 2 commits
  3. 27 Jan, 2024 1 commit
  4. 26 Jan, 2024 3 commits
    • Daniel Hiltgen's avatar
      Detect lack of AVX and fallback to CPU mode · 667a2ba1
      Daniel Hiltgen authored
      We build the GPU libraries with AVX enabled to ensure that if not all
      layers fit on the GPU we get better performance in a mixed mode.
      If the user is using a virtualization/emulation system that lacks AVX
      this used to result in an illegal instruction error and crash before this
      fix.  Now we will report a warning in the server log, and just use
      CPU mode to ensure we don't crash.
      667a2ba1
    • Daniel Hiltgen's avatar
      Ignore AMD integrated GPUs · 9d7b5d6c
      Daniel Hiltgen authored
      Detect and ignore integrated GPUs reported by rocm.
      9d7b5d6c
    • Daniel Hiltgen's avatar
      Fix crash on cuda ml init failure · 5d9c4a5f
      Daniel Hiltgen authored
      The new driver lookup code was triggering after init failure due to a missing return
      5d9c4a5f
  5. 24 Jan, 2024 1 commit
    • Daniel Hiltgen's avatar
      More logging for gpu management · 013fd071
      Daniel Hiltgen authored
      Fix an ordering glitch of dlerr/dlclose and add more logging to help
      root cause some crashes users are hitting. This also refines the
      function pointer names to use the underlying function names instead
      of simplified names for readability.
      013fd071
  6. 23 Jan, 2024 1 commit
    • Daniel Hiltgen's avatar
      Report more information about GPUs in verbose mode · 987c16b2
      Daniel Hiltgen authored
      This adds additional calls to both CUDA and ROCm management libraries to
      discover additional attributes about the GPU(s) detected in the system, and
      wires up runtime verbosity selection.  When users hit problems with GPUs we can
      ask them to run with `OLLAMA_DEBUG=1 ollama serve` and share the results.
      987c16b2
  7. 20 Jan, 2024 3 commits
  8. 19 Jan, 2024 2 commits
  9. 18 Jan, 2024 1 commit
  10. 14 Jan, 2024 1 commit
  11. 11 Jan, 2024 6 commits
  12. 10 Jan, 2024 1 commit
    • Daniel Hiltgen's avatar
      Harden GPU mgmt library lookup · 3c49c3ab
      Daniel Hiltgen authored
      When there are multiple management libraries installed on a system
      not every one will be compatible with the current driver.  This change
      improves our management library algorithm to build up a set of discovered
      libraries based on glob patterns, and then try all of them until we're able to
      load one without error.
      3c49c3ab
  13. 09 Jan, 2024 10 commits
  14. 08 Jan, 2024 1 commit
  15. 07 Jan, 2024 1 commit
  16. 06 Jan, 2024 1 commit
  17. 05 Jan, 2024 1 commit
  18. 03 Jan, 2024 2 commits
  19. 02 Jan, 2024 1 commit
    • Daniel Hiltgen's avatar
      Switch windows build to fully dynamic · d966b730
      Daniel Hiltgen authored
      Refactor where we store build outputs, and support a fully dynamic loading
      model on windows so the base executable has no special dependencies thus
      doesn't require a special PATH.
      d966b730