| 1919 | } |
| 1920 | |
| 1921 | size_t llama_context::state_seq_write_data(llama_io_write_i & io, llama_seq_id seq_id) { |
| 1922 | GGML_UNUSED(seq_id); |
| 1923 | |
| 1924 | if (memory) { |
| 1925 | llama_kv_cache * kv_self = static_cast<llama_kv_cache *>(memory.get()); |
| 1926 | |
| 1927 | kv_self->state_write(io, seq_id); |
| 1928 | } |
| 1929 | |
| 1930 | return io.n_bytes(); |
| 1931 | } |
| 1932 | |
| 1933 | size_t llama_context::state_seq_read_data(llama_io_read_i & io, llama_seq_id seq_id) { |
| 1934 | GGML_UNUSED(seq_id); |
nothing calls this directly
no test coverage detected