MCPcopy Create free account
hub / github.com/appdevforall/CodeOnTheGo / state_seq_write_data

Method state_seq_write_data

subprojects/llama.cpp/src/llama-context.cpp:2659–2667  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2657}
2658
2659size_t llama_context::state_seq_write_data(llama_io_write_i & io, llama_seq_id seq_id, llama_state_seq_flags flags) {
2660 GGML_UNUSED(seq_id);
2661
2662 if (memory) {
2663 memory->state_write(io, seq_id, flags);
2664 }
2665
2666 return io.n_bytes();
2667}
2668
2669size_t llama_context::state_seq_read_data(llama_io_read_i & io, llama_seq_id seq_id, llama_state_seq_flags flags) {
2670 GGML_UNUSED(seq_id);

Callers

nothing calls this directly

Calls 2

state_writeMethod · 0.45
n_bytesMethod · 0.45

Tested by

no test coverage detected