Skip to content

Commit

Permalink
llama : remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
compilade committed Aug 22, 2024
1 parent aff9692 commit e04910d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/llama.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7718,7 +7718,6 @@ static bool llm_load_tensors(
const int64_t d_inner = hparams.ssm_d_inner;
const int64_t d_state = hparams.ssm_d_state;
const int64_t n_head = hparams.ssm_dt_rank;
const int64_t head_dim = n_embd / n_head;
const int64_t n_group = hparams.ssm_n_group;
const int64_t d_in_proj = 2*d_inner + 2*n_group*d_state + n_head;

Expand Down Expand Up @@ -9287,7 +9286,7 @@ static struct ggml_tensor * llm_build_mamba2(
const int64_t d_inner = hparams.ssm_d_inner;
const int64_t d_state = hparams.ssm_d_state;
const int64_t n_head = hparams.ssm_dt_rank;
const int64_t head_dim = d_inner / n_head; // FIXME
const int64_t head_dim = d_inner / n_head;
const int64_t n_group = hparams.ssm_n_group;
const int64_t n_seqs = batch.n_seqs;

Expand Down

0 comments on commit e04910d

Please sign in to comment.