Преглед изворни кода

Fix whitespace / end-of-line newline issues.

Piotr Wilkin пре 3 месеци
родитељ
комит
397cd9fd67
100 измењених фајлова са 104 додато и 101 уклоњено
  1. 1 1
      src/models/llm_build_arcee.cpp
  2. 1 1
      src/models/llm_build_arcee.h
  3. 1 1
      src/models/llm_build_arctic.cpp
  4. 1 1
      src/models/llm_build_arctic.h
  5. 1 1
      src/models/llm_build_arwkv7.cpp
  6. 1 1
      src/models/llm_build_arwkv7.h
  7. 1 1
      src/models/llm_build_baichuan.cpp
  8. 1 1
      src/models/llm_build_baichuan.h
  9. 1 1
      src/models/llm_build_bailingmoe.cpp
  10. 1 1
      src/models/llm_build_bailingmoe.h
  11. 1 1
      src/models/llm_build_bert.cpp
  12. 1 1
      src/models/llm_build_bert.h
  13. 1 1
      src/models/llm_build_bitnet.cpp
  14. 1 1
      src/models/llm_build_bitnet.h
  15. 1 1
      src/models/llm_build_bloom.cpp
  16. 1 1
      src/models/llm_build_bloom.h
  17. 1 1
      src/models/llm_build_chameleon.cpp
  18. 1 1
      src/models/llm_build_chameleon.h
  19. 1 1
      src/models/llm_build_chatglm.cpp
  20. 1 1
      src/models/llm_build_chatglm.h
  21. 1 1
      src/models/llm_build_codeshell.cpp
  22. 1 1
      src/models/llm_build_codeshell.h
  23. 1 1
      src/models/llm_build_cohere2_iswa.cpp
  24. 1 1
      src/models/llm_build_cohere2_iswa.h
  25. 1 1
      src/models/llm_build_command_r.h
  26. 1 1
      src/models/llm_build_dbrx.cpp
  27. 1 1
      src/models/llm_build_dbrx.h
  28. 1 1
      src/models/llm_build_deci.h
  29. 1 1
      src/models/llm_build_deepseek.h
  30. 1 1
      src/models/llm_build_deepseek2.h
  31. 1 1
      src/models/llm_build_dots1.h
  32. 1 1
      src/models/llm_build_dream.h
  33. 1 1
      src/models/llm_build_ernie4_5.h
  34. 1 1
      src/models/llm_build_ernie4_5_moe.h
  35. 1 1
      src/models/llm_build_exaone.h
  36. 1 1
      src/models/llm_build_exaone4.h
  37. 1 1
      src/models/llm_build_falcon.cpp
  38. 1 1
      src/models/llm_build_falcon.h
  39. 1 1
      src/models/llm_build_falcon_h1.h
  40. 1 1
      src/models/llm_build_gemma.cpp
  41. 1 1
      src/models/llm_build_gemma.h
  42. 1 1
      src/models/llm_build_gemma2_iswa.cpp
  43. 1 1
      src/models/llm_build_gemma2_iswa.h
  44. 1 1
      src/models/llm_build_gemma3_iswa.cpp
  45. 1 1
      src/models/llm_build_gemma3_iswa.h
  46. 1 1
      src/models/llm_build_gemma3n_iswa.h
  47. 1 1
      src/models/llm_build_gemma_embedding_iswa.h
  48. 1 1
      src/models/llm_build_glm4.h
  49. 1 1
      src/models/llm_build_glm4_moe.cpp
  50. 1 1
      src/models/llm_build_glm4_moe.h
  51. 1 1
      src/models/llm_build_gpt2.cpp
  52. 1 1
      src/models/llm_build_gpt2.h
  53. 1 1
      src/models/llm_build_gptneox.cpp
  54. 1 1
      src/models/llm_build_gptneox.h
  55. 1 1
      src/models/llm_build_granite.cpp
  56. 1 1
      src/models/llm_build_granite.h
  57. 3 2
      src/models/llm_build_granite_hybrid.h
  58. 1 1
      src/models/llm_build_grok.cpp
  59. 1 1
      src/models/llm_build_grok.h
  60. 1 1
      src/models/llm_build_hunyuan_dense.cpp
  61. 1 1
      src/models/llm_build_hunyuan_dense.h
  62. 1 1
      src/models/llm_build_hunyuan_moe.cpp
  63. 1 1
      src/models/llm_build_hunyuan_moe.h
  64. 1 1
      src/models/llm_build_internlm2.cpp
  65. 1 1
      src/models/llm_build_internlm2.h
  66. 1 1
      src/models/llm_build_jais.cpp
  67. 1 1
      src/models/llm_build_jais.h
  68. 1 1
      src/models/llm_build_jamba.cpp
  69. 1 1
      src/models/llm_build_jamba.h
  70. 1 0
      src/models/llm_build_lfm2.cpp
  71. 3 3
      src/models/llm_build_lfm2.h
  72. 1 1
      src/models/llm_build_llada.cpp
  73. 1 1
      src/models/llm_build_llada.h
  74. 1 1
      src/models/llm_build_llada_moe.cpp
  75. 1 1
      src/models/llm_build_llada_moe.h
  76. 1 1
      src/models/llm_build_llama.cpp
  77. 1 1
      src/models/llm_build_llama.h
  78. 1 1
      src/models/llm_build_llama_iswa.h
  79. 1 0
      src/models/llm_build_mamba.cpp
  80. 1 1
      src/models/llm_build_mamba.h
  81. 1 1
      src/models/llm_build_minicpm3.cpp
  82. 1 1
      src/models/llm_build_minicpm3.h
  83. 1 1
      src/models/llm_build_mpt.cpp
  84. 1 1
      src/models/llm_build_mpt.h
  85. 1 1
      src/models/llm_build_nemotron.cpp
  86. 1 1
      src/models/llm_build_nemotron.h
  87. 1 1
      src/models/llm_build_nemotron_h.h
  88. 1 1
      src/models/llm_build_neo_bert.cpp
  89. 1 1
      src/models/llm_build_neo_bert.h
  90. 1 1
      src/models/llm_build_olmo.cpp
  91. 1 1
      src/models/llm_build_olmo.h
  92. 1 1
      src/models/llm_build_olmo2.h
  93. 1 1
      src/models/llm_build_olmoe.cpp
  94. 1 1
      src/models/llm_build_olmoe.h
  95. 1 1
      src/models/llm_build_openai_moe_iswa.cpp
  96. 1 1
      src/models/llm_build_openai_moe_iswa.h
  97. 1 1
      src/models/llm_build_openelm.cpp
  98. 1 1
      src/models/llm_build_openelm.h
  99. 1 1
      src/models/llm_build_orion.cpp
  100. 1 1
      src/models/llm_build_orion.h

