utils.fabrics
Compute fabric specific utility methods.
#
is_azureml_mpirunCheck if run set up by azureml using OpenMPI image.
When running MPIRUN with OpenMPI images, AzureML sets a specific combination of environment variables which we check for here, specifically::
and one of the following::
#
is_torch_distributed_launch_via_environment_variablesCheck if torch.distributed.launch used to submit the job using environment variables.
#
is_azureml_run_with_sdkCheck if we are running on Azure ML with azureml-sdk.