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
/// * `tokens` - The tokens to associate the session with. This should be a prefix of a sequence of tokens that the context has processed, so that the relevant KV caches are already filled.
/// 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
+
///
63
+
/// # Parameters
64
+
///
65
+
/// * `path_session` - The file to load from. It must be a session file from a compatible context, otherwise the function will error.
66
+
/// * `max_tokens` - The maximum token length of the loaded session. If the session was saved with a longer length, the function will error.
0 commit comments