Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tiiny-AI/PowerInfer
/ llama_n_ctx
Function
llama_n_ctx
llama.cpp:10044–10046 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
10042
}
10043
10044
int llama_n_ctx(const struct llama_context * ctx) {
10045
return ctx->cparams.n_ctx;
10046
}
10047
10048
enum llama_vocab_type llama_vocab_type(const struct llama_model * model) {
10049
return model->vocab.type;
Callers
12
main
Function · 0.50
main
Function · 0.50
main
Function · 0.50
main
Function · 0.50
main
Function · 0.50
perplexity_v2
Function · 0.50
perplexity
Function · 0.50
hellaswag_score
Function · 0.50
load_model
Method · 0.50
main
Function · 0.50
main
Function · 0.50
main
Function · 0.50
Calls
no outgoing calls
Tested by
1
main
Function · 0.40