PR comment

This commit is contained in:
Iwan Kawrakow 2023-08-26 16:44:22 +03:00
parent 6544756895
commit 3979af1e58

View file

@ -4683,8 +4683,8 @@ static void llama_model_quantize_internal(const std::string & fname_inp, const s
} }
} }
if (n_attention_wv != n_feed_forward_w2 || (uint32_t)n_attention_wv != model.hparams.n_layer) { if (n_attention_wv != n_feed_forward_w2 || (uint32_t)n_attention_wv != model.hparams.n_layer) {
fprintf(stderr, "============ Strange model: n_attention_wv = %d, n_feed_forward_w2 = %d, hparams.n_layer = %d\n", LLAMA_LOG_WARN("%s ============ Strange model: n_attention_wv = %d, n_feed_forward_w2 = %d, hparams.n_layer = %d\n",
n_attention_wv, n_feed_forward_w2, model.hparams.n_layer); __func__, n_attention_wv, n_feed_forward_w2, model.hparams.n_layer);
} }
int i_attention_wv = 0; int i_attention_wv = 0;