MCPcopy 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
396uint32_t llama_context::n_ctx() const {
397 return cparams.n_ctx;
398}
399
400uint32_t llama_context::n_ctx_per_seq() const {
401 return cparams.n_ctx / cparams.n_seq_max;

Callers 2

opt_epochMethod · 0.95
llama_n_ctxFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected