MCPcopy Create free account
hub / github.com/ScalingIntelligence/tokasaurus / in_decoding

Method in_decoding

tokasaurus/manager/types.py:217–218  ·  view source on GitHub ↗
(self, sid: str)

Source from the content-addressed store, hash-verified

215 raise ValueError(f"Sequence {sid} not found")
216
217 def in_decoding(self, sid: str) -> bool:
218 return sid in self.decoding_seqs
219
220 def in_prefilling(self, sid: str) -> bool:
221 return sid in self.prefilling_seqs

Callers 5

removeMethod · 0.95
handle_outputFunction · 0.80
finish_sequencesFunction · 0.80
try_cancelling_requestsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected