[PR #4543] simplify safetensors reading #11519

Closed
opened 2026-04-12 23:31:43 -05:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/ollama/ollama/pull/4543

State: closed
Merged: Yes


mapstructure is unnecessary and the safetensors header can be read directly into a struct

**Original Pull Request:** https://github.com/ollama/ollama/pull/4543 **State:** closed **Merged:** Yes --- mapstructure is unnecessary and the safetensors header can be read directly into a struct
GiteaMirror added the pull-request label 2026-04-12 23:31:43 -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#11519