]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
convert : parse safetensors directly (#15667)
authorcompilade <redacted>
Sun, 9 Nov 2025 14:49:40 +0000 (09:49 -0500)
committerGitHub <redacted>
Sun, 9 Nov 2025 14:49:40 +0000 (09:49 -0500)
commit802cef44bfaa80987076d621c8bf5875627c197b
tree58a92a9d23352dfca80dbec35235b21849a9268c
parent1c07c0c68c692d39b83f491bad9447af852bb652
convert : parse safetensors directly (#15667)

* convert : parse safetensors directly

* gguf-py : order safetensors tensors by name

Applies to both local and remote safetensors custom parsing.
This matches the behavior of the official safetensors implementation.

* convert : rename from_safetensors_meta to from_local_tensor

For consistency with from_remote_tensor

* convert : fix no-lazy dtypes from direct safetensors
convert_hf_to_gguf.py
gguf-py/gguf/utility.py