Commit e57bb87
authored
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 <[email protected]>
* gguf: update error message
Signed-off-by: Aaron Teo <[email protected]>
* gguf: make the non-native endian check more verbose
Signed-off-by: Aaron Teo <[email protected]>
* ggml: move ggml_assert location
Signed-off-by: Aaron Teo <[email protected]>
* ggml: reword the endianness check error message
Signed-off-by: Aaron Teo <[email protected]>
---------
Signed-off-by: Aaron Teo <[email protected]>1 parent f3a4b16 commit e57bb87
1 file changed
+14
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
347 | 347 | | |
348 | 348 | | |
349 | 349 | | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
350 | 364 | | |
351 | 365 | | |
352 | 366 | | |
| |||
0 commit comments