Greetings I’m new to flyte, and I’m having an iss...
# ml-and-mlops-questions
m
Greetings I’m new to flyte, and I’m having an issue saving a file to my local directory in my codebase, when I use flyte I don’t really know where it’s saved? How to I save the file/ model output to my local directory outside flytes default container saving?
p
You can look at using FlyteFile or FlyteDirectory for persisting data between task containers! https://docs.flyte.org/en/latest/user_guide/data_types_and_io/flytefile.html
I didn't have a lot of experience running tasks between multiple containers and it was something I had to adapt my mindset too, using FlyteFile/FlyteDirectory makes it feel like you're working with data outside of containers by writing it to your storage. You can also pass different data types between tasks in the workflows.
If you're using union you can checkout artifacts as well: https://docs.union.ai/byoc/user-guide/core-concepts/artifacts/