[LLM] add long time loading disclaimer for LLM model converting (#8279)
This commit is contained in:
		
							parent
							
								
									64bc123dd3
								
							
						
					
					
						commit
						a3f353b939
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
					@ -97,6 +97,7 @@ def _convert_to_ggml(model_path: str, outfile_dir: str,
 | 
				
			||||||
    os.makedirs(outfile_dir, exist_ok=True)
 | 
					    os.makedirs(outfile_dir, exist_ok=True)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    outtype = outtype.replace('p', '')
 | 
					    outtype = outtype.replace('p', '')
 | 
				
			||||||
 | 
					    print("It may takes several minutes to load the original model, please wait...")
 | 
				
			||||||
    if model_family == 'llama':
 | 
					    if model_family == 'llama':
 | 
				
			||||||
        _convert_llama(model_path, outfile_dir, outtype)
 | 
					        _convert_llama(model_path, outfile_dir, outtype)
 | 
				
			||||||
    if model_family == 'gptneox':
 | 
					    if model_family == 'gptneox':
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue