faint-machine-61752
04/09/2024, 3:11 PMfaint-machine-61752
04/09/2024, 3:13 PMtall-lock-23197
faint-machine-61752
04/10/2024, 7:13 AMfaint-machine-61752
04/10/2024, 7:18 AMfrom flytekit import map_task
@dynamic(
cache=False if os.environ.get("ENVIRONMENT") == "test" else True,
cache_serialize=False if os.environ.get("ENVIRONMENT") == "test" else True,
cache_version="1.0",
container_image=TF_IMAGE,
)
def dynamic_map_a_wrapper_task(input_path: List[MapInput]) -> List[str]:
return map_task(
task_function=a_task,
concurrency=const.N_WORKERS,
min_success_ratio=const.MIN_SUCCESS_RATIO,
)(input=input_path)
The delays that we see are mostly because of the task being stuck at initialising state.faint-machine-61752
04/10/2024, 7:31 AMtall-lock-23197
faint-machine-61752
04/10/2024, 11:41 AMthankful-minister-83577
faint-machine-61752
04/10/2024, 8:59 PM