[PR #5067] [CLOSED] Add LoongArch64 ISA Support #73962

Closed
opened 2026-05-05 05:54:36 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/5067
Author: @HougeLangley
Created: 6/15/2024
Status: Closed

Base: mainHead: main


📝 Commits (2)

📊 Changes

5 files changed (+31 additions, -8 deletions)

View changed files

📝 go.mod (+1 -1)
📝 go.sum (+2 -2)
📝 llm/generate/gen_common.sh (+3 -0)
📝 llm/generate/gen_linux.sh (+24 -5)
📝 llm/llm.go (+1 -0)

📄 Description

  1. fixed go build . failed on LoongArch -> go.mod: replace github.com/chewxy/math32 v1.10.1 to github.com/chewxy/math32 v1.10.2-0.20240509203351, fixed https://github.com/chewxy/math32/issues/23
  2. go.sum fixed;
  3. llm.go add loong64 support;
  4. gen_common.sh add 64bit LoongArch support;
  5. gen_linux.sh add loongarch64 ISA LASX/LSX Support.
  6. Fixed Please support LoongArch ISA https://github.com/ollama/ollama/issues/4552

🔄 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/5067 **Author:** [@HougeLangley](https://github.com/HougeLangley) **Created:** 6/15/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (2) - [`63f302a`](https://github.com/ollama/ollama/commit/63f302a2318a633018da3373b5585b3eb70a61d2) 1. fixed go build . failed on LoongArch -> go.mod: replace github.com/chewxy/math32 v1.10.1 to github.com/chewxy/math32 v1.10.2-0.20240509203351, fixed https://github.com/chewxy/math32/issues/23 - [`7f1bf81`](https://github.com/ollama/ollama/commit/7f1bf8189434eebab90846f0f4726ff7bfbb31f5) "Solve the conflicts in the file llm/generate/gen_linux.sh." ### 📊 Changes **5 files changed** (+31 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `go.mod` (+1 -1) 📝 `go.sum` (+2 -2) 📝 `llm/generate/gen_common.sh` (+3 -0) 📝 `llm/generate/gen_linux.sh` (+24 -5) 📝 `llm/llm.go` (+1 -0) </details> ### 📄 Description 1. fixed go build . failed on LoongArch -> go.mod: replace github.com/chewxy/math32 v1.10.1 to github.com/chewxy/math32 v1.10.2-0.20240509203351, fixed https://github.com/chewxy/math32/issues/23 2. go.sum fixed; 3. llm.go add loong64 support; 4. gen_common.sh add 64bit LoongArch support; 5. gen_linux.sh add loongarch64 ISA LASX/LSX Support. 6. Fixed Please support LoongArch ISA https://github.com/ollama/ollama/issues/4552 --- <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-05-05 05:54: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#73962