get rid of old causal_attn accessor
This commit is contained in:
parent
7c37ae9d29
commit
d4e6972f60
1 changed files with 0 additions and 4 deletions
|
@ -16538,10 +16538,6 @@ enum llama_pooling_type llama_pooling_type(const struct llama_context * ctx) {
|
||||||
return ctx->cparams.pooling_type;
|
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) {
|
int32_t llama_n_vocab(const struct llama_model * model) {
|
||||||
return model->hparams.n_vocab;
|
return model->hparams.n_vocab;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue