Topologies

[training topology]

@beam/two-models

Two models

Two lanes from the same trainers to two state holders, one with data grants and one without.

Elastic membershipBuiltinActivedistributed run

[topology identity]

Details

What version 1.0.2 declares.

Package
@beam/two-models
Membership
Elastic
Engines
distributed run
Tags
data-grants, elastic, live-session, multi-model
Step kinds
local, gather, broadcast
Latest tag
latest -> 1.0.2
Publisher
registry
Visibility
Public
Checksum
sha256:fd0ac30a64972c669c5a0c91b01222a438e63efc5702e80c1317835e8ee69df9

[roles]

Roles

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

trainer1..8

Members that join and leave.

aggregator-a1

Leads the run, hands out data units and holds the trunk.

aggregator-b1

Holds the adapter.

[slots]

Slots

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

merge-trunk
trunk-update* -> trunk

Merges the trunk updates.

train-trunk
trunk, shards -> trunk-update

Trains the trunk on pulled data units and sends its update.

merge-adapter
adapter-update* -> adapter

Merges the adapter updates.

train-adapter
trunk, adapter, shards -> adapter-update

Trains the adapter on top of the trunk and sends its update.

[round]

Step kinds

The steps of one round, in order.

  1. localrole trainer · slot train-trunk
  2. gatherfrom trainer · to aggregator-a · object trunk-update · slot merge-trunk
  3. localrole trainer · slot train-adapter
  4. gatherfrom trainer · to aggregator-b · object adapter-update · slot merge-adapter
  5. broadcastfrom aggregator-a · to trainer · object trunk
  6. broadcastfrom aggregator-b · to trainer · object adapter