File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -1574,7 +1574,7 @@ struct clip_model_loader {
1574
1574
clip_ctx & ctx_clip;
1575
1575
std::string fname;
1576
1576
1577
- size_t model_size; // in bytes
1577
+ size_t model_size = 0 ; // in bytes
1578
1578
1579
1579
// TODO @ngxson : we should not pass clip_ctx here, it should be clip_vision_model
1580
1580
clip_model_loader (const char * fname, clip_ctx & ctx_clip) : ctx_clip(ctx_clip), fname(fname) {
@@ -1748,6 +1748,8 @@ struct clip_model_loader {
1748
1748
LOG_INF (" %s: minicpmv_version: %d\n " , __func__, ctx_clip.minicpmv_version );
1749
1749
LOG_INF (" %s: proj_scale_factor: %d\n " , __func__, hparams.proj_scale_factor );
1750
1750
LOG_INF (" %s: n_wa_pattern: %d\n " , __func__, hparams.n_wa_pattern );
1751
+ LOG_INF (" %s: use_silu: %d\n " , __func__, ctx_clip.use_silu );
1752
+ LOG_INF (" %s: use_gelu: %d\n " , __func__, ctx_clip.use_gelu );
1751
1753
LOG_INF (" %s: model size: %.2f MiB\n " , __func__, model_size / 1024.0 / 1024.0 );
1752
1754
LOG_INF (" %s: metadata size: %.2f MiB\n " , __func__, ggml_get_mem_size (ctx_meta.get ()) / 1024.0 / 1024.0 );
1753
1755
}
You can’t perform that action at this time.
0 commit comments