Ignas Kizelevičius
04/18/2023, 1:20 PMop
to a number of upstream ops? E.g. I have 100 ops and I need one op downstream which waits for all 100 to be finished.owen
04/18/2023, 5:11 PMNothing
type input for the downstream op, then passing in a list of upstream outputs into that input. Something like
@op(ins={"start_after": In(Nothing)})
def my_downstream():
# do stuff ...
@graph
def lots_of_stuff():
ops_finished = [op1(), op2(), op3(), ...]
my_downstream(start_after=ops_finished)
Ignas Kizelevičius
04/18/2023, 6:23 PM