Where should i put this line? inside the pipeline function?
I am getting this error:clearml.task - WARNING - Requirement ignored, Task.add_requirements() must be called before Task.init()
if you are using add_function_step
you can pass packages=["protobuf<=3.20.1"]
(there is an example in the sdk docs https://clear.ml/docs/latest/docs/references/sdk/automation_controller_pipelinecontroller#add_function_step-1 )
I use the decorators method and there is no “packages” param to the pipeline decorator, i added it to the task decorator “packages” param but it didn’t help
which clearml version are you using? did you add it and re run it without clearml-agent?
Works locally but not when running inside agent.
I found that adding the:Task.add_requirements('protobuf', '<=3.20.1')
before the pipeline decorator it works