Topologies

[training topology]

@beam/fedavg-live

FedAvg (live session)

A server holds run.lead and the model; a fixed cohort of clients trains each round and the server averages every client's update (quorum = all clients).

Static membershipBuiltinActivedistributed run

[topology identity]

Details

What version 1.0.0 declares.

Package
@beam/fedavg-live
Membership
Static
Engines
distributed run
Tags
federated-averaging, live-session, star, static
Step kinds
local, gather, broadcast
Latest tag
latest -> 1.0.0
Publisher
registry
Visibility
Public
Checksum
sha256:6258a2d4c8119028d25e7513bbc75357c1c9f1abf1eaa94f8320ac8d2f9cddf9

[roles]

Roles

Who takes part, and how many members each role holds.

client3

The fixed cohort.

server1

Leads the run and holds the model.

[slots]

Slots

The actions a run binds: what each slot consumes and produces.

merge
update* -> model

Averages the clients' updates into the next model version.

train
model -> update

Trains from the latest model version and sends its update.

[round]

Step kinds

The steps of one round, in order.

  1. localrole client · slot train
  2. gatherfrom client · to server · object update · slot merge
  3. broadcastfrom server · to client · object model