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

Method __call__

llama_cpp/llama_speculative.py:57–64  ·  view source on GitHub ↗
(
        self, input_ids: npt.NDArray[np.intc], /, **kwargs: Any
    )

Source from the content-addressed store, hash-verified

55 return np.array([], dtype=np.intc)
56
57 def __call__(
58 self, input_ids: npt.NDArray[np.intc], /, **kwargs: Any
59 ) -> npt.NDArray[np.intc]:
60 return self.find_candidate_pred_tokens(
61 input_ids=input_ids,
62 max_ngram_size=self.max_ngram_size,
63 num_pred_tokens=self.num_pred_tokens,
64 )

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected