I have a training pipeline running in the cluster demo, but somehow after succesfully run the train task, I can't access the checkpoint path from the next task because the directory is not exists. I use a custom container to run the workflow, it works locally but not working in the cluster
s
Samhita Alla
12/12/2023, 7:34 AM
would you mind sharing your code?
m
Muhammad Haritsah Mukhlis
12/12/2023, 7:51 AM
I'm able to solve it. I have to use the FlyteDirectory or FlyteFile to share files/folders between tasks. Did you explain in the documentation that each task has its own working directory context and have to use FlyteDirectory/FlyteFile in order to share files/dirs between tasks?
s
Samhita Alla
12/12/2023, 10:08 AM
i think we did! flytefile and directory need to be used to share files/directories between the tasks.
m
Muhammad Haritsah Mukhlis
12/12/2023, 10:09 AM
I don't think I see that, can you provide documentation?