Skip to content

How does task caching work across flow runs? #15560

Discussion options

You must be logged in to vote

hey @steven-murray - I converted this to a discussion, since I think its more of a question than a bug - hope thats okay with you

to be clear, here I'm assuming that you're asking about how to cache task results across flow runs, because it appears that you're submitting your task over range(50), which within a single flow run, would give unique task inputs for each invocation (i.e. all cache misses inside one flow run). If I'm mischaracterizing the ask, feel free to let me know and I can update the title here

consider this variant of your example, where importantly:

  • i use INPUTS and not DEFAULT cache policy, since with DEFAULT we will miss the cache in subsequent flow runs, because the …

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@zzstoatzz
Comment options

Answer selected by steven-murray
Comment options

You must be logged in to vote
1 reply
@zzstoatzz
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question This issue is asking for clarification
2 participants
Converted from issue

This discussion was converted from issue #15559 on October 01, 2024 22:16.