+ 1 - 1
src/models/llm_build_arcee.cpp

@@ -136,4 +136,4 @@ llm_build_arcee::llm_build_arcee(const llama_model & model, const llm_graph_para
     res->t_logits = cur;
 
     ggml_build_forward_expand(gf, cur);
-}
+}

+ 1 - 1
src/models/llm_build_arcee.h

@@ -7,4 +7,4 @@
 
 struct llm_build_arcee : public llm_graph_context {
     llm_build_arcee(const llama_model & model, const llm_graph_params & params);
-};
+};

+ 1 - 1
src/models/llm_build_arctic.cpp

@@ -139,4 +139,4 @@ llm_build_arctic::llm_build_arctic(const llama_model & model, const llm_graph_pa
     res->t_logits = cur;
 
     ggml_build_forward_expand(gf, cur);
-}
+}

+ 1 - 1
src/models/llm_build_arctic.h

@@ -7,4 +7,4 @@
 
 struct llm_build_arctic : public llm_graph_context {
     llm_build_arctic(const llama_model & model, const llm_graph_params & params);
-};
+};

+ 1 - 1
src/models/llm_build_arwkv7.cpp

@@ -88,4 +88,4 @@ llm_build_arwkv7::llm_build_arwkv7(const llama_model & model, const llm_graph_pa
     res->t_logits = cur;
 
     ggml_build_forward_expand(gf, cur);
-}
+}

+ 1 - 1
src/models/llm_build_arwkv7.h

@@ -8,4 +8,4 @@
 
 struct llm_build_arwkv7 : public llm_build_rwkv7_base {
     llm_build_arwkv7(const llama_model & model, const llm_graph_params & params);
-};
+};

+ 1 - 1
src/models/llm_build_baichuan.cpp

@@ -128,4 +128,4 @@ llm_build_baichuan::llm_build_baichuan(const llama_model & model, const llm_grap
     res->t_logits = cur;
 
     ggml_build_forward_expand(gf, cur);
-}
+}

+ 1 - 1
src/models/llm_build_baichuan.h

