Perfect, I already set the env variables in yaml file and now I can run train model.py and Task.init on git action. Thank You for your help SuccessfulKoala55 and CostlyOstrich36 😁
You need only 5 - api, web and files host, key and secret
See the env vars here - https://clear.ml/docs/latest/docs/configs/env_vars#server-connection
MoodyCentipede68 , I'm sorry. I meant inject a preconfigured ~/clearml.conf
. Or as Jake mentioned, just use environment variables 🙂
MoodyCentipede68 you don't need the clearml.conf at all, just use environment variables
Hi CostlyOstrich36 thank you for your reply, can you explain more about the "inject the file itself into ~/clearml.conf
"? and how to do that?
And fyi, the train model.py file cannot detect the clearml.conf file on git action execution, but on local execution train model.py file run just perfect.
Hi MoodyCentipede68 ,
I'm not sure how to do it in the bash way (I'm sure there's a solution on google). However for a quick fix - clearml-init
basically creates a configuration file. You can simply inject the file itself into ~/clearml.conf
What do you think?