The flyte docs are completely broken :disappointed...
# flyte-support
c
The flyte docs are completely broken 😞 I am trying to implement basic caching on my task but when I follow the docs I get error messages.
For example, based on https://www.union.ai/docs/flyte/user-guide/core-concepts/caching/#default-cache-policy
Copy code
@fl.task(cache=True)
But I get
Copy code
ValueError: If version is not defined then at least one cache policy needs to be set
Flytekit version 1.15.3
looks like this bug is already logged here https://github.com/flyteorg/flyte/issues/6391
a
Ah that's unfortunate. And it's not even a bug, it's just wrong docs. For Flyte this should include cache version
c
what is the correct way to get unversioned default cache?
a
So with Flyte you either specify a cache version or define a cache policy. Fully automated cache versioning is available in Union
c
where do I find the cache policies? The docs are not helping
a
Here are more details on cache policies https://github.com/flyteorg/flyte/releases/tag/v1.15.0
c
thank you
f
This is sad, let’s fix it soon. Cc @powerful-gold-59386
h
Apologies about that. It's indeed not an available feature in flyte...
p
WIll fix today
Should be fixed, by the way
please confirm