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 {
331
331
float image_std[3 ];
332
332
bool use_gelu = false ;
333
333
bool use_silu = false ;
334
- int32_t ftype = 1 ;
335
334
336
335
struct gguf_context * ctx_gguf = nullptr ;
337
336
struct ggml_context * ctx_data = nullptr ;
@@ -1142,9 +1141,6 @@ struct clip_model_loader {
1142
1141
1143
1142
// print gguf info
1144
1143
{
1145
- int ftype = -1 ;
1146
- get_u32 (KEY_FTYPE, ftype, false );
1147
- const std::string ftype_str = ggml_type_name (static_cast <ggml_type>(ftype));
1148
1144
std::string name;
1149
1145
get_string (KEY_NAME, name, false );
1150
1146
std::string description;
@@ -1155,7 +1151,6 @@ struct clip_model_loader {
1155
1151
LOG_INF (" %s: alignment: %zu\n " , __func__, gguf_get_alignment (ctx_gguf.get ()));
1156
1152
LOG_INF (" %s: n_tensors: %d\n " , __func__, n_tensors);
1157
1153
LOG_INF (" %s: n_kv: %d\n " , __func__, (int )gguf_get_n_kv (ctx_gguf.get ()));
1158
- LOG_INF (" %s: ftype: %s\n " , __func__, ftype_str.c_str ());
1159
1154
LOG_INF (" \n " );
1160
1155
}
1161
1156
You can’t perform that action at this time.
0 commit comments