Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tiiny-AI/PowerInfer
/ n_ctx
Method
n_ctx
smallthinker/src/llama-context.cpp:396–398 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
394
}
395
396
uint32_t llama_context::n_ctx() const {
397
return cparams.n_ctx;
398
}
399
400
uint32_t llama_context::n_ctx_per_seq() const {
401
return cparams.n_ctx / cparams.n_seq_max;
Callers
2
opt_epoch
Method · 0.95
llama_n_ctx
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected