Skip to content

Commit 9fc1beb

Browse files
authored
Update how-to-troubleshoot-environments.md
1 parent 354e370 commit 9fc1beb

File tree

1 file changed

+34
-34
lines changed

1 file changed

+34
-34
lines changed

articles/machine-learning/how-to-troubleshoot-environments.md

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ These pre-created environments also allow for faster deployment time.
3333
In user-managed environments, you're responsible for setting up your environment and installing every package that your training script needs on the compute target.
3434
Also be sure to include any dependencies needed for model deployment.
3535

36-
These types of environments have two subtypes. For the first type, BYOC (bring your own container), you bring an existing Docker image to AzureML. For the second type, Docker build context based environments, Azure Machine Learning materializes the image from the context that you provide.
36+
These types of environments have two subtypes. For the first type, BYOC (bring your own container), you bring an existing Docker image to Azure Machine Learning. For the second type, Docker build context based environments, Azure Machine Learning materializes the image from the context that you provide.
3737

3838
When you want conda to manage the Python environment for you, use a system-managed environment.
39-
AzureML creates a new isolated conda environment by materializing your conda specification on top of a base Docker image. By default, AzureML adds common features to the derived image.
39+
Azure Machine Learning creates a new isolated conda environment by materializing your conda specification on top of a base Docker image. By default, Azure Machine Learning adds common features to the derived image.
4040
Any Python packages present in the base image aren't available in the isolated conda environment.
4141

4242
### Create and manage environments
@@ -71,7 +71,7 @@ There are some ways to decrease the impact of vulnerabilities:
7171
Reproducibility is one of the foundations of software development. When you're developing production code, a repeated operation must guarantee the same
7272
result. Mitigating vulnerabilities can disrupt reproducibility by changing dependencies.
7373

74-
AzureML's primary focus is to guarantee reproducibility. Environments fall under three categories: curated,
74+
Azure Machine Learning's primary focus is to guarantee reproducibility. Environments fall under three categories: curated,
7575
user-managed, and system-managed.
7676

7777
**Curated environments** are pre-created environments that Azure Machine Learning manages and are available by default in every Azure Machine Learning workspace provisioned.
@@ -88,7 +88,7 @@ compute target and for model deployment. These types of environments have two su
8888
Once you install more dependencies on top of a Microsoft-provided image, or bring your own base image, vulnerability
8989
management becomes your responsibility.
9090

91-
You use **system-managed environments** when you want conda to manage the Python environment for you. AzureML creates a new isolated conda environment by materializing your conda specification on top of a base Docker image. While Azure Machine Learning patches base images with each release, whether you use the
91+
You use **system-managed environments** when you want conda to manage the Python environment for you. Azure Machine Learning creates a new isolated conda environment by materializing your conda specification on top of a base Docker image. While Azure Machine Learning patches base images with each release, whether you use the
9292
latest image may be a tradeoff between reproducibility and vulnerability management. So, it's your responsibility to choose the environment version used
9393
for your jobs or model deployments while using system-managed environments.
9494

