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 ;
@@ -1142,9 +1141,6 @@ struct clip_model_loader {
11421141
11431142        //  print gguf info
11441143        {
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));
11481144            std::string name;
11491145            get_string (KEY_NAME, name, false );
11501146            std::string description;
@@ -1155,7 +1151,6 @@ struct clip_model_loader {
11551151            LOG_INF (" %s: alignment:    %zu\n "  , __func__, gguf_get_alignment (ctx_gguf.get ()));
11561152            LOG_INF (" %s: n_tensors:    %d\n "  ,  __func__, n_tensors);
11571153            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 ());
11591154            LOG_INF (" \n "  );
11601155        }
11611156
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments