Unanswered
Hi, When Using
Hi AgitatedDove14 thanks for the suggestion. I might have a go with this, i just need a bit more help to clear things out. When running with clearml-task
, i also use --repo
and --branch
options to setup the code version, and other options (- -docker_args --docker_bash_setup_script --packages --output-uri
) to export some env variables, install some dependencies etc. How can i do this in case of running a script locally and switching to remote? Is this somewhere close to what's the idea behind with execute_remotely?
` task.init_task(project_name,task_name,output_uri=output_uri)
custom_argparse()
setup arg1 and arg2
thirdparty_argparser1()
setup arg1 only for thirdparty_argparser2 later on
task.add_requirements(packages_to_install)
somehow set docker_args and docker_bash_setup_script equivalent??
somehow setup repo and branch to download to remote instance before running
task.execute_remotely(queue_name=queue_name)
custom code...
thirdparty_argparser2() `
150 Views
0
Answers
2 years ago
one year ago