ollama - 💡(How to fix) Fix Ollama create doesn't clean up after importing. [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
ollama/ollama#15803Fetched 2026-04-25 06:03:23
View on GitHub
Comments
0
Participants
1
Timeline
1
Reactions
0
Author
Participants
Timeline (top)
labeled ×1
RAW_BUFFERClick to expand / collapse

What is the issue?

After I imported a finetuned qwen-3.6-35b in safetensor, it did not clean up the original model. Blobs folder becomes really big. This was fixed a while ago, but it looks like it got broken again. Also, if ollama create fails due to lack of storage, next time when it launches, it used to clean up the broken files, but no longer clean that up either.

Relevant log output

OS

macOS

GPU

Apple

CPU

Apple

Ollama version

0.21.2

extent analysis

TL;DR

The issue might be resolved by manually cleaning up the blobs folder or checking the safetensor import process to ensure it properly handles model cleanup.

Guidance

  • Verify the safetensor import process to ensure it is correctly configured to clean up the original model after importing a finetuned model.
  • Check the Ollama version history to see if the cleanup feature was intentionally removed or modified in version 0.21.2.
  • Manually clean up the blobs folder to free up storage space and prevent further issues.
  • Test the Ollama create process with sufficient storage to see if it still fails to clean up broken files.

Notes

The issue seems to be related to a regression in the Ollama version 0.21.2, as the cleanup feature used to work correctly in previous versions.

Recommendation

Apply workaround: Manually clean up the blobs folder to prevent storage issues until the root cause is identified and fixed.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING