llama.cpp/examples/save-load-state
..
CMakeLists.txt
save-load-state.cpp