[PR #7140] [CLOSED] llama: cgo ggml #12325

Closed
opened 2026-04-12 23:55:30 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/7140
Author: @dhiltgen
Created: 10/8/2024
Status: Closed

Base: mainHead: ggml_cgo


📝 Commits (2)

  • f2ee09d llama: Wire up some of the ggml APIs for tensors
  • e9e0744 remove cgo wrappers for ggml APIs we aren't likely to need

📊 Changes

2 files changed (+1066 additions, -0 deletions)

View changed files

llama/ggml.go (+977 -0)
llama/ggml_test.go (+89 -0)

📄 Description

This builds a ~minimal cgo wrapper on ggml APIs.

Replaces #7103 on main


🔄 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/7140 **Author:** [@dhiltgen](https://github.com/dhiltgen) **Created:** 10/8/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `ggml_cgo` --- ### 📝 Commits (2) - [`f2ee09d`](https://github.com/ollama/ollama/commit/f2ee09db6c2ec5bdd1a21fff7be09d3a1aa5033e) llama: Wire up some of the ggml APIs for tensors - [`e9e0744`](https://github.com/ollama/ollama/commit/e9e0744f5d2db7a19c2006d4e5af3ec5877fc3bf) remove cgo wrappers for ggml APIs we aren't likely to need ### 📊 Changes **2 files changed** (+1066 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `llama/ggml.go` (+977 -0) ➕ `llama/ggml_test.go` (+89 -0) </details> ### 📄 Description This builds a ~minimal cgo wrapper on ggml APIs. Replaces #7103 on main --- <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-12 23:55:30 -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#12325