]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/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>
Fri, 12 Dec 2025 15:53:20 +0000 (17:53 +0200)
commitb67e3abdb21c2c0d04f0ffbf598b9949f71e5fa9
tree1a88fd38fd434e997035dccd612bee6645f57a37
parentc66c71e9f49180830715f6fe4d1b46c982bcb7c7
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>
ggml/src/ggml-backend-reg.cpp
ggml/src/ggml-rpc/ggml-rpc.cpp