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

Function llama_set_state_data

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

deprecated

Source from the content-addressed store, hash-verified

2579
2580// deprecated
2581size_t llama_set_state_data(llama_context * ctx, const uint8_t * src) {
2582 return llama_state_set_data(ctx, src, -1);
2583}
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) {

Callers

nothing calls this directly

Calls 1

llama_state_set_dataFunction · 0.85

Tested by

no test coverage detected