How to workaround Ollama models pull issues

In the past couple of days I was having this annoying issue while trying to pull a model from Ollama: I was running the command ollama pull deepseek-r1:8b, it was downloading something like 4-5% of the model and then the connection was reset, the client was “crashing” and it always restarted from 0%.

It looks like I wasn’t alone: https://github.com/ollama/ollama/issues/8406

Here is the solution: https://www.andreagrandi.it/posts/how-to-workaround-ollama-pull-issues/

Andrea Grandi @andreagrandi