MCPcopy Create free account
hub / github.com/Tiiny-AI/PowerInfer / llama_load_session_file

Function llama_load_session_file

smallthinker/src/llama-context.cpp:2586–2588  ·  view source on GitHub ↗

deprecated

Source from the content-addressed store, hash-verified

2584
2585// deprecated
2586bool llama_load_session_file(llama_context * ctx, const char * path_session, llama_token * tokens_out, size_t n_token_capacity, size_t * n_token_count_out) {
2587 return llama_state_load_file(ctx, path_session, tokens_out, n_token_capacity, n_token_count_out);
2588}
2589
2590// deprecated
2591bool llama_save_session_file(llama_context * ctx, const char * path_session, const llama_token * tokens, size_t n_token_count) {

Callers

nothing calls this directly

Calls 1

llama_state_load_fileFunction · 0.85

Tested by

no test coverage detected