utils.fabrics
Compute fabric specific utility methods.
is_azureml_mpirun#
Check 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_variables#
Check if torch.distributed.launch used to submit the job using environment variables.
is_azureml_run_with_sdk#
Check if we are running on Azure ML with azureml-sdk.