meanwhile, the SDK support CLEARML_CONFIG_FILE=/path
Not sure what is your use case, but if you want it to be dynamic, you can on-the-fly create the config file to /tmp
for example and point to that in your code with
import os
os.environ['CLEARML_CONFIG_FILE']="/path"
import clearml
note: you will need to set the env var very early, before the first import clearml
in your code
You may not be part of clearML... but do you know if there's any plan to support that config pattern? 12-factor style is so common nowadays that it feels odd not having it
May be create a Feature request on github ?
Hi @<1806497735218565120:profile|BrightJellyfish46> , the agent does support this env var format (using the CLEARML_AGENT
prefix), but the SDK does not