Unanswered
Hello Everyone.
I Was Following The Docs About Creating Pipelines Using Decorators (As It Looked Really Neat).
Everything Worked Well For My Example, But I'Ve Noticed That Much Time For Building The Container Was Taken By Installing Packages That Weren'
I was also curious if I've missed an easy way to mention required packages for the controller, like you can do that in components (by providing
packages=[...]
).
I think you can do this using https://clear.ml/docs/latest/docs/references/sdk/task#taskadd_requirements
I'm not sure how the pipeline controller is handled but it still should be regarded as a task on a deeper level.
Meaning that you might need to use task = Task.current_task()
and then task.add_requirements(package_name="your_package_name")
https://clear.ml/docs/latest/docs/references/sdk/task#taskcurrent_task
167 Views
0
Answers
2 years ago
one year ago