archai/azure
Gustavo Rosa 77bf2acbd1 chore(root): Moves azure out of tools and remove xt folder. 2022-12-16 16:52:40 -03:00
..
README.md chore(root): Moves azure out of tools and remove xt folder. 2022-12-16 16:52:40 -03:00
__init__.py chore(root): Moves azure out of tools and remove xt folder. 2022-12-16 16:52:40 -03:00
aml_all_toy.py chore(root): Moves azure out of tools and remove xt folder. 2022-12-16 16:52:40 -03:00
aml_config_template.yaml chore(root): Moves azure out of tools and remove xt folder. 2022-12-16 16:52:40 -03:00
aml_experiment_runner.py chore(root): Moves azure out of tools and remove xt folder. 2022-12-16 16:52:40 -03:00
aml_launch_main.py chore(root): Moves azure out of tools and remove xt folder. 2022-12-16 16:52:40 -03:00
aml_utils.py chore(root): Moves azure out of tools and remove xt folder. 2022-12-16 16:52:40 -03:00

README.md

Setting up Azure ML

If you are not familiar with Azure ML workspaces, it will be useful to go through these tutorials first. In particular the usage of Python SDK

  • Push local dockers to AML workspace registries. See these instructions.

  • Copy over aml_config_template.yaml to outside the repository, rename appropriately example aml_config_myname.yaml and fill-in secret keys like your Azure subscription keys, storage account details, registry details etc. NOTE: It is important that you not accidentally add this to version control. Once this is in version control even if you delete from the working copy all the secrets are still in history and it takes a lot of work to delete all evidence from history. If the repo is made open source with the secrets in history, it will pose a security issue.

  • On command prompt python tools/azure/aml_launch_main.py --aml_secrets_filepath /path/to/aml_secrets_myname.yaml --algo darts --full to launch a full darts search and evaluation on Azure AML. Modify the command line appropriately for other algorithms.