@@ -7,4 +7,4 @@
 
 struct llm_build_baichuan : public llm_graph_context {
     llm_build_baichuan(const llama_model & model, const llm_graph_params & params);
-};
+};

+ 1 - 1
src/models/llm_build_bailingmoe.cpp

@@ -145,4 +145,4 @@ llm_build_bailingmoe::llm_build_bailingmoe(const llama_model & model, const llm_
     res->t_logits = cur;
 
     ggml_build_forward_expand(gf, cur);
-}
+}

+ 1 - 1
src/models/llm_build_bailingmoe.h

@@ -7,4 +7,4 @@
 
 struct llm_build_bailingmoe : public llm_graph_context {
     llm_build_bailingmoe(const llama_model & model, const llm_graph_params & params);
-};
+};

+ 1 - 1
src/models/llm_build_bert.cpp

@@ -191,4 +191,4 @@ llm_build_bert::llm_build_bert(const llama_model & model, const llm_graph_params
     res->t_embd = cur;
 
     ggml_build_forward_expand(gf, cur);
-}
+}

+ 1 - 1
src/models/llm_build_bert.h

@@ -7,4 +7,4 @@
 
 struct llm_build_bert : public llm_graph_context {
     llm_build_bert(const llama_model & model, const llm_graph_params & params);
-};
+};

+ 1 - 1
src/models/llm_build_bitnet.cpp

@@ -161,4 +161,4 @@ llm_build_bitnet::llm_build_bitnet(const llama_model & model, const llm_graph_pa
     res->t_logits = cur;
 
     ggml_build_forward_expand(gf, cur);
-}
+}

+ 1 - 1
src/models/llm_build_bitnet.h

@@ -7,4 +7,4 @@
 
 struct llm_build_bitnet : public llm_graph_context {
     llm_build_bitnet(const llama_model & model, const llm_graph_params & params);
-};
+};

+ 1 - 1
src/models/llm_build_bloom.cpp

@@ -102,4 +102,4 @@ llm_build_bloom::llm_build_bloom(const llama_model & model, const llm_graph_para
     res->t_logits = cur;
 
     ggml_build_forward_expand(gf, cur);
-}
+}

+ 1 - 1
src/models/llm_build_bloom.h

@@ -7,4 +7,4 @@
 
 struct llm_build_bloom : public llm_graph_context {
     llm_build_bloom(const llama_model & model, const llm_graph_params & params);
-};
+};

+ 1 - 1
src/models/llm_build_chameleon.cpp

@@ -179,4 +179,4 @@ llm_build_chameleon::llm_build_chameleon(const llama_model & model, const llm_gr
     res->t_logits = cur;
 
     ggml_build_forward_expand(gf, cur);
-}
+}

+ 1 - 1
src/models/llm_build_chameleon.h

@@ -7,4 +7,4 @@
 
 struct llm_build_chameleon : public llm_graph_context {
     llm_build_chameleon(const llama_model & model, const llm_graph_params & params);
-};
+};

+ 1 - 1
src/models/llm_build_chatglm.cpp

@@ -133,4 +133,4 @@ llm_build_chatglm::llm_build_chatglm(const llama_model & model, const llm_graph_
     res->t_logits = cur;
 
     ggml_build_forward_expand(gf, cur);
-}
+}

+ 1 - 1
src/models/llm_build_chatglm.h

@@ -7,4 +7,4 @@
 
 struct llm_build_chatglm : public llm_graph_context {
     llm_build_chatglm(const llama_model & model, const llm_graph_params & params);
-};
+};

+ 1 - 1
src/models/llm_build_codeshell.cpp

@@ -112,4 +112,4 @@ llm_build_codeshell::llm_build_codeshell(const llama_model & model, const llm_gr
     res->t_logits = cur;
 
     ggml_build_forward_expand(gf, cur);
-}
+}

+ 1 - 1
src/models/llm_build_codeshell.h

@@ -7,4 +7,4 @@
 
 struct llm_build_codeshell : public llm_graph_context {
     llm_build_codeshell(const llama_model & model, const llm_graph_params & params);
-};
+};

+ 1 - 1
src/models/llm_build_cohere2_iswa.cpp

@@ -130,4 +130,4 @@ llm_build_cohere2_iswa::llm_build_cohere2_iswa(const llama_model & model, const
     res->t_logits = cur;
 
     ggml_build_forward_expand(gf, cur);
-}
+}

+ 1 - 1
src/models/llm_build_cohere2_iswa.h

