]> git.djapps.eu Git - pkg/ggml/sources/ggml/commit
ggml : improve error handling for search path existence checks (llama/17653)
authorSky <redacted>
Sat, 6 Dec 2025 11:28:16 +0000 (19:28 +0800)
committerGeorgi Gerganov <redacted>
Thu, 11 Dec 2025 13:32:57 +0000 (15:32 +0200)
commitb8b9b189a48a5bdf0a2ac93343e68220e89aad80
tree9ddd54750994eec3e27ec8ec7714e52a277499eb
parent695e3534b561292fc951035d41feb774312764b9
ggml : improve error handling for search path existence checks (llama/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>
src/ggml-backend-reg.cpp
src/ggml-rpc/ggml-rpc.cpp