AkkaCommunicationServer

lamp.distributed.akka.AkkaCommunicationServer
class AkkaCommunicationServer(actorSystem: ActorSystem) extends DistributedCommunicationRoot

Attributes

Graph
Supertypes
trait DistributedCommunicationRoot
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def broadcast(command: Command): IO[Unit]

Broadcast command to all peers (non root ranks)

Broadcast command to all peers (non root ranks)

Value parameters

state

The value returned from onNcclCliqueReady

Attributes

def onUniqueIdReady(uid: NcclUniqueId): IO[Unit]

Framework will call this when the nccl unique id is ready

Framework will call this when the nccl unique id is ready

Implementations should respond with this uid to each peer who try to join this clique after this call.

Returns a suspended side effect. Once the returned value is completed the implementation is ready to accept peers to its clique.

Attributes

def peers(): IO[Int]

Returns the number of joined peers

Returns the number of joined peers

Used for reporting and testing

Attributes

Concrete fields

val ranksServer: ActorRef