@@ -7,4 +7,4 @@
 
 struct llm_build_cohere2_iswa : public llm_graph_context {
     llm_build_cohere2_iswa(const llama_model & model, const llm_graph_params & params);
-};
+};

+ 1 - 1
src/models/llm_build_command_r.h

@@ -7,4 +7,4 @@
 
 struct llm_build_command_r : public llm_graph_context {
     llm_build_command_r(const llama_model & model, const llm_graph_params & params);
-};
+};

+ 1 - 1
src/models/llm_build_dbrx.cpp

@@ -124,4 +124,4 @@ llm_build_dbrx::llm_build_dbrx(const llama_model & model, const llm_graph_params
     res->t_logits = cur;
 
     ggml_build_forward_expand(gf, cur);
-}
+}

+ 1 - 1
src/models/llm_build_dbrx.h

@@ -7,4 +7,4 @@
 
 struct llm_build_dbrx : public llm_graph_context {
     llm_build_dbrx(const llama_model & model, const llm_graph_params & params);
-};
+};

+ 1 - 1
src/models/llm_build_deci.h

@@ -7,4 +7,4 @@
 
 struct llm_build_deci : public llm_graph_context {
     llm_build_deci(const llama_model & model, const llm_graph_params & params);
-};
+};

+ 1 - 1
src/models/llm_build_deepseek.h

@@ -7,4 +7,4 @@
 
 struct llm_build_deepseek : public llm_graph_context {
     llm_build_deepseek(const llama_model & model, const llm_graph_params & params);
-};
+};

+ 1 - 1
src/models/llm_build_deepseek2.h

@@ -7,4 +7,4 @@
 
 struct llm_build_deepseek2 : public llm_graph_context {
     llm_build_deepseek2(const llama_model & model, const llm_graph_params & params);
-};
+};

+ 1 - 1
src/models/llm_build_dots1.h

@@ -7,4 +7,4 @@
 
 struct llm_build_dots1 : public llm_graph_context {
     llm_build_dots1(const llama_model & model, const llm_graph_params & params);
-};
+};

+ 1 - 1
src/models/llm_build_dream.h

@@ -7,4 +7,4 @@
 
 struct llm_build_dream : public llm_graph_context {
     llm_build_dream(const llama_model & model, const llm_graph_params & params);
-};
+};

+ 1 - 1
src/models/llm_build_ernie4_5.h

@@ -7,4 +7,4 @@
 
 struct llm_build_ernie4_5 : public llm_graph_context {
     llm_build_ernie4_5(const llama_model & model, const llm_graph_params & params);
-};
+};

+ 1 - 1
src/models/llm_build_ernie4_5_moe.h

@@ -7,4 +7,4 @@
 
 struct llm_build_ernie4_5_moe : public llm_graph_context {
     llm_build_ernie4_5_moe(const llama_model & model, const llm_graph_params & params);
-};
+};

+ 1 - 1
src/models/llm_build_exaone.h

@@ -7,4 +7,4 @@
 
 struct llm_build_exaone : public llm_graph_context {
     llm_build_exaone(const llama_model & model, const llm_graph_params & params);
-};
+};

+ 1 - 1
src/models/llm_build_exaone4.h

@@ -8,4 +8,4 @@
 template <bool iswa>
 struct llm_build_exaone4 : public llm_graph_context {
     llm_build_exaone4(const llama_model & model, const llm_graph_params & params);
-};
+};

+ 1 - 1
src/models/llm_build_falcon.cpp

@@ -121,4 +121,4 @@ llm_build_falcon::llm_build_falcon(const llama_model & model, const llm_graph_pa
     res->t_logits = cur;
 
     ggml_build_forward_expand(gf, cur);
-}
+}

+ 1 - 1
src/models/llm_build_falcon.h

@@ -7,4 +7,4 @@
 
 struct llm_build_falcon : public llm_graph_context {
     llm_build_falcon(const llama_model & model, const llm_graph_params & params);
-};
+};

+ 1 - 1
src/models/llm_build_falcon_h1.h

@@ -8,4 +8,4 @@
 
 struct llm_build_falcon_h1 : public llm_graph_context_mamba {
     llm_build_falcon_h1(const llama_model & model, const llm_graph_params & params);
-};
+};

+ 1 - 1
src/models/llm_build_gemma.cpp

@@ -117,4 +117,4 @@ llm_build_gemma::llm_build_gemma(const llama_model & model, const llm_graph_para
     res->t_logits = cur;
 
     ggml_build_forward_expand(gf, cur);
-}
+}

