Skip to content

Commit bd76198

Browse files
committed
Remove mutable variable
1 parent ae86b5e commit bd76198

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/llama.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13823,9 +13823,6 @@ struct llm_build_context {
1382313823
struct ggml_cgraph * build_nemotron() {
1382413824
struct ggml_cgraph * gf = ggml_new_graph_custom(ctx0, llama_model_max_nodes(model), false);
1382513825

13826-
// mutable variable, needed during the last layer of the computation to skip unused tokens
13827-
int32_t n_tokens = this->n_tokens;
13828-
1382913826
const int64_t n_embd_head = hparams.n_embd_head_v;
1383013827
GGML_ASSERT(n_embd_head == hparams.n_embd_head_k);
1383113828
//GGML_ASSERT(n_embd_head == hparams.n_rot);

0 commit comments

Comments
 (0)