mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2025-06-29 12:35:16 +00:00
imatrix : avoid returning from void function save_imatrix
This commit is contained in:
@ -348,7 +348,8 @@ void IMatrixCollector::save_imatrix(int32_t n_chunk) const {
|
||||
|
||||
// TODO: use the new format by default also for .imatrix
|
||||
if (!str_has_suffix(fname, ".gguf")) {
|
||||
return this->save_imatrix_legacy(n_chunk);
|
||||
this->save_imatrix_legacy(n_chunk);
|
||||
return;
|
||||
}
|
||||
|
||||
if (n_chunk > 0) {
|
||||
|
Reference in New Issue
Block a user