+ 1 - 1
src/models/llm_build_gemma.h

@@ -7,4 +7,4 @@
 
 struct llm_build_gemma : public llm_graph_context {
     llm_build_gemma(const llama_model & model, const llm_graph_params & params);
-};
+};

+ 1 - 1
src/models/llm_build_gemma2_iswa.cpp

@@ -130,4 +130,4 @@ llm_build_gemma2_iswa::llm_build_gemma2_iswa(const llama_model & model, const ll
         res->t_logits = cur;
 
         ggml_build_forward_expand(gf, cur);
-}
+}

+ 1 - 1
src/models/llm_build_gemma2_iswa.h

@@ -7,4 +7,4 @@
 
 struct llm_build_gemma2_iswa : public llm_graph_context {
     llm_build_gemma2_iswa(const llama_model & model, const llm_graph_params & params);
-};
+};

+ 1 - 1
src/models/llm_build_gemma3_iswa.cpp

@@ -137,4 +137,4 @@ llm_build_gemma3_iswa::llm_build_gemma3_iswa(const llama_model & model, const ll
         res->t_logits = cur;
 
         ggml_build_forward_expand(gf, cur);
-}
+}

+ 1 - 1
src/models/llm_build_gemma3_iswa.h

@@ -7,4 +7,4 @@
 
 struct llm_build_gemma3_iswa : public llm_graph_context {
     llm_build_gemma3_iswa(const llama_model & model, const llm_graph_params & params);
-};
+};

+ 1 - 1
src/models/llm_build_gemma3n_iswa.h

@@ -25,4 +25,4 @@ struct llm_build_gemma3n_iswa : public llm_graph_context {
     ggml_tensor * altup_predict(ggml_tensor * cur, int il);
     ggml_tensor * laurel(ggml_tensor * cur, int il);
     ggml_tensor * altup_correct(ggml_tensor * predictions, ggml_tensor * activated, int il);
-};
+};

+ 1 - 1
src/models/llm_build_gemma_embedding_iswa.h

@@ -7,4 +7,4 @@
 
 struct llm_build_gemma_embedding_iswa : public llm_graph_context {
     llm_build_gemma_embedding_iswa(const llama_model & model, const llm_graph_params & params);
-};
+};

+ 1 - 1
src/models/llm_build_glm4.h

@@ -7,4 +7,4 @@
 
 struct llm_build_glm4 : public llm_graph_context {
     llm_build_glm4(const llama_model & model, const llm_graph_params & params);
-};
+};

+ 1 - 1
src/models/llm_build_glm4_moe.cpp

@@ -159,4 +159,4 @@ llm_build_glm4_moe::llm_build_glm4_moe(const llama_model & model, const llm_grap
         res->t_logits = cur;
 
         ggml_build_forward_expand(gf, cur);
-}
+}

+ 1 - 1
src/models/llm_build_glm4_moe.h

@@ -7,4 +7,4 @@
 
 struct llm_build_glm4_moe : public llm_graph_context {
     llm_build_glm4_moe(const llama_model & model, const llm_graph_params & params);
-};
+};

+ 1 - 1
src/models/llm_build_gpt2.cpp

@@ -106,4 +106,4 @@ llm_build_gpt2::llm_build_gpt2(const llama_model & model, const llm_graph_params
     res->t_logits = cur;
 
     ggml_build_forward_expand(gf, cur);
-}
+}

+ 1 - 1
src/models/llm_build_gpt2.h

@@ -7,4 +7,4 @@
 
 struct llm_build_gpt2 : public llm_graph_context {
     llm_build_gpt2(const llama_model & model, const llm_graph_params & params);
-};
+};

+ 1 - 1
src/models/llm_build_gptneox.cpp

@@ -148,4 +148,4 @@ llm_build_gptneox::llm_build_gptneox(const llama_model & model, const llm_graph_
     res->t_logits = cur;
 
     ggml_build_forward_expand(gf, cur);
-}
+}

+ 1 - 1
src/models/llm_build_gptneox.h

@@ -7,4 +7,4 @@
 
 struct llm_build_gptneox : public llm_graph_context {
     llm_build_gptneox(const llama_model & model, const llm_graph_params & params);
-};
+};

+ 1 - 1
src/models/llm_build_granite.cpp

@@ -220,4 +220,4 @@ ggml_tensor * llm_build_granite::build_layer_ffn(
     cb(cur, "l_out", il);
 
     return cur;
-}
+}

+ 1 - 1
src/models/llm_build_granite.h

