ollama/llama/patches
Daniel Hiltgen ec29ce4ce3
gemma4: fix compiler error on metal (#15550)
On some systems, the metal runtime compiler is failing due to an
uninitialized variable from #15378.

Fixes #15548
2026-04-13 11:32:00 -07:00
..
.gitignore update vendored llama.cpp and ggml (#11823) 2025-08-14 14:42:58 -07:00
0001-ggml-backend-malloc-and-free-using-the-same-compiler.patch Revert "Update vendored llama.cpp to b7847" (#14061) 2026-02-03 18:39:36 -08:00
0002-pretokenizer.patch Revert "Update vendored llama.cpp to b7847" (#14061) 2026-02-03 18:39:36 -08:00
0003-clip-unicode.patch Revert "Update vendored llama.cpp to b7847" (#14061) 2026-02-03 18:39:36 -08:00
0004-solar-pro.patch Revert "Update vendored llama.cpp to b7847" (#14061) 2026-02-03 18:39:36 -08:00
0005-fix-deepseek-deseret-regex.patch Revert "Update vendored llama.cpp to b7847" (#14061) 2026-02-03 18:39:36 -08:00
0006-maintain-ordering-for-rules-for-grammar.patch GGML update to ec98e2002 (#13451) 2025-12-17 13:13:55 -08:00
0007-sort-devices-by-score.patch Revert "Update vendored llama.cpp to b7847" (#14061) 2026-02-03 18:39:36 -08:00
0008-add-phony-target-ggml-cpu-for-all-cpu-variants.patch Revert "Update vendored llama.cpp to b7847" (#14061) 2026-02-03 18:39:36 -08:00
0009-remove-amx.patch Revert "Update vendored llama.cpp to b7847" (#14061) 2026-02-03 18:39:36 -08:00
0010-fix-string-arr-kv-loading.patch Revert "Update vendored llama.cpp to b7847" (#14061) 2026-02-03 18:39:36 -08:00
0011-ollama-debug-tensor.patch Revert "Update vendored llama.cpp to b7847" (#14061) 2026-02-03 18:39:36 -08:00
0012-add-ollama-vocab-for-grammar-support.patch Revert "Update vendored llama.cpp to b7847" (#14061) 2026-02-03 18:39:36 -08:00
0013-add-argsort-and-cuda-copy-for-i32.patch Revert "Update vendored llama.cpp to b7847" (#14061) 2026-02-03 18:39:36 -08:00
0014-graph-memory-reporting-on-failure.patch Revert "Update vendored llama.cpp to b7847" (#14061) 2026-02-03 18:39:36 -08:00
0015-ggml-Export-GPU-UUIDs.patch Revert "Update vendored llama.cpp to b7847" (#14061) 2026-02-03 18:39:36 -08:00
0016-add-C-API-for-mtmd_input_text.patch Revert "Update vendored llama.cpp to b7847" (#14061) 2026-02-03 18:39:36 -08:00
0017-no-power-throttling-win32-with-gnuc.patch Revert "Update vendored llama.cpp to b7847" (#14061) 2026-02-03 18:39:36 -08:00
0018-ggml-Add-batch-size-hint.patch Revert "Update vendored llama.cpp to b7847" (#14061) 2026-02-03 18:39:36 -08:00
0019-fix-mtmd-audio.cpp-build-on-windows.patch Revert "Update vendored llama.cpp to b7847" (#14061) 2026-02-03 18:39:36 -08:00
0020-ggml-No-alloc-mode.patch gemma4: enable flash attention (#15378) 2026-04-07 08:12:36 -07:00
0021-decode-disable-output_all.patch Revert "Update vendored llama.cpp to b7847" (#14061) 2026-02-03 18:39:36 -08:00
0022-ggml-Enable-resetting-backend-devices.patch gemma4: enable flash attention (#15378) 2026-04-07 08:12:36 -07:00
0023-harden-uncaught-exception-registration.patch Remove unnecessary MacOs 13 and lower Patches (#12656) 2025-11-06 15:52:56 -08:00
0024-GPU-discovery-enhancements.patch gemma4: enable flash attention (#15378) 2026-04-07 08:12:36 -07:00
0025-NVML-fallback-for-unified-memory-GPUs.patch Revert "Update vendored llama.cpp to b7847" (#14061) 2026-02-03 18:39:36 -08:00
0026-report-LoadLibrary-failures.patch Revert "Update vendored llama.cpp to b7847" (#14061) 2026-02-03 18:39:36 -08:00
0027-interleave-multi-rope.patch gemma4: fix compiler error on metal (#15550) 2026-04-13 11:32:00 -07:00
0028-Add-memory-detection-using-DXGI-PDH.patch Revert "Update vendored llama.cpp to b7847" (#14061) 2026-02-03 18:39:36 -08:00
0029-ggml-cuda-skip-large-batches.patch Revert "Update vendored llama.cpp to b7847" (#14061) 2026-02-03 18:39:36 -08:00
0030-fix-bakllava-regression.patch Revert "Update vendored llama.cpp to b7847" (#14061) 2026-02-03 18:39:36 -08:00
0031-win-exit-instead-of-abort.patch Revert "Update vendored llama.cpp to b7847" (#14061) 2026-02-03 18:39:36 -08:00
0032-ggml-enable-MLA-flash-attention-for-GLM-4.7-flash.patch gemma4: fix compiler error on metal (#15550) 2026-04-13 11:32:00 -07:00
0033-ggml-metal-solve_tri.patch gemma4: fix compiler error on metal (#15550) 2026-04-13 11:32:00 -07:00
0034-ggml-metal-guard-mul_mat_id-map0-and-add-ne20-22-spe.patch gemma4: fix compiler error on metal (#15550) 2026-04-13 11:32:00 -07:00
0035-CUDA-get_rows-q6_k-support.patch Add support for gemma4 (#15214) 2026-04-02 11:33:33 -07:00
0036-backport-kernels-for-gemma4.patch gemma4: fix compiler error on metal (#15550) 2026-04-13 11:32:00 -07:00