Using pip
:
pip install kilroy-module-pytorch-py-sdk
from kilroy_module_pytorch_py_sdk import BasicModule, ModuleServer
class MyModule(BasicModule):
... # Implement all necessary methods here
module = await MyModule.build()
server = ModuleServer(module)
await server.run(host="0.0.0.0", port=11000)