kubeflow ParallelFor using the previous containerop output
问题 I can create a static for loop using with dsl.ParallelFor([1,2,3]) as item: .... How can I use a container_op.output as an input to ParallelFor ? Assume the first container outputs an integer n , and then I want to run ParallelFor n times. Attempts like this does not work: container_op = ContainerOp(...) with dsl.ParallelFor(container_op.output) as item: .... I'm trying to stimulate a parallel python range(n) function. 回答1: The change to suport withItem (static looping) and withParams