Mark Fickett
12/13/2022, 6:28 PM@op
yielding `DynamicOutput`s that's taking 30m to yield 5600 outputs, taking about 0.5s between each "Yielded output" log message both when it started and when it was finishing. Is this expected? Running on k8s. I wouldn't mind except it doesn't seem like the outputs start running until the op finishes. The op is pretty simple:
@dataclass
class Test:
test_id: str
# etc
@op(out=DynamicOut(Test))
def yield_each_test(test_list: List[Test]):
for test in test_list:
yield DynamicOutput(value=test, mapping_key=test.test_id)
Is there a way to structure the @op
more efficiently?jamie
12/13/2022, 7:14 PMalex
12/13/2022, 7:39 PMMark Fickett
01/03/2023, 9:05 PM