]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
ggml: check if non-native endian model is being loaded (#13943)
authorAaron Teo <redacted>
Sun, 1 Jun 2025 14:53:57 +0000 (22:53 +0800)
committerGitHub <redacted>
Sun, 1 Jun 2025 14:53:57 +0000 (16:53 +0200)
commite57bb87cede38341963a7a884630dbfb09c7dc00
treece31cd4a8338495b616a8dcbebd1838b648fcacb
parentf3a4b1659ccc94ebdf3590d472b518377bfecc7a
ggml: check if non-native endian model is being loaded (#13943)

* gguf: prevent non-native endian models from being loaded

Signed-off-by: Aaron Teo <redacted>
* gguf: update error message

Signed-off-by: Aaron Teo <redacted>
* gguf: make the non-native endian check more verbose

Signed-off-by: Aaron Teo <redacted>
* ggml: move ggml_assert location

Signed-off-by: Aaron Teo <redacted>
* ggml: reword the endianness check error message

Signed-off-by: Aaron Teo <redacted>
---------

Signed-off-by: Aaron Teo <redacted>
ggml/src/gguf.cpp