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

Fabio Grätz

03/09/2023, 3:53 PM
Is anyone aware of a way to modify the cache/version of a task I imported from another module, potentially not controlled by me?
Node.with_overrides
allows me to e.g. change the task resources or config but not its cache.
k

Ketan (kumare3)

03/09/2023, 3:54 PM
Hmm great point, this should be doable. Maybe you want to try a PR
f

Fabio Grätz

03/09/2023, 3:55 PM
with_overrides
should be the correct way to do this, right?
If yes I can make a PR
k

Ketan (kumare3)

03/09/2023, 4:02 PM
I think so
@Fabio Grätz it is not supported in propeller today https://github.com/flyteorg/flyteidl/blob/6ad4072d90d1917dbfb9b98f466614ba138527aa/protos/flyteidl/core/workflow.proto#L111 But is a simple Fix if you want to try
But there is an entire overrides work happening- cc @Byron Hsu do you have any updates or ideas
b

Byron Hsu

03/09/2023, 4:05 PM
Sure. Will you attend the contributor’a meeting today. I can share there. I have a new RFC complying with the OSS suggestion. However at the same time, we are hacking the special input arguments internally first
k

Ketan (kumare3)

03/09/2023, 4:09 PM
Cc @Rahul Mehta
f

Fabio Grätz

03/10/2023, 8:36 AM
Is making the cache overridable part of the RFC @Byron Hsu and do you have a rough time estimate? Otherwise I can make a PR to make cache overrides available in propeller
b

Byron Hsu

03/10/2023, 5:20 PM
Yes it is in the scope of RFC, but I am busy with other things now. Please submit a PR for your request first!
65 Views