MCPcopy Create free account
hub / github.com/Lightning-AI/LitServe / setup

Method setup

tests/unit/test_simple.py:53–55  ·  view source on GitHub ↗
(self, device)

Source from the content-addressed store, hash-verified

51
52class SlowSetupLitAPI(SimpleLitAPI):
53 def setup(self, device):
54 self.model = lambda x: x**2
55 time.sleep(2)
56
57
58class SlowSetupWithCustomHealthLitAPI(SimpleLitAPI):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected