allegroai / clearml

ClearML - Auto-Magical CI/CD to streamline your AI workload. Experiment Management, Data Management, Pipeline, Orchestration, Scheduling & Serving in one MLOps/LLMOps solution
https://clear.ml/docs
Apache License 2.0
5.61k stars 651 forks source link

Script.pip.requirements #1110

Open abfshaal opened 1 year ago

abfshaal commented 1 year ago

Describe the bug

with clearml PipelineFromTasks, the documentation says that to reset the pip installation in the task with the pipe.add_step to set the value of task_overrides={"script.pip.requirements":""} and that this is supposed to get it to install the packages from the requirements.txt found in the repo However, this was not working with the code, What did end up working was setting this to task_overrides={"script.pip.requirements": "-r requirements.txt"}

I am not sure if I did something wrong or whether the documentation can be updated to reflect this better

Many thanks!

AlexandruBurlacu commented 1 year ago

Hello @abfshaal, I think it is indeed a bug. So we'll notify you when it's fixed.