MCPcopy Create free account
hub / github.com/appdevforall/CodeOnTheGo / clip_is_minicpmv

Function clip_is_minicpmv

subprojects/llama.cpp/tools/mtmd/clip.cpp:3785–3791  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3783}
3784
3785int clip_is_minicpmv(const struct clip_ctx * ctx) {
3786 // TODO: remove this function
3787 if (ctx->proj_type() == PROJECTOR_TYPE_MINICPMV) {
3788 return ctx->model.hparams.minicpmv_version;
3789 }
3790 return 0;
3791}
3792
3793bool clip_is_glm(const struct clip_ctx * ctx) {
3794 // TODO: remove this function

Callers 2

init_visionMethod · 0.85
mtmd_encodeFunction · 0.85

Calls 1

proj_typeMethod · 0.80

Tested by

no test coverage detected