@@ -160,7 +160,7 @@ To create a new environment, you must use one of the following approaches:
160160
* The directory should contain a Dockerfile and any other files needed to build the image
161161
* [Sample here](https://aka.ms/azureml/environment/create-env-build-context-v2)
162162
* Conda specification
163-
* You must specify a base Docker image for the environment; AzureML builds the conda environment on top of the Docker image provided
163+
* You must specify a base Docker image for the environment; Azure Machine Learning builds the conda environment on top of the Docker image provided
164164
* Provide the relative path to the conda file
165165
* [Sample here](https://aka.ms/azureml/environment/create-env-conda-spec-v2)
166166

@@ -484,7 +484,7 @@ Ensure that you include a path for your build context
484484
### Missing Dockerfile path
485485
<!--issueDescription-->
486486

487-
This issue can happen when AzureML fails to find your Dockerfile. As a default, Azure Machine Learning looks for a Dockerfile named 'Dockerfile' at the root of your build context directory unless you specify a Dockerfile path.
487+
This issue can happen when Azure Machine Learning fails to find your Dockerfile. As a default, Azure Machine Learning looks for a Dockerfile named 'Dockerfile' at the root of your build context directory unless you specify a Dockerfile path.
488488

489489
**Potential causes:**
490490
* Your Dockerfile isn't at the root of your build context directory and/or is named something other than 'Dockerfile,' and you didn't provide its path
@@ -832,7 +832,7 @@ env.python.conda_dependencies = conda_dep
832832

833833
*Applies to: Azure CLI & Python SDK v2*
834834

835-
You must specify a base Docker image for the environment, and AzureML then builds the conda environment on top of that image
835+
You must specify a base Docker image for the environment, and Azure Machine Learning then builds the conda environment on top of that image
836836
* Provide the relative path to the conda file
837837
* See how to [create an environment from a conda specification](https://aka.ms/azureml/environment/create-env-conda-spec-v2)
838838

@@ -887,7 +887,7 @@ env.python.conda_dependencies = conda_dep
887887

888888
*Applies to: Azure CLI & Python SDK v2*
889889

890-
You must specify a base Docker image for the environment, and AzureML then builds the conda environment on top of that image
890+
You must specify a base Docker image for the environment, and Azure Machine Learning then builds the conda environment on top of that image
891891
* Provide the relative path to the conda file
892892
* See how to [create an environment from a conda specification](https://aka.ms/azureml/environment/create-env-conda-spec-v2)
893893

@@ -1161,7 +1161,7 @@ This issue can happen when there's a failure in accessing a workspace's associat
11611161

11621162
**Affected areas (symptoms):**
11631163
* Failure in building environments from UI, SDK, and CLI.
1164-
* Failure in running jobs because AzureML implicitly builds the environment in the first step.
1164+
* Failure in running jobs because Azure Machine Learning implicitly builds the environment in the first step.
11651165
* Pipeline job failures.
11661166
* Model deployment failures.
11671167
<!--/issueDescription-->
@@ -1208,7 +1208,7 @@ This issue can happen when a Docker image pull fails during an image build.
12081208

12091209
**Affected areas (symptoms):**
12101210
* Failure in building environments from UI, SDK, and CLI.
1211-
* Failure in running jobs because AzureML implicitly builds the environment in the first step.
1211+
* Failure in running jobs because Azure Machine Learning implicitly builds the environment in the first step.
12121212
<!--/issueDescription-->
12131213

12141214
**Troubleshooting steps**
@@ -1241,7 +1241,7 @@ This issue can happen when a Docker image pull fails due to a network issue.
12411241

12421242
**Affected areas (symptoms):**
12431243
* Failure in building environments from UI, SDK, and CLI.
1244-
* Failure in running jobs because AzureML implicitly builds the environment in the first step.
1244+
* Failure in running jobs because Azure Machine Learning implicitly builds the environment in the first step.
12451245
<!--/issueDescription-->
12461246

12471247
**Troubleshooting steps**
@@ -1267,7 +1267,7 @@ This issue can happen when a package listed in your conda specification is inval
12671267

12681268
**Affected areas (symptoms):**
12691269
* Failure in building environments from UI, SDK, and CLI.
1270-
* Failure in running jobs because AzureML implicitly builds the environment in the first step.
1270+
* Failure in running jobs because Azure Machine Learning implicitly builds the environment in the first step.
12711271
<!--/issueDescription-->
12721272

12731273
**Troubleshooting steps**
@@ -1289,7 +1289,7 @@ This issue can happen when there's a failure in communicating with the entity fr
12891289

12901290
**Affected areas (symptoms):**
12911291
* Failure in building environments from UI, SDK, and CLI.
1292-
* Failure in running jobs because AzureML implicitly builds the environment in the first step.
1292+
* Failure in running jobs because Azure Machine Learning implicitly builds the environment in the first step.
12931293
<!--/issueDescription-->
12941294

12951295
**Troubleshooting steps**
@@ -1311,7 +1311,7 @@ This issue can happen when there's a failure building a package required for the
13111311

13121312
**Affected areas (symptoms):**
13131313
* Failure in building environments from UI, SDK, and CLI.
1314-
* Failure in running jobs because AzureML implicitly builds the environment in the first step.
1314+
* Failure in running jobs because Azure Machine Learning implicitly builds the environment in the first step.
13151315
<!--/issueDescription-->
13161316

13171317
**Troubleshooting steps**
@@ -1338,7 +1338,7 @@ This issue can happen when a command isn't recognized during an image build.
13381338

13391339
**Affected areas (symptoms):**
13401340
* Failure in building environments from UI, SDK, and CLI.
1341-
* Failure in running jobs because AzureML implicitly builds the environment in the first step.
1341+
* Failure in running jobs because Azure Machine Learning implicitly builds the environment in the first step.
13421342
<!--/issueDescription-->
13431343

13441344
**Troubleshooting steps**
@@ -1361,7 +1361,7 @@ This issue can happen when conda package resolution takes too long to complete.
13611361

13621362
**Affected areas (symptoms):**
13631363
* Failure in building environments from UI, SDK, and CLI.
1364-
* Failure in running jobs because AzureML implicitly builds the environment in the first step.
1364+
* Failure in running jobs because Azure Machine Learning implicitly builds the environment in the first step.
13651365
<!--/issueDescription-->
13661366

13671367
**Troubleshooting steps**
@@ -1380,7 +1380,7 @@ This issue can happen when conda package resolution fails due to available memor
13801380

13811381
**Affected areas (symptoms):**
13821382
* Failure in building environments from UI, SDK, and CLI.
1383-
* Failure in running jobs because AzureML implicitly builds the environment in the first step.
1383+
* Failure in running jobs because Azure Machine Learning implicitly builds the environment in the first step.
13841384
<!--/issueDescription-->
13851385

13861386
**Troubleshooting steps**
@@ -1398,7 +1398,7 @@ This issue can happen when one or more conda packages listed in your specificati
13981398

13991399
**Affected areas (symptoms):**
14001400
* Failure in building environments from UI, SDK, and CLI.
1401-
* Failure in running jobs because AzureML implicitly builds the environment in the first step.
1401+
* Failure in running jobs because Azure Machine Learning implicitly builds the environment in the first step.
14021402
<!--/issueDescription-->
14031403

14041404
**Troubleshooting steps**
@@ -1431,7 +1431,7 @@ This issue can happen when a Python module listed in your conda specification do
14311431

14321432
**Affected areas (symptoms):**
14331433
* Failure in building environments from UI, SDK, and CLI.
1434-
* Failure in running jobs because AzureML implicitly builds the environment in the first step.
1434+
* Failure in running jobs because Azure Machine Learning implicitly builds the environment in the first step.
14351435
<!--/issueDescription-->
14361436

14371437
**Troubleshooting steps**
@@ -1462,7 +1462,7 @@ This issue can happen when there's no package found that matches the version you
14621462

14631463
**Affected areas (symptoms):**
14641464
* Failure in building environments from UI, SDK, and CLI.
1465-
* Failure in running jobs because AzureML implicitly builds the environment in the first step.
1465+
* Failure in running jobs because Azure Machine Learning implicitly builds the environment in the first step.
14661466
<!--/issueDescription-->
14671467

14681468
**Troubleshooting steps**
@@ -1497,7 +1497,7 @@ This issue can happen when building wheels for mpi4py fails.
14971497

14981498
**Affected areas (symptoms):**
14991499
* Failure in building environments from UI, SDK, and CLI.
1500-
* Failure in running jobs because AzureML implicitly builds the environment in the first step.
1500+
* Failure in running jobs because Azure Machine Learning implicitly builds the environment in the first step.
15011501
<!--/issueDescription-->
15021502

15031503
**Troubleshooting steps**
@@ -1507,7 +1507,7 @@ Ensure that you have a working MPI installation (preference for MPI-3 support an
15071507
* If needed, follow these [steps on building MPI](https://mpi4py.readthedocs.io/en/stable/appendix.html#building-mpi-from-sources)
15081508

15091509
Ensure that you're using a compatible python version
1510-
* AzureML requires Python 2.5 or 3.5+, but Python 3.7+ is recommended
1510+
* Azure Machine Learning requires Python 2.5 or 3.5+, but Python 3.7+ is recommended
15111511
* See [mpi4py installation](https://aka.ms/azureml/environment/install-mpi4py)
15121512

15131513
**Resources**
@@ -1524,7 +1524,7 @@ because you can't provide interactive authentication during a build
15241524

15251525
**Affected areas (symptoms):**
15261526
* Failure in building environments from UI, SDK, and CLI.
1527-
* Failure in running jobs because AzureML implicitly builds the environment in the first step.
1527+
* Failure in running jobs because Azure Machine Learning implicitly builds the environment in the first step.
15281528
<!--/issueDescription-->
15291529

15301530
**Troubleshooting steps**
@@ -1562,7 +1562,7 @@ This issue can happen when an attempt to access a blob in a storage account is r
15621562
15631563
**Affected areas (symptoms):**
15641564
* Failure in building environments from UI, SDK, and CLI.
1565-
* Failure in running jobs because AzureML implicitly builds the environment in the first step.
1565+
* Failure in running jobs because Azure Machine Learning implicitly builds the environment in the first step.
15661566
<!--/issueDescription-->
15671567
15681568
**Troubleshooting steps**
@@ -1583,7 +1583,7 @@ This issue can happen when the conda environment fails to be created or updated
15831583
15841584
**Affected areas (symptoms):**
15851585
* Failure in building environments from UI, SDK, and CLI.
1586-
* Failure in running jobs because AzureML implicitly builds the environment in the first step.
1586+
* Failure in running jobs because Azure Machine Learning implicitly builds the environment in the first step.
15871587
<!--/issueDescription-->
15881588
15891589
**Troubleshooting steps**
@@ -1607,7 +1607,7 @@ This issue can happen when the conda command isn't recognized during conda envir
16071607
16081608
**Affected areas (symptoms):**
16091609
* Failure in building environments from UI, SDK, and CLI.
1610-
* Failure in running jobs because AzureML implicitly builds the environment in the first step.
1610+
* Failure in running jobs because Azure Machine Learning implicitly builds the environment in the first step.
16111611
<!--/issueDescription-->
16121612
16131613
**Troubleshooting steps**
@@ -1628,7 +1628,7 @@ This issue can happen when there's a package specified in your conda environment
16281628
16291629
**Affected areas (symptoms):**
16301630
* Failure in building environments from UI, SDK, and CLI.
1631-
* Failure in running jobs because AzureML implicitly builds the environment in the first step.
1631+
* Failure in running jobs because Azure Machine Learning implicitly builds the environment in the first step.
16321632
<!--/issueDescription-->
16331633
16341634
**Troubleshooting steps**
@@ -1648,7 +1648,7 @@ This issue can happen when you've specified a package on the command line using
16481648
16491649
**Affected areas (symptoms):**
16501650
* Failure in building environments from UI, SDK, and CLI.
1651-
* Failure in running jobs because AzureML implicitly builds the environment in the first step.
1651+
* Failure in running jobs because Azure Machine Learning implicitly builds the environment in the first step.
16521652
<!--/issueDescription-->
16531653
16541654
**Troubleshooting steps**
@@ -1665,7 +1665,7 @@ This issue can happen when there's a failure decoding a character in your conda
16651665
16661666
**Affected areas (symptoms):**
16671667
* Failure in building environments from UI, SDK, and CLI.
1668-
* Failure in running jobs because AzureML implicitly builds the environment in the first step.
1668+
* Failure in running jobs because Azure Machine Learning implicitly builds the environment in the first step.
16691669
<!--/issueDescription-->
16701670
16711671
## *Pip issues during build*
@@ -1679,7 +1679,7 @@ This issue can happen when your image build fails during Python package installa
16791679
16801680
**Affected areas (symptoms):**
16811681
* Failure in building environments from UI, SDK, and CLI.
1682-
* Failure in running jobs because AzureML implicitly builds the environment in the first step.
1682+
* Failure in running jobs because Azure Machine Learning implicitly builds the environment in the first step.
16831683
<!--/issueDescription-->
16841684
16851685
**Troubleshooting steps**
@@ -1699,7 +1699,7 @@ This issue can happen when pip fails to uninstall a Python package that the oper
16991699
17001700
**Affected areas (symptoms):**
17011701
* Failure in building environments from UI, SDK, and CLI.
1702-
* Failure in running jobs because AzureML implicitly builds the environment in the first step.
1702+
* Failure in running jobs because Azure Machine Learning implicitly builds the environment in the first step.
17031703
<!--/issueDescription-->
17041704
17051705
**Troubleshooting steps**
@@ -1728,7 +1728,7 @@ This issue can happen when you haven't specified any targets and no makefile is
17281728
17291729
**Affected areas (symptoms):**
17301730
* Failure in building environments from UI, SDK, and CLI.
1731-
* Failure in running jobs because AzureML implicitly builds the environment in the first step.
1731+
* Failure in running jobs because Azure Machine Learning implicitly builds the environment in the first step.
17321732
17331733
**Troubleshooting steps**
17341734
* Ensure that you've spelled the makefile correctly
@@ -1753,7 +1753,7 @@ This issue can happen when there's a failure in pushing a Docker image to a cont
17531753
17541754
**Affected areas (symptoms):**
17551755
* Failure in building environments from the UI, SDK, and CLI.
1756-
* Failure in running jobs because AzureML implicitly builds the environment in the first step.
1756+
* Failure in running jobs because Azure Machine Learning implicitly builds the environment in the first step.
17571757
<!--/issueDescription-->
17581758
17591759
**Troubleshooting steps**
@@ -1781,7 +1781,7 @@ If you aren't using a virtual network, or if you've configured it correctly, tes
17811781
**Affected areas (symptoms):**
17821782
* A successful build, but no available logs.
17831783
* Failure in building environments from UI, SDK, and CLI.
1784-
* Failure in running jobs because AzureML implicitly builds the environment in the first step.
1784+
* Failure in running jobs because Azure Machine Learning implicitly builds the environment in the first step.
17851785
<!--/issueDescription-->
17861786
17871787
**Troubleshooting steps**

0 commit comments

Comments
 (0)