Skip to content

Commit b97ebdc

Browse files
authored
llama-quant : fix --tensor-type when default qtype is overriden (ggml-org#22572)
fix ggml-org#22544 (my fault!) Credit to @Anai-Guo, ref ggml-org#22559 - since that one was closed due to the new contributor policy I am taking the liberty of re-submitting that PR here.
1 parent 2098fd6 commit b97ebdc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/llama-quant.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -683,9 +683,9 @@ static ggml_type llama_tensor_get_type(quantize_state_impl & qs, const llama_mod
683683
LLAMA_LOG_WARN("%s: %-36s - applying manual override: %s -> %s\n",
684684
__func__, tensor_name.c_str(), ggml_type_name(new_type), ggml_type_name(qtype));
685685
new_type = qtype;
686-
manual = true;
687-
break;
688686
}
687+
manual = true;
688+
break;
689689
}
690690
}
691691
}

0 commit comments

Comments
 (0)