[PR #13651] [MERGED] Linux: switch to zstd compression #40189

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

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/13651
Author: @dhiltgen
Created: 1/8/2026
Status: Merged
Merged: 1/8/2026
Merged by: @dhiltgen

Base: mainHead: zstd


📝 Commits (1)

  • 9a833c1 Linux: switch to zstd compression

📊 Changes

4 files changed (+67 additions, -37 deletions)

View changed files

📝 .github/workflows/release.yaml (+4 -3)
📝 docs/linux.mdx (+8 -8)
📝 scripts/build_linux.sh (+21 -10)
📝 scripts/install.sh (+34 -16)

📄 Description

With the upcoming addition of MLX, the linux bundle will exceed the maximum github artifact size of 2G. This change will bring the size back down.

The install.sh changes support backwards compatibility for prior versions thus should be safe to merge concurrently with this change.

Before:

-rw-r--r--  1 daniel  staff   1.2G Jan  8 15:16 ollama-linux-amd64-rocm.tar.gz
-rw-r--r--  1 daniel  staff   1.9G Jan  8 15:13 ollama-linux-amd64.tar.gz
-rw-r--r--  1 daniel  staff   454M Jan  8 15:07 ollama-linux-arm64-jetpack5.tar.gz
-rw-r--r--  1 daniel  staff   358M Jan  8 15:09 ollama-linux-arm64-jetpack6.tar.gz
-rw-r--r--  1 daniel  staff   2.0G Jan  8 15:04 ollama-linux-arm64.tar.gz

After:

-rw-r--r--  1 daniel  staff   397M Jan  8 15:16 ollama-linux-amd64-rocm.tar.zst
-rw-r--r--  1 daniel  staff   1.1G Jan  8 15:13 ollama-linux-amd64.tar.zst
-rw-r--r--  1 daniel  staff   247M Jan  8 15:07 ollama-linux-arm64-jetpack5.tar.zst
-rw-r--r--  1 daniel  staff   245M Jan  8 15:09 ollama-linux-arm64-jetpack6.tar.zst
-rw-r--r--  1 daniel  staff   1.2G Jan  8 15:04 ollama-linux-arm64.tar.zst

(on main without the MLX branch merged)


🔄 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/13651 **Author:** [@dhiltgen](https://github.com/dhiltgen) **Created:** 1/8/2026 **Status:** ✅ Merged **Merged:** 1/8/2026 **Merged by:** [@dhiltgen](https://github.com/dhiltgen) **Base:** `main` ← **Head:** `zstd` --- ### 📝 Commits (1) - [`9a833c1`](https://github.com/ollama/ollama/commit/9a833c16f4840c7d14b1501ca654de9c438b999e) Linux: switch to zstd compression ### 📊 Changes **4 files changed** (+67 additions, -37 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/release.yaml` (+4 -3) 📝 `docs/linux.mdx` (+8 -8) 📝 `scripts/build_linux.sh` (+21 -10) 📝 `scripts/install.sh` (+34 -16) </details> ### 📄 Description With the upcoming addition of MLX, the linux bundle will exceed the maximum github artifact size of 2G. This change will bring the size back down. The install.sh changes support backwards compatibility for prior versions thus should be safe to merge concurrently with this change. Before: ``` -rw-r--r-- 1 daniel staff 1.2G Jan 8 15:16 ollama-linux-amd64-rocm.tar.gz -rw-r--r-- 1 daniel staff 1.9G Jan 8 15:13 ollama-linux-amd64.tar.gz -rw-r--r-- 1 daniel staff 454M Jan 8 15:07 ollama-linux-arm64-jetpack5.tar.gz -rw-r--r-- 1 daniel staff 358M Jan 8 15:09 ollama-linux-arm64-jetpack6.tar.gz -rw-r--r-- 1 daniel staff 2.0G Jan 8 15:04 ollama-linux-arm64.tar.gz ``` After: ``` -rw-r--r-- 1 daniel staff 397M Jan 8 15:16 ollama-linux-amd64-rocm.tar.zst -rw-r--r-- 1 daniel staff 1.1G Jan 8 15:13 ollama-linux-amd64.tar.zst -rw-r--r-- 1 daniel staff 247M Jan 8 15:07 ollama-linux-arm64-jetpack5.tar.zst -rw-r--r-- 1 daniel staff 245M Jan 8 15:09 ollama-linux-arm64-jetpack6.tar.zst -rw-r--r-- 1 daniel staff 1.2G Jan 8 15:04 ollama-linux-arm64.tar.zst ``` (on main without the MLX branch merged) --- <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-23 01:08: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#40189