@@ -22,4 +22,4 @@ private:
               ggml_tensor       * inpSA,
         const llama_model       & model,
         const int                 il);
-};
+};

+ 3 - 2
src/models/llm_build_granite_hybrid.h

@@ -8,6 +8,7 @@
 struct llm_build_granite_hybrid : public llm_graph_context_mamba {
     llm_build_granite_hybrid(const llama_model & model, const llm_graph_params & params);
     ggml_tensor * build_layer_ffn(ggml_tensor * cur, ggml_tensor * inpSA, const llama_model & model, const int il);
-    ggml_tensor * build_attention_layer(ggml_tensor * cur, ggml_tensor * inp_pos, llm_graph_input_attn_kv * inp_attn, 
+    ggml_tensor * build_attention_layer(ggml_tensor * cur, ggml_tensor * inp_pos, llm_graph_input_attn_kv * inp_attn,
         const llama_model & model,const int64_t n_embd_head, const int il);
-};
+};
+

+ 1 - 1
src/models/llm_build_grok.cpp

@@ -169,4 +169,4 @@ llm_build_grok::llm_build_grok(const llama_model & model, const llm_graph_params
         res->t_logits = cur;
 
         ggml_build_forward_expand(gf, cur);
-}
+}

+ 1 - 1
src/models/llm_build_grok.h

@@ -7,4 +7,4 @@
 
 struct llm_build_grok : public llm_graph_context {
     llm_build_grok(const llama_model & model, const llm_graph_params & params);
-};
+};

+ 1 - 1
src/models/llm_build_hunyuan_dense.cpp

@@ -133,4 +133,4 @@ llm_build_hunyuan_dense::llm_build_hunyuan_dense(const llama_model & model, cons
         res->t_logits = cur;
 
         ggml_build_forward_expand(gf, cur);
-}
+}

+ 1 - 1
src/models/llm_build_hunyuan_dense.h

@@ -7,4 +7,4 @@
 
 struct llm_build_hunyuan_dense : public llm_graph_context {
     llm_build_hunyuan_dense(const llama_model & model, const llm_graph_params & params);
-};
+};

+ 1 - 1
src/models/llm_build_hunyuan_moe.cpp

@@ -161,4 +161,4 @@ llm_build_hunyuan_moe::llm_build_hunyuan_moe(const llama_model & model, const ll
         res->t_logits = cur;
 
         ggml_build_forward_expand(gf, cur);
-}
+}

+ 1 - 1
src/models/llm_build_hunyuan_moe.h

@@ -7,4 +7,4 @@
 
 struct llm_build_hunyuan_moe : public llm_graph_context {
     llm_build_hunyuan_moe(const llama_model & model, const llm_graph_params & params);
-};
+};

+ 1 - 1
src/models/llm_build_internlm2.cpp

@@ -128,4 +128,4 @@ llm_build_internlm2::llm_build_internlm2(const llama_model & model, const llm_gr
         res->t_logits = cur;
 
         ggml_build_forward_expand(gf, cur);
-}
+}

+ 1 - 1
src/models/llm_build_internlm2.h

@@ -7,4 +7,4 @@
 
 struct llm_build_internlm2 : public llm_graph_context {
     llm_build_internlm2(const llama_model & model, const llm_graph_params & params);
-};
+};

+ 1 - 1
src/models/llm_build_jais.cpp

@@ -87,4 +87,4 @@ llm_build_jais::llm_build_jais(const llama_model & model, const llm_graph_params
         res->t_logits = cur;
 
         ggml_build_forward_expand(gf, cur);
-}
+}

+ 1 - 1
src/models/llm_build_jais.h

@@ -7,4 +7,4 @@
 
 struct llm_build_jais : public llm_graph_context {
     llm_build_jais(const llama_model & model, const llm_graph_params & params);
-};
+};

+ 1 - 1
src/models/llm_build_jamba.cpp

@@ -112,4 +112,4 @@ llm_build_jamba::llm_build_jamba(const llama_model & model, const llm_graph_para
         res->t_logits = cur;
 
         ggml_build_forward_expand(gf, cur);
-}
+}

+ 1 - 1
src/models/llm_build_jamba.h

@@ -8,4 +8,4 @@
 
 struct llm_build_jamba : public llm_graph_context_mamba {
     llm_build_jamba(const llama_model & model, const llm_graph_params & params);
-};
+};

+ 1 - 0
src/models/llm_build_lfm2.cpp

