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

Home Page:https://clear.ml/docs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Script.pip.requirements

abfshaal opened this issue · comments

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!

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