added warning message for unsupported K quants

This commit is contained in:
Concedo 2023-06-09 16:09:23 +08:00
parent 01dc509038
commit 73cc5b88fb

View file

@ -1031,7 +1031,7 @@ static void llama_model_load_internal(
#if defined(GGML_USE_CLBLAST)
if (file_version == LLAMA_FILE_VERSION_GGJT_V3) {
if (hparams.ftype >= LLAMA_FTYPE_MOSTLY_Q2_K && hparams.ftype <= LLAMA_FTYPE_MOSTLY_Q6_K) {
printf("\n===\nK-Quants are currently not supported with CLBlast.\nPlease select a q4_0, q4_0, q5_0 or q5_1 format instead.");
printf("\n===\nK-Quants are currently not supported with CLBlast!!!\nPlease select a q4_0, q4_0, q5_0 or q5_1 format instead!\n=====\n");
}
}
#endif