File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -407,10 +407,7 @@ def handle_args():
407407
408408def  main ():
409409    cfg  =  handle_args ()
410-     if  cfg .verbose :
411-         logging .basicConfig (level = logging .DEBUG )
412-     else :
413-         logging .basicConfig (level = logging .INFO )
410+     logging .basicConfig (level = logging .DEBUG  if  cfg .verbose  else  logging .INFO )
414411    logger .info (f'* Using config: { cfg }  )
415412    logger .warning ('=== WARNING === Be aware that this conversion script is best-effort. Use a native GGUF model if possible. === WARNING ===' )
416413    if  cfg .model_metadata_dir  is  None  and  (cfg .gqa  ==  1  or  cfg .eps  ==  '5.0e-06' ):
Original file line number Diff line number Diff line change 6767    parser .print_help ()
6868    sys .exit (0 )
6969
70- if  known_args .verbose :
71-     logging .basicConfig (level = logging .DEBUG )
72- else :
73-     logging .basicConfig (level = logging .INFO )
70+ logging .basicConfig (level = logging .DEBUG  if  known_args .verbose  else  logging .INFO )
7471
7572props  =  dict ()
7673
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments