From a5c7f9e749230aecfb1ea455cb2d4c6d3155d7c9 Mon Sep 17 00:00:00 2001 From: Colin Kealty <3266127+bartowski1182@users.noreply.github.com> Date: Wed, 2 Apr 2025 23:02:06 -0400 Subject: [PATCH] Remove trailing whitespaces --- src/llama-quant.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/llama-quant.cpp b/src/llama-quant.cpp index e108a82f37..aa5f64e250 100644 --- a/src/llama-quant.cpp +++ b/src/llama-quant.cpp @@ -318,7 +318,7 @@ static ggml_type llama_tensor_get_type(quantize_state_impl & qs, ggml_type new_t } ++qs.i_ffn_down; } - else if (qs.model.hparams.n_expert >= 8 && name.find("ffn_gate.weight") != std::string::npos) { + else if (qs.model.hparams.n_expert >= 8 && name.find("ffn_gate.weight") != std::string::npos) { if (qs.i_ffn_gate < qs.n_ffn_gate/16) { new_type = GGML_TYPE_Q4_K; } @@ -327,7 +327,7 @@ static ggml_type llama_tensor_get_type(quantize_state_impl & qs, ggml_type new_t } ++qs.i_ffn_gate; } - else if (qs.model.hparams.n_expert >= 8 && name.find("ffn_up.weight") != std::string::npos) { + else if (qs.model.hparams.n_expert >= 8 && name.find("ffn_up.weight") != std::string::npos) { if (qs.i_ffn_up < qs.n_ffn_up/16) { new_type = GGML_TYPE_Q4_K; }