Skip to main content

Utility tools to use IrisML on AzureML

Project description

irisml-tasks-azureml

This package is a part of IrisML pipeline. It provides utility scripts and tasks to work with AzureML.

Installation

pip install irisml-tasks-azureml

Available commands

usage: irisml_run_aml [-h] [--env ENV] [--no_cache] [--no_cache_read] [--include_local_tasks [INCLUDE_LOCAL_TASKS]] [--custom_packages CUSTOM_PACKAGES [CUSTOM_PACKAGES ...]]
                      [--requirement REQUIREMENT] [--extra_index_url EXTRA_INDEX_URL] [--no_wait] [--compute_target COMPUTE_TARGET] [--subscription_id SUBSCRIPTION_ID]
                      [--resourcegroup RESOURCEGROUP] [--workspace WORKSPACE] [--experiment EXPERIMENT] [--base_docker_image BASE_DOCKER_IMAGE]
                      [--base_docker_image_registry BASE_DOCKER_IMAGE_REGISTRY] [--no_docker_build_date_label] [--use_sp_on_remote] [--very_verbose]
                      job_filepath

positional arguments:
  job_filepath

options:
  -h, --help            show this help message and exit
  --env ENV, -e ENV
  --no_cache
  --no_cache_read
  --include_local_tasks [INCLUDE_LOCAL_TASKS], -l [INCLUDE_LOCAL_TASKS]
  --custom_packages CUSTOM_PACKAGES [CUSTOM_PACKAGES ...], -p CUSTOM_PACKAGES [CUSTOM_PACKAGES ...]
  --requirement REQUIREMENT, -r REQUIREMENT
  --extra_index_url EXTRA_INDEX_URL
  --no_wait
  --compute_target COMPUTE_TARGET
  --subscription_id SUBSCRIPTION_ID
  --resourcegroup RESOURCEGROUP
  --workspace WORKSPACE
  --experiment EXPERIMENT
  --base_docker_image BASE_DOCKER_IMAGE
  --base_docker_image_registry BASE_DOCKER_IMAGE_REGISTRY
  --no_docker_build_date_label
  --use_sp_on_remote, --sp
                        Use Service Principal id and secret on the AML job.
  --very_verbose, -vv

This command submits an experiment to a remote AzureML node.

If --include_local_tasks option is used, python scripts in the current directory or the specified directory will be sent to AzureML and be loaded as custom tasks.

If environment variable AZURE_TENANT_ID, AZURE_CLIENT_ID, and AZURE_CLIENT_SECRET are set, this command will use ServicePrincipalAuthentication. Otherwise, the AzureML's default authentication method will be used.

If --use_sp_on_remote flag is used, the environment variables for service principal authentication will be set to the AML job. Note that those information will be visible to anyone who has read access to the job.

Example

irisml_run_aml irisml/docs/example/mobilenetv2_mnist_training.json -p irisml-tasks-torchvision irisml-tasks-training --compute_target <cluster_name> --subscription_id <subscription_id> --workspace <workspacename>

Tasks

run_azureml_child

Submit a new AzureML job as a child of the current run. Raises an exception if the current environment was not on AzureML.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

irisml_tasks_azureml-1.0.5.tar.gz (9.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

irisml_tasks_azureml-1.0.5-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

Details for the file irisml_tasks_azureml-1.0.5.tar.gz.

File metadata

  • Download URL: irisml_tasks_azureml-1.0.5.tar.gz
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.21

File hashes

Hashes for irisml_tasks_azureml-1.0.5.tar.gz
Algorithm Hash digest
SHA256 0be14368dfb71cff1bed749546eb6e3ff0df75f09cc7a8a222801e6527cb408f
MD5 874e56e8ae924946dd9e4228eff53841
BLAKE2b-256 bdd0057f4723d851b52914516120af9114280b68ea34c924f5c7afe55c1e75ab

See more details on using hashes here.

File details

Details for the file irisml_tasks_azureml-1.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for irisml_tasks_azureml-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 9be7277b970dd44eed456265b12fd85d9b0c7e2ce7c60fbd4e00449f6a693b0d
MD5 6abbe0935582f84998871ff33cde600d
BLAKE2b-256 8ec03462750003d04b9a2971227188bcf2c4a56ee18e837f766d867c341a826a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page