mirror of
				https://github.com/ggml-org/llama.cpp.git
				synced 2025-10-31 08:51:55 +00:00 
			
		
		
		
	convert_lora : fix default filename
The default filename was previously hardcoded. * convert_hf : Model.fname_out can no longer be None
This commit is contained in:
		| @@ -290,7 +290,7 @@ if __name__ == '__main__': | ||||
|         fname_out = args.outfile | ||||
|     else: | ||||
|         # output in the same directory as the model by default | ||||
|         fname_out = dir_lora / 'ggml-lora-{ftype}.gguf' | ||||
|         fname_out = dir_lora | ||||
|  | ||||
|     if os.path.exists(input_model): | ||||
|         # lazy import load_file only if lora is in safetensors format. | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Francis Couture-Harpin
					Francis Couture-Harpin