ggml : speed up model loading (#29598)
* ggml : speed up model loading
A crafted model could hang the server for a very long time, try with:
llama-cli -hf angt/test-gguf-1Mkv -hff model.gguf
Signed-off-by: Adrien Gallouët <angt@huggingface.co>
* Avoid empty keys
Signed-off-by: Adrien Gallouët <angt@huggingface.co>
* Fix
Co-authored-by: Johannes Gäßler <johannesg@5d6.de>
---------
Signed-off-by: Adrien Gallouët <angt@huggingface.co>
Co-authored-by: Johannes Gäßler <johannesg@5d6.de> A
Adrien Gallouët committed
c13e04e1ddaab8ffc22e81365e71bda2dacd477d
Parent: c8cda8b
Committed by GitHub <noreply@github.com>
on 9/29/2026, 8:35:08 AM