@@ -158,3 +158,4 @@ ggml_tensor * llm_build_lfm2::build_shortconv_block(ggml_tensor * cur, llm_graph
 
     return y;
 }
+

+ 3 - 3
src/models/llm_build_lfm2.h

@@ -7,10 +7,10 @@
 
 struct llm_build_lfm2 : public llm_graph_context {
     const llama_model & model;
-    
+
     llm_build_lfm2(const llama_model & model, const llm_graph_params & params);
     ggml_tensor * build_feed_forward(ggml_tensor * cur, int il) const;
     ggml_tensor * build_attn_block(ggml_tensor * cur, ggml_tensor * inp_pos, llm_graph_input_attn_kv * inp_attn, int il) const;
     ggml_tensor * build_shortconv_block(ggml_tensor * cur, llm_graph_input_rs * inp_recr, int il);
-    
-};
+
+};

+ 1 - 1
src/models/llm_build_llada.cpp

@@ -102,4 +102,4 @@ llm_build_llada::llm_build_llada(const llama_model & model, const llm_graph_para
         res->t_logits = cur;
 
         ggml_build_forward_expand(gf, cur);
-}
+}

+ 1 - 1
src/models/llm_build_llada.h

@@ -7,4 +7,4 @@
 
 struct llm_build_llada : public llm_graph_context {
     llm_build_llada(const llama_model & model, const llm_graph_params & params);
-};
+};

+ 1 - 1
src/models/llm_build_llada_moe.cpp

@@ -127,4 +127,4 @@ llm_build_llada_moe::llm_build_llada_moe(const llama_model & model, const llm_gr
 
         ggml_build_forward_expand(gf, cur);
 }
-;
+;

+ 1 - 1
src/models/llm_build_llada_moe.h

@@ -7,4 +7,4 @@
 
 struct llm_build_llada_moe : public llm_graph_context {
     llm_build_llada_moe(const llama_model & model, const llm_graph_params & params);
-};
+};

+ 1 - 1
src/models/llm_build_llama.cpp

@@ -162,4 +162,4 @@ llm_build_llama::llm_build_llama(const llama_model & model, const llm_graph_para
         res->t_logits = cur;
 
         ggml_build_forward_expand(gf, cur);
-    }
+    }

+ 1 - 1
src/models/llm_build_llama.h

@@ -7,4 +7,4 @@
 
 struct llm_build_llama : public llm_graph_context {
     llm_build_llama(const llama_model & model, const llm_graph_params & params);
-};
+};

+ 1 - 1
src/models/llm_build_llama_iswa.h

@@ -7,4 +7,4 @@
 
 struct llm_build_llama_iswa : public llm_graph_context {
     llm_build_llama_iswa(const llama_model & model, const llm_graph_params & params);
-};
+};

+ 1 - 0
src/models/llm_build_mamba.cpp

@@ -58,3 +58,4 @@ llm_build_mamba::llm_build_mamba(const llama_model & model, const llm_graph_para
 
     ggml_build_forward_expand(gf, cur);
 }
+

+ 1 - 1
src/models/llm_build_mamba.h

@@ -7,4 +7,4 @@
 
 struct llm_build_mamba : public llm_graph_context_mamba {
     llm_build_mamba(const llama_model & model, const llm_graph_params & params);
-};
+};

+ 1 - 1
src/models/llm_build_minicpm3.cpp

@@ -205,4 +205,4 @@ llm_build_minicpm3::llm_build_minicpm3(const llama_model & model, const llm_grap
         res->t_logits = cur;
 
         ggml_build_forward_expand(gf, cur);
-}
+}

+ 1 - 1
src/models/llm_build_minicpm3.h

@@ -7,4 +7,4 @@
 
 struct llm_build_minicpm3 : public llm_graph_context {
     llm_build_minicpm3(const llama_model & model, const llm_graph_params & params);
-};
+};

+ 1 - 1
src/models/llm_build_mpt.cpp

@@ -136,4 +136,4 @@ llm_build_mpt::llm_build_mpt(const llama_model & model, const llm_graph_params &
 
         ggml_build_forward_expand(gf, cur);
 }
-;
+;

+ 1 - 1
src/models/llm_build_mpt.h

@@ -7,4 +7,4 @@
 
 struct llm_build_mpt : public llm_graph_context {
     llm_build_mpt(const llama_model & model, const llm_graph_params & params);
-};
+};

+ 1 - 1
src/models/llm_build_nemotron.cpp

