[PR #7265] [CLOSED] Migrate off centos 7 for intermediate build layers in container image builds #22907

Closed
opened 2026-04-19 16:38:29 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/7265
Author: @cazlo
Created: 10/19/2024
Status: Closed

Base: mainHead: migrate-centos7-to-rocky8


📝 Commits (1)

  • 4ef972b migrate from centos7 & gcc10.2 to rocky8 * gcc11.2

📊 Changes

2 files changed (+112 additions, -50 deletions)

View changed files

📝 Dockerfile (+109 -12)
📝 scripts/rh_linux_deps.sh (+3 -38)

📄 Description

What

Migrate dependencies in the container image build to later supported versions:

  • centos 7 -> rockylinux 8
  • gcc 10.2 -> gcc 11.2
  • cuda 11.3.1 -> 11.7.1

Why

Closes #7260 .

Avoids a compile issue with gcc 10.3.

Avoids end of life of centos 7.

More info on justification is available at #7260

Testing

See also https://github.com/cazlo/ollama/pull/3.

  • No arm64 compile issues observed (when forcing CI builds of this arch)
  • No amd64 compile issues observed for rocm
  • No amd64 runtime issues observed for rocm when running with 7900xt hardware (compared performance of baseline prompts to those done on HEAD of main and saw no significant deviation; sampleset size was ~240 prompts across 4 human language and 4 computer language models. no crashes or other weirdness observed in the test runs)

I don't have Nvidia or Apple hardware easily available to test those runtimes; I only tested on modern AMD GPU runtimes.


🔄 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/7265 **Author:** [@cazlo](https://github.com/cazlo) **Created:** 10/19/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `migrate-centos7-to-rocky8` --- ### 📝 Commits (1) - [`4ef972b`](https://github.com/ollama/ollama/commit/4ef972bab0bd64d65f382d96710759851512ae2e) migrate from centos7 & gcc10.2 to rocky8 * gcc11.2 ### 📊 Changes **2 files changed** (+112 additions, -50 deletions) <details> <summary>View changed files</summary> 📝 `Dockerfile` (+109 -12) 📝 `scripts/rh_linux_deps.sh` (+3 -38) </details> ### 📄 Description # What Migrate dependencies in the container image build to later supported versions: - centos 7 -> rockylinux 8 - gcc 10.2 -> gcc 11.2 - cuda 11.3.1 -> 11.7.1 # Why Closes #7260 . Avoids a compile issue with gcc 10.3. Avoids end of life of centos 7. More info on justification is available at #7260 # Testing See also https://github.com/cazlo/ollama/pull/3. - No arm64 compile issues observed (when forcing CI builds of this arch) - No amd64 compile issues observed for rocm - No amd64 runtime issues observed for rocm when running with 7900xt hardware (compared performance of baseline prompts to those done on HEAD of main and saw no significant deviation; sampleset size was ~240 prompts across 4 human language and 4 computer language models. no crashes or other weirdness observed in the test runs) I don't have Nvidia or Apple hardware easily available to test those runtimes; I only tested on modern AMD GPU runtimes. --- <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-19 16:38:29 -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#22907