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

Method __init__

examples/server/server.py:797–800  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

795 tails: set[int] = field(default_factory=set)
796
797 def __init__(self) -> None:
798 self.root = RadixTrie.Node()
799 self.sequences: Dict[int, RadixTrie.Node] = {}
800 self.sequence_lengths: Dict[int, int] = {}
801
802 @staticmethod
803 def _pick_sequence(candidates: set[int], preferred_sequences: Optional[Any]) -> int:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected