Skip to content

Commit a5c7f9e

Browse files
committed
Remove trailing whitespaces
1 parent 502812b commit a5c7f9e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/llama-quant.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ static ggml_type llama_tensor_get_type(quantize_state_impl & qs, ggml_type new_t
318318
}
319319
++qs.i_ffn_down;
320320
}
321-
else if (qs.model.hparams.n_expert >= 8 && name.find("ffn_gate.weight") != std::string::npos) {
321+
else if (qs.model.hparams.n_expert >= 8 && name.find("ffn_gate.weight") != std::string::npos) {
322322
if (qs.i_ffn_gate < qs.n_ffn_gate/16) {
323323
new_type = GGML_TYPE_Q4_K;
324324
}
@@ -327,7 +327,7 @@ static ggml_type llama_tensor_get_type(quantize_state_impl & qs, ggml_type new_t
327327
}
328328
++qs.i_ffn_gate;
329329
}
330-
else if (qs.model.hparams.n_expert >= 8 && name.find("ffn_up.weight") != std::string::npos) {
330+
else if (qs.model.hparams.n_expert >= 8 && name.find("ffn_up.weight") != std::string::npos) {
331331
if (qs.i_ffn_up < qs.n_ffn_up/16) {
332332
new_type = GGML_TYPE_Q4_K;
333333
}

0 commit comments

Comments
 (0)