[PR #6924] [MERGED] llama: Go server refine gpu build #74554

Closed
opened 2026-05-05 06:42:37 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/6924
Author: @dhiltgen
Created: 9/23/2024
Status: Merged
Merged: 9/26/2024
Merged by: @dhiltgen

Base: jmorganca/llamaHead: go_server_refine_gpu_build


📝 Commits (1)

  • fb99762 Refine go server makefiles to be more DRY

📊 Changes

9 files changed (+445 additions, -409 deletions)

View changed files

📝 llama/Makefile (+24 -405)
📝 llama/llama.go (+4 -4)
llama/make/Makefile.cuda_v11 (+12 -0)
llama/make/Makefile.cuda_v12 (+12 -0)
llama/make/Makefile.default (+49 -0)
llama/make/Makefile.rocm (+97 -0)
llama/make/common-defs.make (+74 -0)
llama/make/cuda.make (+47 -0)
llama/make/gpu.make (+126 -0)

📄 Description

This breaks up the monolithic Makefile for the Go based runners into a set of utility files as well as recursive Makefiles for the runners. Files starting with the name "Makefile" are buildable, while files that end with ".make" are utilities to include in other Makefiles. This reduces the amount of nearly identical targets and helps set a pattern for future community contributions for new GPU runner architectures.

When we are ready to switch over to the Go runners, these files should move to the top of the repo, and we should add targets for the main CLI, as well as a helper "install" (put all the built binaries on the local system in a runnable state) and "dist" target (generate the various tar/zip files for distribution) for local developer use.

Replaces #6845


🔄 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/6924 **Author:** [@dhiltgen](https://github.com/dhiltgen) **Created:** 9/23/2024 **Status:** ✅ Merged **Merged:** 9/26/2024 **Merged by:** [@dhiltgen](https://github.com/dhiltgen) **Base:** `jmorganca/llama` ← **Head:** `go_server_refine_gpu_build` --- ### 📝 Commits (1) - [`fb99762`](https://github.com/ollama/ollama/commit/fb99762a91172aa3e575233512c87d5bb146ee13) Refine go server makefiles to be more DRY ### 📊 Changes **9 files changed** (+445 additions, -409 deletions) <details> <summary>View changed files</summary> 📝 `llama/Makefile` (+24 -405) 📝 `llama/llama.go` (+4 -4) ➕ `llama/make/Makefile.cuda_v11` (+12 -0) ➕ `llama/make/Makefile.cuda_v12` (+12 -0) ➕ `llama/make/Makefile.default` (+49 -0) ➕ `llama/make/Makefile.rocm` (+97 -0) ➕ `llama/make/common-defs.make` (+74 -0) ➕ `llama/make/cuda.make` (+47 -0) ➕ `llama/make/gpu.make` (+126 -0) </details> ### 📄 Description This breaks up the monolithic Makefile for the Go based runners into a set of utility files as well as recursive Makefiles for the runners. Files starting with the name "Makefile" are buildable, while files that end with ".make" are utilities to include in other Makefiles. This reduces the amount of nearly identical targets and helps set a pattern for future community contributions for new GPU runner architectures. When we are ready to switch over to the Go runners, these files should move to the top of the repo, and we should add targets for the main CLI, as well as a helper "install" (put all the built binaries on the local system in a runnable state) and "dist" target (generate the various tar/zip files for distribution) for local developer use. Replaces #6845 --- <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 06:42:37 -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#74554