[GH-ISSUE #9760] how to export ollama models to safetensors or gguf? #6378

Closed
opened 2026-04-12 17:53:19 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @hahakid20 on GitHub (Mar 14, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/9760

ollama uses those sha256xxxx files as model files. Now I need to export them to safetensors or gguf files. I know "ollama create" command can import safetensors or gguf files to ollama, but how to do the reverse thing?

Originally created by @hahakid20 on GitHub (Mar 14, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/9760 ollama uses those sha256xxxx files as model files. Now I need to export them to safetensors or gguf files. I know "ollama create" command can import safetensors or gguf files to ollama, but how to do the reverse thing?
Author
Owner

@pdevine commented on GitHub (Mar 14, 2025):

There is currently no way to do that; we do use GGUF under the hood for models currently (even w/ the new engine) however this is being changed as we adopt our own internal format.

I'm going to go ahead and close this as a dupe for now.

<!-- gh-comment-id:2725951443 --> @pdevine commented on GitHub (Mar 14, 2025): There is currently no way to do that; we do use GGUF under the hood for models currently (even w/ the new engine) however this is being changed as we adopt our own internal format. I'm going to go ahead and close this as a dupe for now.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#6378