[PR #11585] [MERGED] mac: disable bf16 on unsupported OS versions #75884

Closed
opened 2026-05-05 08:18:29 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/11585
Author: @dhiltgen
Created: 7/30/2025
Status: Merged
Merged: 7/30/2025
Merged by: @dhiltgen

Base: mainHead: mac_bf16


📝 Commits (1)

  • c0837a7 mac: disable bf16 on unsupported OS versions

📊 Changes

3 files changed (+34 additions, -3 deletions)

View changed files

📝 llama/patches/0019-metal-add-mean-kernel-14267.patch (+2 -2)
llama/patches/0022-BF16-macos-version-guard.patch (+27 -0)
📝 ml/backend/ggml/ggml/src/ggml-metal/ggml-metal.m (+5 -1)

📄 Description

Support for bf16 was added in MacOS v14+ and attempting to enable on older versions causes runtime failures.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/11585 **Author:** [@dhiltgen](https://github.com/dhiltgen) **Created:** 7/30/2025 **Status:** ✅ Merged **Merged:** 7/30/2025 **Merged by:** [@dhiltgen](https://github.com/dhiltgen) **Base:** `main` ← **Head:** `mac_bf16` --- ### 📝 Commits (1) - [`c0837a7`](https://github.com/ollama/ollama/commit/c0837a704b6ecaeab5f57f42266b2aeac3b931e3) mac: disable bf16 on unsupported OS versions ### 📊 Changes **3 files changed** (+34 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `llama/patches/0019-metal-add-mean-kernel-14267.patch` (+2 -2) ➕ `llama/patches/0022-BF16-macos-version-guard.patch` (+27 -0) 📝 `ml/backend/ggml/ggml/src/ggml-metal/ggml-metal.m` (+5 -1) </details> ### 📄 Description Support for bf16 was added in MacOS v14+ and attempting to enable on older versions causes runtime failures. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-05-05 08:18:29 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#75884