Any tips on debugging caching? I can't seem to fig...
# flyte-support
b
Any tips on debugging caching? I can't seem to figure why one of my nodes never caches: I can get it to write outputs, but they never seem to get picked up on subsequent runs.
It's a
@task
that is called from a
@dynamic
node which takes a list of dataframes as input and runs one task per dataframe... I'm not sure if that could have something to do with it?
the Dynamic node always seems to show the â„šī¸ icon with "Caching was disabled for this execution", but I'm not sure how to look deeper into why
g
did you enable cache for the task?
Copy code
@task(cache=True, cache_version="1.0")
def t1:
  ...
it should work. mind sharing the code snippet
b
I eventually got it to work, but I wasn't exactly sure which of my changes was responsible đŸ˜