ggml-org/llama.cpp
Llava functions compiled as extern "C" throw exceptions
クローズ
#7,073 opened on 2024/05/04
buggood first issue
Repository metrics
- Stars
- (124,222 個のスター)
- PR merge metrics
- (平均マージ 6d 8h) (30d で 389 merged PRs)
説明
Basically this: llama.cpp\examples\llava\clip.cpp(1277,13): warning : 'clip_model_load' has a non-throwing exception specification but can still throw [-Wexceptions] llama.cpp\examples\llava\clip.cpp(2075,5): warning : 'clip_n_mmproj_embd' has a non-throwing exception specification but can still throw [-Wexceptions]
As these are library exported functions and wrapped in extern "C", they should not allow exceptions to cross the boundary. C language has no idea what to do with them.
Compiled with clang-cl in windows.