[PR #15603] fix: correct error message for Metal shader compilation failure #61922

Open
opened 2026-04-29 16:54:13 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/15603
Author: @ooaaooaa123
Created: 4/15/2026
Status: 🔄 Open

Base: mainHead: clawoss/fix/metal-shader-error-message


📝 Commits (1)

  • 459bc63 fix: correct error message for Metal shader compilation failure

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 ml/backend/ggml/ggml/src/ggml-metal/ggml-metal-device.m (+1 -1)

📄 Description

The error message 'failed to create library' is misleading for the Metal shader compilation failure (MTLLibraryErrorDomain Code=3). Fix the error message to correctly describe the issue. Fixes #15599.


🔄 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/15603 **Author:** [@ooaaooaa123](https://github.com/ooaaooaa123) **Created:** 4/15/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `clawoss/fix/metal-shader-error-message` --- ### 📝 Commits (1) - [`459bc63`](https://github.com/ollama/ollama/commit/459bc630723bf0ab66bb2b1c85b6d907300e664f) fix: correct error message for Metal shader compilation failure ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `ml/backend/ggml/ggml/src/ggml-metal/ggml-metal-device.m` (+1 -1) </details> ### 📄 Description The error message 'failed to create library' is misleading for the Metal shader compilation failure (MTLLibraryErrorDomain Code=3). Fix the error message to correctly describe the issue. Fixes #15599. --- <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-04-29 16:54:13 -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#61922