[PR #559] [MERGED] remove tmp directories created by previous servers #10221

Closed
opened 2026-04-12 22:55:02 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/559
Author: @BruceMacD
Created: 9/20/2023
Status: Merged
Merged: 9/21/2023
Merged by: @BruceMacD

Base: mainHead: brucemacd/clean-tmp


📝 Commits (6)

  • 4b444e0 remove tmp directories created by previous servers
  • 34c7321 clean up on server stop
  • 6d6f350 Update routes.go
  • 4f3aca8 Update server/routes.go
  • 6d7f473 create top-level temp ollama dir
  • 6782fb2 check file exists before creating

📊 Changes

6 files changed (+56 additions, -60 deletions)

View changed files

📝 llm/ggml.go (+0 -13)
📝 llm/gguf.go (+0 -14)
📝 llm/llama.go (+19 -15)
📝 llm/llm.go (+3 -3)
📝 server/images.go (+4 -4)
📝 server/routes.go (+30 -11)

📄 Description

with packing in cuda libs these start to get pretty big, clean temp ollama- dirs up before creating new ones.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/559 **Author:** [@BruceMacD](https://github.com/BruceMacD) **Created:** 9/20/2023 **Status:** ✅ Merged **Merged:** 9/21/2023 **Merged by:** [@BruceMacD](https://github.com/BruceMacD) **Base:** `main` ← **Head:** `brucemacd/clean-tmp` --- ### 📝 Commits (6) - [`4b444e0`](https://github.com/ollama/ollama/commit/4b444e0ad5074416fb21b7c8736c404e293227d0) remove tmp directories created by previous servers - [`34c7321`](https://github.com/ollama/ollama/commit/34c7321e1100cb829e990d5709941f9647593f31) clean up on server stop - [`6d6f350`](https://github.com/ollama/ollama/commit/6d6f3504bfd694a660805130c9224a511cd34ec0) Update routes.go - [`4f3aca8`](https://github.com/ollama/ollama/commit/4f3aca84e56d5bbd2b6ec38545674f69cd2c8ca6) Update server/routes.go - [`6d7f473`](https://github.com/ollama/ollama/commit/6d7f473123a42075b20ec980fb6bb5c9293ef84c) create top-level temp ollama dir - [`6782fb2`](https://github.com/ollama/ollama/commit/6782fb276316eadc1abb2174f3f72de3b8ddd53c) check file exists before creating ### 📊 Changes **6 files changed** (+56 additions, -60 deletions) <details> <summary>View changed files</summary> 📝 `llm/ggml.go` (+0 -13) 📝 `llm/gguf.go` (+0 -14) 📝 `llm/llama.go` (+19 -15) 📝 `llm/llm.go` (+3 -3) 📝 `server/images.go` (+4 -4) 📝 `server/routes.go` (+30 -11) </details> ### 📄 Description with packing in cuda libs these start to get pretty big, clean temp `ollama-` dirs up before creating new ones. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-12 22:55:02 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#10221