1. 09 Dec, 2025 4 commits
  2. 08 Dec, 2025 5 commits
  3. 06 Dec, 2025 1 commit
  4. 05 Dec, 2025 1 commit
  5. 04 Dec, 2025 7 commits
    • Jesse Gross's avatar
      9191dfaf
    • Jesse Gross's avatar
      ggml: Enable flash attention for vision encoders · 1108d8b3
      Jesse Gross authored
      Although the vision component of multimodal models typically already
      call the optimized nn.Attention, it is converted into non-fused
      operations. That is because the backend-specific fused kernels may
      have requirements, such as padding, and they is performed by the
      cache, which vision encoders don't use.
      
      This implements a fallback path in the backend, softening the
      requirements into optimizations. In turn, this allows flash attention
      to be used for vision encoders, saving a significant amount of VRAM
      and improving performance.
      1108d8b3
    • Jesse Gross's avatar
      ggml: Always set cache padding to 256 · 7837a5bc
      Jesse Gross authored
      We currently use cache padding of 32 when not using flash attention
      and 256 with flash attention, which is based on the historic alignment
      requirements of these kernels. The restrictions have since been
      loosened but there are still performance benefits, such as better
      CUDA graph reuse.
      
      Since the requirement is no longer kernel-specific, set the padding
      uniformly to 256, as llama.cpp has.
      7837a5bc
    • Patrick Devine's avatar
      convert: add deepseek converter (#12980) · 0a844f8e
      Patrick Devine authored
      This change adds the ability for `ollama create` to convert models that use
      the DeepSeek2 architecture (specifically DeepSeekV3 and DeepSeek-R1).
      0a844f8e
    • Eloi Torrents's avatar
      cmd/bench: support writing benchmark output to file (#13263) · a03223b8
      Eloi Torrents authored
      
      
      * cmd/bench: support writing benchmark output to file
      
      This changes Ollama to allow the bench command to write benchmark
      results to a user-specified output file instead of stdout when the
      --output flag is provided.
      
      ---------
      Co-authored-by: default avatarPatrick Devine <patrick@infrahq.com>
      a03223b8
    • Daniel Hiltgen's avatar
      ggml update to b7108 (#12992) · 0cf7794b
      Daniel Hiltgen authored
      * Revert "vulkan: temporary cary of vulkan fixes (#12971)"
      
      This reverts commit 3a9e8e9f.
      
      * ggml update to b7087
      
      * fix argsort on metal
      
      * update to b7108
      
      * fix bakllava regression
      
      This model lacks the metadata for the projector type.
      
      * update to b7209
      
      * fix TopK perf
      
      * only build arm code on arm
      0cf7794b
    • Jeffrey Morgan's avatar
      854d40ed
  6. 03 Dec, 2025 2 commits
    • Bruce MacDonald's avatar
      app: relay thinking false to server (#13319) · 84a2cedf
      Bruce MacDonald authored
      This fixes a bug where disabling thinking on deepseek-v3.1 did not stop the model from thinking.
      
      When thinking is not defined it should not be sent to the server since this will cause error responses in some cases where the model does not support thinking. However if it is defined as false it should still be sent.
      84a2cedf
    • Daniel Hiltgen's avatar
      CUDA: filter devices on secondary discovery (#13317) · 3f308367
      Daniel Hiltgen authored
      We now do a deeper probe of CUDA devices to verify the library version has
      the correct compute capability coverage for the device.  Due to ROCm also
      interpreting the CUDA env var to filter AMD devices, we try to avoid setting
      it which leads to problems in mixed vendor systems.  However without setting
      it for this deeper probe, each CUDA library subprocess discovers all CUDA GPUs
      and on systems with lots of GPUs, this can lead to hitting timeouts.  The fix is
      to turn on the CUDA visibility env var just for this deeper probe use-case.
      3f308367
  7. 02 Dec, 2025 7 commits
  8. 01 Dec, 2025 3 commits
    • Daniel Hiltgen's avatar
      win: warn if ggml-base detected in PATH (#13289) · 55417275
      Daniel Hiltgen authored
      If the user has somehow installed another GGML based app which places a
      ggml-base lib somewhere in their PATH, we can experience runtime problems
      due to incompatibilities.  This change adds a warning message if we detect
      a ggml-base outside of our install location to aid in troubleshooting.
      55417275
    • Bruce MacDonald's avatar
      api/client: handle non-json streaming errors (#13007) · 5b6a8e60
      Bruce MacDonald authored
      While processing the response stream during a chat or generation if an error is occurred it is parsed and returned to the user. The issue with the existing code is that this assumed the response would be valid JSON, which is not a safe assumption and caused cryptic error messages to be displayed due to parsing failures:
      `invalid character 'i' looking for beginning of value`
      
      This change updates the stream function to return the raw error string if it cant be parsed as JSON. This should help with debugging issues by making sure the actual error reaches the user.
      5b6a8e60
    • Daniel Hiltgen's avatar
      jetpack: require exact match or skip cuda_jetpack* (#13288) · 467bbc0d
      Daniel Hiltgen authored
      The cuda_jetpack libs will enumerate discrete GPUs on SBSA systems
      which leads to runtime failures of missing kernels.  This fix
      requires an exact match to enable jetpacks instead of relying on
      enumeration to filter out supported libraries.
      467bbc0d
  9. 30 Nov, 2025 1 commit
  10. 29 Nov, 2025 1 commit
  11. 26 Nov, 2025 1 commit
  12. 20 Nov, 2025 6 commits
  13. 19 Nov, 2025 1 commit