Hi @<1661542579272945664:profile|SaltySpider22>
Basically you need to put all of these files into a repository , which is always a good practice.
The reason is that the pipeline (and for that matter any Task on the system) can store wither a single script or a git reference, but not multiple scripts.
Hey all,
I have the following folder structure:
/
|-- main.py
|-- pipeline.py
|-- utils.py
In some of the pipeline components defined in pipeline.py, I import functions defined in utils.py.
If I execute the pipeline, I get the following error: ModuleNotFoundError: No module named 'utils'
I have my clearml server and agent deployed in k3d cluster. My code resides inside a git repo, which is also pulled, when the images of the pipeline are created. I import the utils functions inside a component function. Does all code need to be in the same file? That shouldn't be the case, if the code is pulled from a git repo, or? Or is that some kind of bug? Does someone have an example, how to create a pipeline, where own scripts are imported in a component?
Thanks in advance. Any help is highly appreciated.