Skip to content

fix: load safetensors index shards without recursion - #2058

Merged
leejet merged 1 commit into
masterfrom
fix/safetensors-index-shards
Sep 25, 2026
Merged

leejet merged 1 commit into
masterfrom
fix/safetensors-index-shards

Conversation

@leejet

@leejet leejet commented Sep 25, 2026

Copy link
Copy Markdown
Owner

Summary

  • Load index entries directly as Safetensors files, rejecting nested indexes and directories without recursive loading.

Related Issue / Discussion

Fix #2052.

Additional Information

N/A

Checklist

@leejet
leejet merged commit 4c3cf75 into master Sep 25, 2026
10 checks passed
@leejet
leejet deleted the fix/safetensors-index-shards branch September 25, 2026 10:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Self-referential safetensors index repeatedly reloads itself

1 participant