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

Method __init__

examples/ray/llm.py:10–11  ·  view source on GitHub ↗
(self, model_path: str)

Source from the content-addressed store, hash-verified

8@serve.deployment
9class LlamaDeployment:
10 def __init__(self, model_path: str):
11 self._llm = Llama(model_path=model_path)
12
13 async def __call__(self, http_request: Request) -> Dict:
14 input_json = await http_request.json()

Callers

nothing calls this directly

Calls 1

LlamaClass · 0.90

Tested by

no test coverage detected