MCPcopy Create free account
hub / github.com/abetlen/llama-cpp-python / save

Method save

examples/server/server.py:4158–4164  ·  view source on GitHub ↗
(
        self,
        tokens: Sequence[int],
        state_bytes: np.ndarray,
        prompt_logits: Optional[np.ndarray],
    )

Source from the content-addressed store, hash-verified

4156 ...
4157
4158 def save(
4159 self,
4160 tokens: Sequence[int],
4161 state_bytes: np.ndarray,
4162 prompt_logits: Optional[np.ndarray],
4163 ) -> None:
4164 ...
4165
4166
4167@dataclass

Callers 2

_save_media_chunkMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected