Open jmorganca opened 10 months ago
I haven't been able to reproduce this. Ollama behaves as expected. Here is the test I ran:
OLLAMA_MODELS
@jmorganca do you have any more details on how to reproduce this?
I just managed to unintentionally reproduce this bug. The steps I followed:
ollama rm
a few models.ollama pull
a model and get EOF
error.Restarting ollama fixes the issue.
> ollama --version
ollama version is 0.1.34
Restarting didn't work for me.
After having a look at https://github.com/ollama/ollama/pull/344, I ended with the below command:
sudo rm /usr/share/ollama/.ollama/models/blobs/*-partial*
Deleting only the ones of zero size in ~/.ollama/models/blobs/
worked for me, and I didn't have to restart the entire download.
To reproduce, pull with little disk space lefT:
Even with more space, future
ollama pull
commands fail until Ollama restarted: