https://flyte.org logo
#ask-the-community
Title
# ask-the-community
d

Dennis O'Brien

02/01/2024, 2:21 AM
Is there a way to have
pyflyte backfill
ignore the cache? This would be similar to launching a workflow and selecting the advanced option "Overwrite cached outputs". I don't see this in the
pyflyte backfill
help page (BTW, the doc is blank currently) but maybe there is a setting I can include in my config? The alternative is for me to push a change that disables the cache for the specific tasks I want to ignore cache.
k

Ketan (kumare3)

02/01/2024, 5:08 AM
ya the doc seems to be down, we are figuring out the problem
also you are right, we do not have ovewrite cache in the cli
you can use the programmatic interface or i can create a PR to add it in
@Dennis O'Brien I see that actually we do not have cache support in node metadata in flyte today - https://github.com/flyteorg/flyte/blob/5d24d23ab6c70f6d1ec3a5d8dc3ba5ea4edf7f5b/flyteidl/protos/flyteidl/core/workflow.proto#L137 Union has this - cc @Dan Rammer (hamersaw)
d

Dennis O'Brien

02/02/2024, 6:47 PM
Thanks for looking into it. I'd be happy to create an issue if that helps.
k

Ketan (kumare3)

02/03/2024, 1:35 AM
yes please do
d

Dennis O'Brien

02/19/2024, 1:34 AM
Just getting back to this. I created this issue: https://github.com/flyteorg/flyte/issues/4917
k

Ketan (kumare3)

02/19/2024, 1:45 AM
@Dennis O'Brien we cannot commit to it right now.
d

Dennis O'Brien

02/22/2024, 9:43 PM
Understood. My workaround has been to disable cache on tasks that I know will have restated data for the purpose of the backfill. It's not that bad because for most runs of the workflow, the cache is not used because the inputs change with each daily run. So disabling cache might really be what I want in general for these tasks.