mirror of
				https://github.com/ggml-org/llama.cpp.git
				synced 2025-10-31 08:51:55 +00:00 
			
		
		
		
	imatrix : add warning when legacy format is written
This commit is contained in:
		| @@ -349,8 +349,9 @@ void IMatrixCollector::save_imatrix_legacy(int32_t ncall) const { | |||||||
| void IMatrixCollector::save_imatrix(int32_t n_chunk) const { | void IMatrixCollector::save_imatrix(int32_t n_chunk) const { | ||||||
|     auto fname = m_params.out_file; |     auto fname = m_params.out_file; | ||||||
|  |  | ||||||
|     // TODO: use the new format by default also for .imatrix |     // TODO: use the new format in more cases | ||||||
|     if (!string_ends_with(fname, ".gguf")) { |     if (!string_ends_with(fname, ".gguf")) { | ||||||
|  |         LOG_WRN("\n%s: saving to legacy imatrix format because output suffix is not .gguf\n", __func__); | ||||||
|         this->save_imatrix_legacy(n_chunk); |         this->save_imatrix_legacy(n_chunk); | ||||||
|         return; |         return; | ||||||
|     } |     } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Francis Couture-Harpin
					Francis Couture-Harpin