Commit ce4e756
committed
parakeet : add exception handling to parakeet_model_load [no ci]
This commit adds exception handling to the parakeet_model_load function
call.
The motivation for this is to avoid exceptions being thrown from this
function as it is part of the extern C interface and instead log the
error and return nullptr.
Refs: ggml-org#38311 parent da55e1e commit ce4e756
1 file changed
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3144 | 3144 | | |
3145 | 3145 | | |
3146 | 3146 | | |
3147 | | - | |
| 3147 | + | |
| 3148 | + | |
| 3149 | + | |
| 3150 | + | |
| 3151 | + | |
| 3152 | + | |
| 3153 | + | |
| 3154 | + | |
| 3155 | + | |
| 3156 | + | |
3148 | 3157 | | |
3149 | 3158 | | |
3150 | 3159 | | |
| |||
0 commit comments