Skip to content

Conversation

pingsutw
Copy link
Member

@pingsutw pingsutw commented Sep 8, 2025

This pull request introduces a new example for creating and running a reusable raw container task using Flyte, and makes a small adjustment to the data loading configuration logic for container tasks. The main focus is on demonstrating how to define and execute a container task with reuse policies, and ensuring the data loading configuration correctly reflects the task's reusability.

New example for reusable container tasks:

  • Added examples/reuse/reusable_raw_container.py to demonstrate how to define a reusable container task using Flyte, including setting up a custom image, reuse policy, and running the task remotely.

Container task configuration update:

  • Modified the enabled field in the data_loading_config method of src/flyte/extras/_container.py so that data loading is only enabled when the task is not reusable, improving compatibility with reuse policies.

Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
@pingsutw pingsutw marked this pull request as draft September 15, 2025 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant