]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
ggml : improve error handling for search path existence checks (#17653)
authorSky <redacted>
Sat, 6 Dec 2025 11:28:16 +0000 (19:28 +0800)
committerGitHub <redacted>
Sat, 6 Dec 2025 11:28:16 +0000 (12:28 +0100)
commit7b43f5575399b18c7847efb665a3c1f16d5fcc2c
treef9844e8a8f316b42c28b97bf2fe68b329f7b853b
parent444f00b0ec814a071ce1b9dc0de5ea4b4850bd1b
ggml : improve error handling for search path existence checks (#17653)

* Improve error handling for search path existence checks

Refactor existence checks for search paths using std::error_code to handle potential errors.

* Improve cache file existence check with error code

Update fs::exists to use std::error_code for error handling.

* Simplify existence check for search paths

Simplify existence check for search paths

* Fix logging path in error message for posix_stat

* Update ggml/src/ggml-backend-reg.cpp

Co-authored-by: Aman Gupta <redacted>
* Adapt to the coding standard

---------

Co-authored-by: Aman Gupta <redacted>
ggml/src/ggml-backend-reg.cpp
ggml/src/ggml-rpc/ggml-rpc.cpp