[PR #9469] [CLOSED] powerpc: Add -mcpu=power10 flag when compiling llamafile folder #38849

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

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/9469
Author: @amritahs-ibm
Created: 3/3/2025
Status: Closed

Base: mainHead: build_changes_ppc


📝 Commits (2)

  • ebdcbc2 powerpc: Add -mcpu=power10 flag when compiling llamafile folder
  • 12c0c8a Merge branch 'ollama:main' into build_changes_ppc

📊 Changes

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

View changed files

📝 ml/backend/ggml/ggml/src/ggml-cpu/llamafile/llamafile.go (+1 -1)

📄 Description

-mcpu=power10 needs to be added in llamafile.go, so that powerpc optimized code(using Matrix Multiply
Assist) for llamafile_sgemm is enabled and is
available in ollama binary.


🔄 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/9469 **Author:** [@amritahs-ibm](https://github.com/amritahs-ibm) **Created:** 3/3/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `build_changes_ppc` --- ### 📝 Commits (2) - [`ebdcbc2`](https://github.com/ollama/ollama/commit/ebdcbc2187e5425be8b3086ca4f740a476a447d8) powerpc: Add -mcpu=power10 flag when compiling llamafile folder - [`12c0c8a`](https://github.com/ollama/ollama/commit/12c0c8a24e08e8a7489165a3c02ff2690b3c907f) Merge branch 'ollama:main' into build_changes_ppc ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `ml/backend/ggml/ggml/src/ggml-cpu/llamafile/llamafile.go` (+1 -1) </details> ### 📄 Description -mcpu=power10 needs to be added in llamafile.go, so that powerpc optimized code(using Matrix Multiply Assist) for llamafile_sgemm is enabled and is available in ollama binary. --- <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-22 23:30:41 -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#38849