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.43k stars 643 forks source link

relative path to `clearml.conf` does not work #1236

Open Rusteam opened 3 months ago

Rusteam commented 3 months ago

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

ainoam commented 3 months ago

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

ainoam commented 3 months ago

@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.

Rusteam commented 3 months ago

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