[GH-ISSUE #6306] Running ollama on island device with no Internet connection #3954

Closed
opened 2026-04-12 14:49:46 -05:00 by GiteaMirror · 11 comments
Owner

Originally created by @whatdhack on GitHub (Aug 11, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/6306

Trying to run ollama on island devices with no Internet connection. Getting the following error message.

Error: pull model manifest: Get "https://registry.ollama.ai/v2/library/llama2/manifests/latest":

Originally created by @whatdhack on GitHub (Aug 11, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/6306 Trying to run ollama on island devices with no Internet connection. Getting the following error message. `Error: pull model manifest: Get "https://registry.ollama.ai/v2/library/llama2/manifests/latest":`
GiteaMirror added the feature request label 2026-04-12 14:49:46 -05:00
Author
Owner

@rick-github commented on GitHub (Aug 11, 2024):

Downloading a model requires internet connectivity. You can download the model on a different computer and copy it across if the island device cannot be connected. Where the model is stored depends on your setup.

<!-- gh-comment-id:2282689857 --> @rick-github commented on GitHub (Aug 11, 2024): Downloading a model requires internet connectivity. You can download the model on a different computer and copy it across if the island device cannot be connected. Where the [model is stored](https://github.com/ollama/ollama/blob/main/docs/faq.md#where-are-models-stored) depends on your setup.
Author
Owner

@jmorganca commented on GitHub (Aug 11, 2024):

Hi @whatdhack as @rick-github mentioned you'd need to be connected to ollama pull a model, or to ollama run (if you don't have it yet)

<!-- gh-comment-id:2282833538 --> @jmorganca commented on GitHub (Aug 11, 2024): Hi @whatdhack as @rick-github mentioned you'd need to be connected to `ollama pull` a model, or to `ollama run` (if you don't have it yet)
Author
Owner

@whatdhack commented on GitHub (Aug 11, 2024):

Can ollama use the Meta format models ? For example the 16GB llama 3.1 models ?

<!-- gh-comment-id:2282850293 --> @whatdhack commented on GitHub (Aug 11, 2024): Can ollama use the Meta format models ? For example the 16GB llama 3.1 models ?
Author
Owner

@rick-github commented on GitHub (Aug 11, 2024):

https://ollama.com/library/llama3.1

<!-- gh-comment-id:2282850630 --> @rick-github commented on GitHub (Aug 11, 2024): https://ollama.com/library/llama3.1
Author
Owner

@whatdhack commented on GitHub (Aug 11, 2024):

On a host with access to the Internet, I set the OLLAMA_MODELS variable. It was ignored and ollama pulled the model to ~/.ollama .

<!-- gh-comment-id:2282852247 --> @whatdhack commented on GitHub (Aug 11, 2024): On a host with access to the Internet, I set the OLLAMA_MODELS variable. It was ignored and ollama pulled the model to ~/.ollama .
Author
Owner

@whatdhack commented on GitHub (Aug 11, 2024):

https://ollama.com/library/llama3.1 shows it is using the 4 bit checkpoint

<!-- gh-comment-id:2282852880 --> @whatdhack commented on GitHub (Aug 11, 2024): https://ollama.com/library/llama3.1 shows it is using the 4 bit checkpoint
Author
Owner

@whatdhack commented on GitHub (Aug 11, 2024):

Still tries to pull , even when the model was already available in ~/.ollama/models

<!-- gh-comment-id:2282858990 --> @whatdhack commented on GitHub (Aug 11, 2024): Still tries to pull , even when the model was already available in ~/.ollama/models
Author
Owner

@rick-github commented on GitHub (Aug 11, 2024):

https://ollama.com/library/llama3.1:8b-instruct-fp16

<!-- gh-comment-id:2282859436 --> @rick-github commented on GitHub (Aug 11, 2024): https://ollama.com/library/llama3.1:8b-instruct-fp16
Author
Owner

@rick-github commented on GitHub (Aug 11, 2024):

The ollama server does the work of pulling the model, so OLLAMA_MODELS has to set in the environment of the server.

<!-- gh-comment-id:2282860769 --> @rick-github commented on GitHub (Aug 11, 2024): The ollama server does the work of pulling the model, so `OLLAMA_MODELS` has to set in the environment of the server.
Author
Owner

@whatdhack commented on GitHub (Aug 11, 2024):

Hmm, "OLLAMA_MODELS has to set in the environment of the server " - was in fact set

<!-- gh-comment-id:2282862838 --> @whatdhack commented on GitHub (Aug 11, 2024): Hmm, "OLLAMA_MODELS has to set in the environment of the server " - was in fact set
Author
Owner

@rick-github commented on GitHub (Aug 11, 2024):

Server logs will help in debugging.

<!-- gh-comment-id:2282863587 --> @rick-github commented on GitHub (Aug 11, 2024): [Server logs](https://github.com/ollama/ollama/blob/main/docs/troubleshooting.md#how-to-troubleshoot-issues) will help in debugging.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#3954