You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: llama-cpp-2/src/context/session.rs
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -58,6 +58,8 @@ impl LlamaContext<'_> {
58
58
}
59
59
/// Load a session file into the current context.
60
60
///
61
+
/// You still need to pass the returned tokens to the context for inference to work. What this function buys you is that the KV caches are already filled with the relevant data.
62
+
///
61
63
/// # Parameters
62
64
///
63
65
/// * `path_session` - The file to load from. It must be a session file from a compatible context, otherwise the function will error.
0 commit comments