Skip to content

Commit

Permalink
get rid of old causal_attn accessor
Browse files Browse the repository at this point in the history
  • Loading branch information
iamlemec committed Jun 14, 2024
1 parent 7c37ae9 commit d4e6972
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions llama.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16538,10 +16538,6 @@ enum llama_pooling_type llama_pooling_type(const struct llama_context * ctx) {
return ctx->cparams.pooling_type;
}

bool llama_causal_attn(const struct llama_context * ctx) {
return ctx->cparams.causal_attn;
}

int32_t llama_n_vocab(const struct llama_model * model) {
return model->hparams.n_vocab;
}
Expand Down

0 comments on commit d4e6972

Please sign in to comment.