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

relative path to `clearml.conf` does not work

Rusteam opened this issue · comments

Describe the bug

If a relative path provided to clearml conf as in CLEARML_CONFIG_FILE=../cleaml.conf an error is raised: Value error, It seems ClearML is not configured on this machine!, although when absolute path is given to the same file the issue does not arise any more.

Environment

  • ClearML SDK Version: 1.14.4
  • Python Version: 3.11
  • OS (Windows \ Linux \ Macos): macos

Thanks for noting @Rusteam, we'll take a look.

@Rusteam As a rule, a relative path could work, but it is highly not recommended as various execution scenarios can cause it to fail (which, apparently, you have stumbled on).

You should definitely adhere to using absolute paths for specifying the configuration file.

I think that's the first I see this difference.