]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
llama : remove redundant assert for StableLM (#4901)
authorGeorgi Gerganov <redacted>
Fri, 12 Jan 2024 18:54:12 +0000 (20:54 +0200)
committerGeorgi Gerganov <redacted>
Fri, 12 Jan 2024 18:54:12 +0000 (20:54 +0200)
llama.cpp

index 29f8873f629e5ea991906d9fc5f3508822c0952e..ce413f605163c5231ed592fa2d3ca427100abc60 100644 (file)
--- a/llama.cpp
+++ b/llama.cpp
@@ -5530,7 +5530,6 @@ struct llm_build_context {
 
         const int64_t n_embd_head = hparams.n_embd_head_v;
         GGML_ASSERT(n_embd_head == hparams.n_embd_head_k);
-        GGML_ASSERT(n_embd_head == hparams.n_rot);
 
         struct ggml_tensor * cur;
         struct ggml_tensor * inpL;