Skip to content

Commit 56d9aee

Browse files
committed
get rid of old causal_attn accessor
1 parent 66a6707 commit 56d9aee

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

llama.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15864,10 +15864,6 @@ enum llama_pooling_type llama_pooling_type(const struct llama_context * ctx) {
1586415864
return ctx->cparams.pooling_type;
1586515865
}
1586615866

15867-
bool llama_causal_attn(const struct llama_context * ctx) {
15868-
return ctx->cparams.causal_attn;
15869-
}
15870-
1587115867
int32_t llama_n_vocab(const struct llama_model * model) {
1587215868
return model->hparams.n_vocab;
1587315869
}

0 commit comments

Comments
 (0)