ollama / ollama

Get up and running with Llama 3.2, Mistral, Gemma 2, and other large language models.
https://ollama.com
MIT License
97.96k stars 7.8k forks source link

Feature request: delete partially downloaded model #1658

Closed kokizzu closed 10 months ago

kokizzu commented 11 months ago

So i was downloading some model, and apparently it took like 26GB of disk space XD so i cancelled it midway tried to ollama rm dolphin-mixtral but it shows Error: model 'dolphin-mixtral' not found it would be nice if there's command to remove partially downloaded model.

BruceMacD commented 10 months ago

Hi @kokizzu, thanks for opening the issue. If you restart Ollama it will go through and automatically remove any partially downloaded models.

Here's how you do that based on your operating system: macOS - Open the Ollama toolbar icon, click Quit Ollama, and open it again linux - Run systemctl restart ollama in a terminal.

Let me know if you need any more info there.

Stud1243 commented 10 months ago

https://colab.research.google.com/github/koboldai/KoboldAI-Client/blob/main/colab/GPU.ipynb#scrollTo=Lrm840I33hkC