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

Method is_idle

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

Source from the content-addressed store, hash-verified

13351 request.cancelled = True
13352
13353 def is_idle(self) -> bool:
13354 return not self.pending_requests and not self.active_request_ids
13355
13356 @staticmethod
13357 def logits_to_logprobs(logits: np.ndarray) -> np.ndarray:

Callers 3

create_embeddingMethod · 0.95
run_callbackMethod · 0.80
run_loopMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected