[PR #221] [MERGED] embed ggml-metal.metal #56743

Closed
opened 2026-04-29 11:18:36 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/221
Author: @mxyng
Created: 7/26/2023
Status: Merged
Merged: 7/28/2023
Merged by: @mxyng

Base: mainHead: embed-metal


📝 Commits (1)

📊 Changes

3 files changed (+57 additions, -1 deletions)

View changed files

ggml-metal.metal (+0 -1)
📝 llama/llama.go (+4 -0)
llama/llama_darwin.go (+53 -0)

📄 Description

go:embed ggml-metal.metal and write it out to the right location on init() so llama.cpp can use it.

with this change, ollama is serveable using go run . serve or go install . && ~/go/bin/ollama serve

resolves #48


🔄 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/221 **Author:** [@mxyng](https://github.com/mxyng) **Created:** 7/26/2023 **Status:** ✅ Merged **Merged:** 7/28/2023 **Merged by:** [@mxyng](https://github.com/mxyng) **Base:** `main` ← **Head:** `embed-metal` --- ### 📝 Commits (1) - [`3549676`](https://github.com/ollama/ollama/commit/354967667840a65ff07873fb90b146bd543f8ce4) embed ggml-metal.metal ### 📊 Changes **3 files changed** (+57 additions, -1 deletions) <details> <summary>View changed files</summary> ➖ `ggml-metal.metal` (+0 -1) 📝 `llama/llama.go` (+4 -0) ➕ `llama/llama_darwin.go` (+53 -0) </details> ### 📄 Description `go:embed ggml-metal.metal` and write it out to the right location on `init()` so llama.cpp can use it. with this change, `ollama` is serveable using `go run . serve` or `go install . && ~/go/bin/ollama serve` resolves #48 --- <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 11:18:36 -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#56743