Skip to content

Commit 6692656

Browse files
committed
rm redundant code
1 parent b7f5024 commit 6692656

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/llama-quant.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -894,9 +894,6 @@ static void llama_model_quantize_impl(const std::string & fname_inp, const std::
894894
if (params->token_embedding_type < GGML_TYPE_COUNT && strcmp(tensor->name, "token_embd.weight") == 0) {
895895
new_type = params->token_embedding_type;
896896
}
897-
if (params->token_embedding_type < GGML_TYPE_COUNT && strcmp(tensor->name, "per_layer_token_embd.weight") == 0) {
898-
new_type = params->token_embedding_type;
899-
}
900897
if (params->output_tensor_type < GGML_TYPE_COUNT && strcmp(tensor->name, "output.weight") == 0) {
901898
new_type = params->output_tensor_type;
902899
}

0 commit comments

Comments
 (0)