pymoose.GrpcMooseRuntime
pymoose.GrpcMooseRuntime#
- class pymoose.GrpcMooseRuntime(identities: Dict)[source]#
Moose runtime backed by gRPC choreography.
Creates a Moose runtime backed by a fixed set of gRPC servers.
Example
runtime = GrpcMooseRuntime( identities={ "alice": "172.16.254.1:50001", "bob": "172.16.254.2:50002", "carole": "172.16.254.3:50003", }, )
- Parameters
identities – Mapping of identities (e.g. host placement identifiers) to gRPC host addresses.
- __init__()#
Methods
__init__()evaluate_computation(computation[, arguments])set_default()