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

Function llama_save_session_file

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

deprecated

Source from the content-addressed store, hash-verified

2589
2590// deprecated
2591bool llama_save_session_file(llama_context * ctx, const char * path_session, const llama_token * tokens, size_t n_token_count) {
2592 return llama_state_save_file(ctx, path_session, tokens, n_token_count);
2593}
2594
2595// Returns the *actual* size of the state.
2596// Intended to be used when saving to state to a buffer.

Callers

nothing calls this directly

Calls 1

llama_state_save_fileFunction · 0.85

Tested by

no test coverage detected