You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If having the following error when running this script (download.sh) to download models from ollama:
time=2025-01-19T16:09:54.920+03:30 level=INFO source=download.go:370 msg="170370233dd5 part 11 stalled; retrying. If this persists, press ctrl-c to exit, then 'ollama pull' to find a faster connection."
You can change the following part to make it working.
From this:
/bin/ollama pull $ollama_model_name
To this:
until timeout 10s /bin/ollama pull "$ollama_model_name"; do
echo "Pull timed out or stalled. Retrying..."
sleep 1
done
Thanks for filing the issue, will take a look soon!
nstogner
changed the title
pulling error from ollama: "stalled; retrying. If this persists"
Built-in Ollama example: pulling error from ollama: "stalled; retrying. If this persists"
Feb 15, 2025
After reviewing this, I think we will wait for this to be fixed in the Ollama project since we are just providing this script as an example. Feel free to add a PR with documentation, or we can leave this issue open until upstream finds a fix.
If having the following error when running this script (download.sh) to download models from ollama:
time=2025-01-19T16:09:54.920+03:30 level=INFO source=download.go:370 msg="170370233dd5 part 11 stalled; retrying. If this persists, press ctrl-c to exit, then 'ollama pull' to find a faster connection."
You can change the following part to make it working.
From this:
/bin/ollama pull $ollama_model_name
To this:
Inspired on this issue from ollama repo.
The text was updated successfully, but these errors were encountered: