mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-10 17:14:36 +00:00
update api docs and lite
This commit is contained in:
commit
396875e1c4
43 changed files with 4776 additions and 2051 deletions
|
@ -3110,7 +3110,10 @@ bool clip_model_quantize(const char * fname_inp, const char * fname_out, const i
|
|||
assert(itype < GGML_TYPE_COUNT);
|
||||
ggml_type type = static_cast<ggml_type>(itype);
|
||||
|
||||
auto * ctx_clip = clip_model_load(fname_inp, 2);
|
||||
auto * ctx_clip = clip_init(fname_inp, clip_context_params{
|
||||
/* use_gpu */ false,
|
||||
/* verbosity */ 2,
|
||||
});
|
||||
|
||||
const auto & ctx_src = ctx_clip->ctx_gguf;
|
||||
const auto & ctx_data = ctx_clip->ctx_data;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue