File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -331,7 +331,6 @@ struct clip_ctx {
331331 float image_std[3 ];
332332 bool use_gelu = false ;
333333 bool use_silu = false ;
334- int32_t ftype = 1 ;
335334
336335 struct gguf_context * ctx_gguf = nullptr ;
337336 struct ggml_context * ctx_data = nullptr ;
@@ -1141,9 +1140,6 @@ struct clip_model_loader {
11411140
11421141 // print gguf info
11431142 {
1144- int ftype = -1 ;
1145- get_u32 (KEY_FTYPE, ftype, false );
1146- const std::string ftype_str = ggml_type_name (static_cast <ggml_type>(ftype));
11471143 std::string name;
11481144 get_string (KEY_NAME, name, false );
11491145 std::string description;
@@ -1154,7 +1150,6 @@ struct clip_model_loader {
11541150 LOG_INF (" %s: alignment: %zu\n " , __func__, gguf_get_alignment (ctx_gguf.get ()));
11551151 LOG_INF (" %s: n_tensors: %d\n " , __func__, n_tensors);
11561152 LOG_INF (" %s: n_kv: %d\n " , __func__, (int )gguf_get_n_kv (ctx_gguf.get ()));
1157- LOG_INF (" %s: ftype: %s\n " , __func__, ftype_str.c_str ());
11581153 LOG_INF (" \n " );
11591154 }
11601155
You can’t perform that action at this time.
0 commit comments