[PR #9090] [CLOSED] ml/backend/ggml: optionally evaluate os.Executable() symlinks #59554

Closed
opened 2026-04-29 14:29:04 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/9090
Author: @jmorganca
Created: 2/14/2025
Status: Closed

Base: mainHead: jmorganca/add-missing-symlink-eval


📝 Commits (1)

  • fba7f04 ml/backend/ggml: optionally evaluate os.Executable() symlinks

📊 Changes

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

View changed files

📝 ml/backend/ggml/ggml/src/ggml.go (+4 -0)

📄 Description

For Intel macOS hosts, optionally evaluate symlinks to os.Executable ahead of loading backends, fixing issues where 'ollama' is a symlink and is run manually in the command line. This may not be required as the ggml package would not be run via a symlink.


🔄 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/9090 **Author:** [@jmorganca](https://github.com/jmorganca) **Created:** 2/14/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `jmorganca/add-missing-symlink-eval` --- ### 📝 Commits (1) - [`fba7f04`](https://github.com/ollama/ollama/commit/fba7f04ca01fb03fa7a55e22b0533b6e93325d77) ml/backend/ggml: optionally evaluate os.Executable() symlinks ### 📊 Changes **1 file changed** (+4 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `ml/backend/ggml/ggml/src/ggml.go` (+4 -0) </details> ### 📄 Description For Intel macOS hosts, optionally evaluate symlinks to os.Executable ahead of loading backends, fixing issues where 'ollama' is a symlink and is run manually in the command line. This may not be required as the `ggml` package would not be run via a symlink. --- <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 14:29:04 -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#59554