Skip to content

Commit d4e6972

Browse files
committed
get rid of old causal_attn accessor
1 parent 7c37ae9 commit d4e6972

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
@@ -16538,10 +16538,6 @@ enum llama_pooling_type llama_pooling_type(const struct llama_context * ctx) {
1653816538
return ctx->cparams.pooling_type;
1653916539
}
1654016540

16541-
bool llama_causal_attn(const struct llama_context * ctx) {
16542-
return ctx->cparams.causal_attn;
16543-
}
16544-
1654516541
int32_t llama_n_vocab(const struct llama_model * model) {
1654616542
return model->hparams.n_vocab;
1654716543
}

0 commit comments

Comments
 (0)