Closed voronaam closed 2 years ago
I actually have a changeset where the task creation is moved to the AsyncExecutor. It was needed to create a task per a "slab" of operations. A chunk of ops delimited by ReceiveOp
. This was from the time where we wanted to not do a tokio task per Op.
we don't seem to have a strong need for it right now
it would be nice to eventually be able to add some structure to the op names in the textual format, similar to what we saw with TF. for example, an edsl.add @ Replicated(alice, bob, carole)
could be named add_0
in the logical level, but then expand during compilation to produce ops named e.g. add_0/alice/add_0
, add_0/alice/add_1
, add_0/bob/add_1
, etc (actual naming here TBD). one concrete thing this would give us that we don't have currently is the ability to retain the positional order of outputs in pymoose
it would be nice to eventually be able to add some structure to the op names in the textual format
we could potentially keep track of this in the Session
implementations
… by the AsyncSession