]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
llama : catch llama_load_session_file_internal exceptions (#2022)
authorRand Xie <redacted>
Sat, 1 Jul 2023 16:02:58 +0000 (00:02 +0800)
committerGitHub <redacted>
Sat, 1 Jul 2023 16:02:58 +0000 (19:02 +0300)
commitcb44dbc7de287b3d17772cfb1aa49d55e082ce5b
tree1e16432cc3d16a950849e09399a0860bea349676
parent79f634a19d1c32a6cfb1befc21551ee684fced6b
llama : catch llama_load_session_file_internal exceptions (#2022)

* convert checks in llama_load_session_file to throw and handle them

* make llama_load_session_file_internal static

* address feedbacks to avoid using exceptions
llama.cpp