Skip to main content

Microsoft Azure Batch AI Client Command-Line Tools

Project description

Microsoft Azure CLI Batch AI Module

This package is for the batchai module.

Release History

0.4.3

  • Fix auto storage account creation failure in az batchai cluster create command

0.4.2

  • Minor fixes

0.4.1

  • Logger output for auto-storage account creation now specifies “resource group”.

0.4.0

  • BREAKING CHANGE: ‘show’ commands log error message and fail with exit code of 3 upon a missing resource.

  • Fixed az batchai job exec command

0.3.2

  • Minor fixes

0.3.1

  • Fixed -o table option for az batchai cluster node list and az batchai job node list commands.

0.3.0

  • Added support for 2018-05-01 API

  • Added support for workspaces. Workspaces allow to group clusters, file-servers and experiments in groups removing limitation on number of resources can be created;

  • Added support for experiments. Experiments allow to group jobs in collections removing limitation on number of created jobs;

  • It’s possible to configure /dev/shm for jobs running in docker container.

  • Added ‘az batchai cluster node exec’ and ‘az batchai job node exec’ commands. These commands allow to execute any commands directly on nodes and provide functionality for port forwarding. Port forwarding can be used, for example, to access tensorboard and jupyter running on cluster’s nodes;

  • az batchai now supports –ids parameters like other az commands;

  • Breaking change: now all clusters and fileservers must be created under workspaces;

  • Breaking change: now jobs must be created under experiments;

  • Breaking change: ‘–nfs-resource-group’ option is deleted from ‘cluster create’ and ‘job create’ commands. To mount NFS belonging to a different workspace/resource group provide file server’s ARM ID via ‘–nfs’ option;

  • Breaking change: ‘–cluster-resource-group’ option is deleted from ‘job create’ command. To submit a job on a cluster belonging to a different workspace/resource group provide cluster’s ARM ID via ‘–cluster’ option;

  • Breaking change: jobs, cluster and file servers do not longer have location attribute. Location now is an attribute of a workspace. So, ‘–location’ parameter has been removed from ‘job create’, ‘cluster create’ and ‘file-server create’ commands;

  • Breaking change: names of short options were changed to make interface more consistent:

  • In create cluster, file-server and job commands [’–config’, ‘-c’] option was renamed to [’–config-file’, ‘-f’];

  • In create job command [’–cluster’, ‘-r’] option was renamed to [’–cluster’, ‘-c’];

  • In ‘job file list’ and ‘job file stream’ commands [’–job’, ‘-n’] option was renamed to [’–job’, ‘-j’];

  • In ‘cluster file list’ command [’–cluster’, ‘-n’] option was renamed to [’–cluster’, ‘-c’]

0.2.3

  • minor changes

0.2.2

  • Now ‘az batchai create cluster’ respects vm priority configured in the cluster’s configuration file.

0.2.1

  • Minor fixes

0.2.0

  • Added support for 2018-03-01 API

  • Job level mounting

  • Environment variables with secret values

  • Performance counters settings

  • Reporting of job specific path segment

  • Support for subfolders in list files api

  • Usage and limits reporting

  • Allow to specify caching type for NFS servers

  • Support for custom images

  • Added pyTorch toolkit support

  • Added ‘job wait’ command which allows to wait for the job completion and reports job exit code

  • Added ‘usage show’ command to list current Batch AI resources usage and limits for different regions

  • National clouds are supported

  • Added job command line arguments to mount filesystems on the job level in addition to config files

  • Added more options to customize clusters - vm priority, subnet, initial nodes count for auto-scale clusters, specifying custom image

  • Added command line option to specify caching type for Batch AI managed NFS

  • Simplified specifying mount filesystem in config files. Now you can omit credentials for Azure File Share and Azure Blob Containers - CLI will populate missing credentials using storage account key provided via command line parameters or specified via environment variable or will query the key from Azure Storage (if the storage account belongs to the current subscription).

  • Job file stream command now auto-completes when the job is completed (succeeded, failed, terminated or deleted).

  • Improved ‘-o table’ support for show operations.

  • Added –use-auto-storage option for cluster creation. This option make it simpler to manage storage accounts and and mount Azure File Share and Azure Blob Containers to clusters.

  • Added –generate-ssh-keys option into ‘cluster create’ and ‘file-server create’.

  • Added ability to provide node setup task via command line.

  • Breaking change: ‘job stream-file’ and ‘job list-files’ commands are grouped under ‘job file’ group.

  • Breaking change: renamed –admin-user-name to –user-name in ‘file-server create’ command to be consistent with ‘cluster create’ command.

  • sdist is now compatible with wheel 0.31.0

0.1.4

  • Update for CLI core changes.

0.1.3

  • Added short option for providing VM size in file-server create command

  • Added storage account name and key arguments into cluster create parameters

  • Fixed documentation for job list-files and stream-file

  • Added short option for providing cluster name in job create command

0.1.2

  • minor fixes

0.1.1 (2017-10-09)

  • Initial release of Batch AI module.

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

azure-cli-batchai-0.4.3.tar.gz (24.6 kB view details)

Uploaded Source

Built Distribution

azure_cli_batchai-0.4.3-py2.py3-none-any.whl (26.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file azure-cli-batchai-0.4.3.tar.gz.

File metadata

  • Download URL: azure-cli-batchai-0.4.3.tar.gz
  • Upload date:
  • Size: 24.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.7.0

File hashes

Hashes for azure-cli-batchai-0.4.3.tar.gz
Algorithm Hash digest
SHA256 c1887babd4b0ff737874972c5b427a08fd519c7267d7cb727baa4e29a689d9be
MD5 9eefb1cb07262e3f3b02eea5b5a141bd
BLAKE2b-256 689a8f4c1142eb199a17cec8809d7f328657356d3d98a050641ce23deda96bac

See more details on using hashes here.

File details

Details for the file azure_cli_batchai-0.4.3-py2.py3-none-any.whl.

File metadata

  • Download URL: azure_cli_batchai-0.4.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 26.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.7.0

File hashes

Hashes for azure_cli_batchai-0.4.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 6a3bdcdf7ab43e3c0370d17cf8d31fab6822af7ae7a60fb28640a7bd3e6e58a0
MD5 e0b376b7e35b7e987ce7320a6d12440b
BLAKE2b-256 aa433e1b7759daa37ae76639e9539eb54b3e822778b2bf934fd26a0a179ccddc

See more details on using hashes here.

Supported by

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