[PR #13417] convert: check file size for safetensors to warn for improper conversion #14199

Open
opened 2026-04-13 00:48:11 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/13417
Author: @ParthSareen
Created: 12/11/2025
Status: 🔄 Open

Base: mainHead: parth/add-lfs-pointer-error-conversion


📝 Commits (1)

  • 5d3eeb4 convert: check file size for safetensors to warn for improper conversion

📊 Changes

1 file changed (+4 additions, -0 deletions)

View changed files

📝 convert/reader_safetensors.go (+4 -0)

📄 Description

Checks safetensor header to see if the file is valid


🔄 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/13417 **Author:** [@ParthSareen](https://github.com/ParthSareen) **Created:** 12/11/2025 **Status:** 🔄 Open **Base:** `main` ← **Head:** `parth/add-lfs-pointer-error-conversion` --- ### 📝 Commits (1) - [`5d3eeb4`](https://github.com/ollama/ollama/commit/5d3eeb43c018499786a09a62adbbdcaa1a8f1749) convert: check file size for safetensors to warn for improper conversion ### 📊 Changes **1 file changed** (+4 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `convert/reader_safetensors.go` (+4 -0) </details> ### 📄 Description Checks safetensor header to see if the file is valid --- <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-13 00:48:11 -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#14199