[PR #13646] Add local bundle check before downloading ollama #14312

Open
opened 2026-04-13 00:50:37 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/13646
Author: @codedededi
Created: 1/8/2026
Status: 🔄 Open

Base: mainHead: dev-local-bundle


📝 Commits (3)

  • d9e5eb4 Add local bundle check before downloading ollama
  • c938058 Merge branch 'main' into dev-local-bundle
  • a7af6d0 modify code comment

📊 Changes

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

View changed files

📝 scripts/install.sh (+18 -1)

📄 Description

Due to network restrictions on the development server, downloading the installation script directly from https:ollama.com/install.sh is extremely slow and often fails.

While manual installation using pre-compiled binaries is a workaround, it currently lacks the logic to properly detect and configure the GPU, leading to "low vram" issues.

time=2026-01-08T10:36:42.007+08:00 level=INFO source=server.go:429 msg="starting runner" cmd="/usr/local/bin/ollama runner --ollama-engine --port 42695"

time=2026-01-08T10:36:42.022+08:00 level=INFO source=types.go:60 msg="inference compute" id=cpu library=cpu compute="" name=cpu description=cpu libdirs=ollama driver="" pci_id="" type="" total="62.6 GiB" available="57.8 GiB"

time=2026-01-08T10:36:42.022+08:00 level=INFO source=routes.go:1648 msg="entering low vram mode" "total vram"="0 B" threshold="20.0 GiB"

This PR modifies the install.sh to add support for loading the ollama-linux-${ARCH}.tgz from a local path. This ensures that even in restricted network environments, users can complete the installation with full GPU support enabled.


🔄 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/13646 **Author:** [@codedededi](https://github.com/codedededi) **Created:** 1/8/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `dev-local-bundle` --- ### 📝 Commits (3) - [`d9e5eb4`](https://github.com/ollama/ollama/commit/d9e5eb4a8d1da95ba0d3a0ae45cf532cf42d135a) Add local bundle check before downloading ollama - [`c938058`](https://github.com/ollama/ollama/commit/c9380586372df9c3cd3a8352de158b7ae06427c7) Merge branch 'main' into dev-local-bundle - [`a7af6d0`](https://github.com/ollama/ollama/commit/a7af6d0771f3b1402d699062a96b34bc024573cd) modify code comment ### 📊 Changes **1 file changed** (+18 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `scripts/install.sh` (+18 -1) </details> ### 📄 Description Due to network restrictions on the development server, downloading the installation script directly from [https:ollama.com/install.sh](https://ollama.com/install.sh) is extremely slow and often fails. While manual installation using pre-compiled binaries is a workaround, it currently lacks the logic to properly detect and configure the GPU, leading to "low vram" issues. ``` time=2026-01-08T10:36:42.007+08:00 level=INFO source=server.go:429 msg="starting runner" cmd="/usr/local/bin/ollama runner --ollama-engine --port 42695" time=2026-01-08T10:36:42.022+08:00 level=INFO source=types.go:60 msg="inference compute" id=cpu library=cpu compute="" name=cpu description=cpu libdirs=ollama driver="" pci_id="" type="" total="62.6 GiB" available="57.8 GiB" time=2026-01-08T10:36:42.022+08:00 level=INFO source=routes.go:1648 msg="entering low vram mode" "total vram"="0 B" threshold="20.0 GiB" ``` This PR modifies the `install.sh` to add support for loading the `ollama-linux-${ARCH}.tgz` from a local path. This ensures that even in restricted network environments, users can complete the installation with full GPU support enabled. --- <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-13 00:50: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#14312