Open pingsutw opened 2 months ago
According to the Flyte documentation, caching can be enabled for tasks using the cache
and cache_version
parameters. However, there are known issues with caching in dynamic workflows, as discussed in this GitHub issue. The issue states that Flyte currently does not cache intermediate results in dynamic workflows correctly, which aligns with the problem you're describing.
Would you like more details on this issue or potential workarounds?
Sources:
This is an AI-generated response and your feedback is appreciated! Please leave a 👍 if this is helpful and 👎 if it is not.
Mention @runllm to ask follow-up questions. See runllm.com for more!
Motivation: Why do you think this is important?
Flyte launches a new pod to compile the dynamic task again, even if the input is the same.
Use cases:
create_embeddings
OOMscreate_embeddings
Goal: What should the final outcome look like, ideally?
The propeller should return a dynamic spec from the cache if the input hasn't been changed.
Describe alternatives you've considered
NA
Propose: Link/Inline OR Additional context
No response
Are you sure this issue hasn't been raised already?
Have you read the Code of Conduct?