Laura Lin
11/29/2023, 12:52 AMmap_task
but the newer feature of overriding container_image
doesn't seem to work with map_tasks. Here's a minimal example where its still using the default container image and not the overwritten one. It does work with regular tasks, just not map_task?
@task
def my_mappable_task(a: int) -> typing.Optional[str]:
return str(a)
@workflow
def my_map_wf(x: typing.List[int]) -> typing.List[typing.Optional[str]]:
return map_task(
my_mappable_task,
concurrency=10,
min_success_ratio=0.75,
)(a=x).with_overrides(container_image="random:image")
cc @Kevin Su since he added the original feature https://github.com/flyteorg/flytekit/commit/eafcc820303367749e63edc62190b9153fd6be5eLaura Lin
11/29/2023, 12:56 AMGopal Vashishtha
11/29/2023, 6:28 AMKevin Su
11/29/2023, 6:23 PMGopal Vashishtha
11/30/2023, 4:35 AMKevin Su
11/30/2023, 8:27 AMGopal Vashishtha
12/01/2023, 12:34 AMKevin Su
12/01/2023, 12:43 AMpip install git+<https://github.com/flyteorg/flytekit.git@7a30eb575e38a75a6311ab534ff8806304a1dd93>
Gopal Vashishtha
12/01/2023, 1:26 AMKevin Su
12/01/2023, 1:40 AMGopal Vashishtha
12/01/2023, 11:09 PMfsspec
that you introduced in this PR? We're getting a dependency conflict with another library that we are unable to resolveKevin Su
12/01/2023, 11:16 PMKevin Su
12/01/2023, 11:19 PMGopal Vashishtha
12/01/2023, 11:28 PMGopal Vashishtha
12/01/2023, 11:29 PM