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

Function clip_is_glm

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

Source from the content-addressed store, hash-verified

3791}
3792
3793bool clip_is_glm(const struct clip_ctx * ctx) {
3794 // TODO: remove this function
3795 return ctx->proj_type() == PROJECTOR_TYPE_GLM_EDGE;
3796}
3797
3798bool clip_is_llava(const struct clip_ctx * ctx) {
3799 return ctx->model.hparams.has_llava_projector;

Callers 1

mtmd_encodeFunction · 0.85

Calls 1

proj_typeMethod · 0.80

Tested by

no test coverage detected