https://clearml.slack.com/archives/CTK20V944/p1642523607145500?thread_ts=1642522392.144800&cid=CTK20V944
You are adding this before your Task.init
call?
Yes, I can verify the location, I'm uploading the file and then running:! cp clearml.conf ~/clearml.conf
I also tried setting it with the library manually usingTask.set_credentials(web_host=web_server, api_host=api_server,files_host=files_server, key=access_key, secret=secret_key )
whats the clearml version you are using?
GleamingGrasshopper63 can you ping to your api server ?!ping api.server.here
Also what's the api server you configured ? (ip:8008 ?)
Any chance this is a Local machine, i.e. the colab machine cannot get back into the clearml server cunning locally ?
Hi GleamingGrasshopper63 ,
ClearML will take you configuration from ~/clearml.conf
file (so it should use the file if you are root user). You can also configure env var for you auth and api work:
export CLEARML_API_HOST={api_server} export CLEARML_WEB_HOST={web_server} export CLEARML_FILES_HOST={files_server} export CLEARML_API_ACCESS_KEY={access_key} export CLEARML_API_SECRET_KEY={secret_key}
Can you verify the configuration file location or try with the env vars?
1.1.5 both locally and on Google Colab
can you try with
import os os.environ["CLEARML_CONFIG_FILE"] = "/root/clearml.conf"
at the top?