@@ -129,4 +129,4 @@ llm_build_nemotron::llm_build_nemotron(const llama_model & model, const llm_grap
         res->t_logits = cur;
 
         ggml_build_forward_expand(gf, cur);
-}
+}

+ 1 - 1
src/models/llm_build_nemotron.h

@@ -7,4 +7,4 @@
 
 struct llm_build_nemotron : public llm_graph_context {
     llm_build_nemotron(const llama_model & model, const llm_graph_params & params);
-};
+};

+ 1 - 1
src/models/llm_build_nemotron_h.h

@@ -10,4 +10,4 @@ struct llm_build_nemotron_h : public llm_graph_context_mamba {
     ggml_tensor * build_ffn_layer(ggml_tensor * cur, const llama_model & model, const int il);
     ggml_tensor * build_attention_layer(ggml_tensor * cur, llm_graph_input_attn_kv * inp_attn,
         const llama_model & model, const int64_t n_embd_head, const int il);
-};
+};

+ 1 - 1
src/models/llm_build_neo_bert.cpp

@@ -109,4 +109,4 @@ llm_build_neo_bert::llm_build_neo_bert(const llama_model & model, const llm_grap
 
         ggml_build_forward_expand(gf, cur);
 }
-;
+;

+ 1 - 1
src/models/llm_build_neo_bert.h

@@ -7,4 +7,4 @@
 
 struct llm_build_neo_bert : public llm_graph_context {
     llm_build_neo_bert(const llama_model & model, const llm_graph_params & params);
-};
+};

+ 1 - 1
src/models/llm_build_olmo.cpp

@@ -129,4 +129,4 @@ llm_build_olmo::llm_build_olmo(const llama_model & model, const llm_graph_params
 
         ggml_build_forward_expand(gf, cur);
 }
-;
+;

+ 1 - 1
src/models/llm_build_olmo.h

@@ -7,4 +7,4 @@
 
 struct llm_build_olmo : public llm_graph_context {
     llm_build_olmo(const llama_model & model, const llm_graph_params & params);
-};
+};

+ 1 - 1
src/models/llm_build_olmo2.h

@@ -8,4 +8,4 @@
 template <bool iswa>
 struct llm_build_olmo2 : public llm_graph_context {
     llm_build_olmo2(const llama_model & model, const llm_graph_params & params);
-};
+};

+ 1 - 1
src/models/llm_build_olmoe.cpp

@@ -129,4 +129,4 @@ llm_build_olmoe::llm_build_olmoe(const llama_model & model, const llm_graph_para
 
         ggml_build_forward_expand(gf, cur);
 }
-;
+;

+ 1 - 1
src/models/llm_build_olmoe.h

@@ -7,4 +7,4 @@
 
 struct llm_build_olmoe : public llm_graph_context {
     llm_build_olmoe(const llama_model & model, const llm_graph_params & params);
-};
+};

+ 1 - 1
src/models/llm_build_openai_moe_iswa.cpp

@@ -131,4 +131,4 @@ llm_build_openai_moe_iswa::llm_build_openai_moe_iswa(const llama_model & model,
 
         ggml_build_forward_expand(gf, cur);
 }
-;
+;

+ 1 - 1
src/models/llm_build_openai_moe_iswa.h

@@ -7,4 +7,4 @@
 
 struct llm_build_openai_moe_iswa : public llm_graph_context {
     llm_build_openai_moe_iswa(const llama_model & model, const llm_graph_params & params);
-};
+};

+ 1 - 1
src/models/llm_build_openelm.cpp

@@ -130,4 +130,4 @@ llm_build_openelm::llm_build_openelm(const llama_model & model, const llm_graph_
 
         ggml_build_forward_expand(gf, cur);
 }
-;
+;

+ 1 - 1
src/models/llm_build_openelm.h

@@ -7,4 +7,4 @@
 
 struct llm_build_openelm : public llm_graph_context {
     llm_build_openelm(const llama_model & model, const llm_graph_params & params);
-};
+};

+ 1 - 1
src/models/llm_build_orion.cpp

@@ -128,4 +128,4 @@ llm_build_orion::llm_build_orion(const llama_model & model, const llm_graph_para
 
         ggml_build_forward_expand(gf, cur);
 }
-;
+;

+ 1 - 1
src/models/llm_build_orion.h

@@ -7,4 +7,4 @@
 
 struct llm_build_orion : public llm_graph_context {
     llm_build_orion(const llama_model & model, const llm_graph_params & params);
-};
+};

Неке датотеке нису приказане због велике количине промена