@if (serviceUserMode && credentialName) {
Name
{{credentialName}}
}
Access key
{{newCredential?.access_key}}
Secret key
{{newCredential?.secret_key}}
@if (!serviceUserMode) { }
@if (!isJupyter) { @if (serviceUserMode){
Copy the below configuration to the ClearML Agents clearml.conf file
} @else {
Copy the below info for input to 'clearml-init' configuration request, or modify your existing clearml.conf
}
api { @if (credentialsComment) {
{{credentialsComment}}
}
web_server : {{WEB_SERVER_URL}}
api_server: {{configService.apiServerUrl()}}
@if (configService.fileServerUrl(); as fileServer) {
files_server: {{fileServer}}
} @if (newCredential?.label) {
{{'# ' + newCredential?.label}}
}
credentials {
"access_key"="{{newCredential?.access_key}}"
"secret_key"="{{newCredential?.secret_key}}"
}
}
@if (newCredential?.secret_key) { }
} @else {
Add the below to your notebook to configure ClearML
%envCLEARML_WEB_HOST="{{WEB_SERVER_URL}}"
%envCLEARML_API_HOST="{{configService.apiServerUrl()}}"
@if (configService.fileServerUrl(); as fileServer) {
%envCLEARML_FILES_HOST="{{fileServer}}"
} @if (newCredential.label) {
# {{newCredential.label}}
}
%envCLEARML_API_ACCESS_KEY="{{newCredential?.access_key}}"
%envCLEARML_API_SECRET_KEY="{{newCredential.secret_key}}"
}
Add the below to your notebook to configure ClearML
{{jupyterCode}}
@if (!serviceUserMode) {
}