[Core feature] Reuse same literals in the dynamic task #6032
Labels
enhancement
New feature or request
flytekit
FlyteKit Python related issue
good first issue
Good for newcomers
Motivation: Why do you think this is important?
Running this workflow will upload the input
df
ofconc_prediction
15x with different filenames to the connected blob storage. Each instance of predict_wf gets his own version of input.Goal: What should the final outcome look like, ideally?
We should only serialize the Pandas dataframe and upload it once. Each
predict_wf
should reuse the same input (parquet file).We could probably add a local cache for the dynamic workflow. If the Python value has already been serialized, we can just load the literal from the cache
Describe alternatives you've considered
NA
Propose: Link/Inline OR Additional context
NA
Are you sure this issue hasn't been raised already?
Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: