You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/machine-learning/how-to-troubleshoot-environments.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,9 +36,9 @@ In user-managed environments, you're responsible for setting up your environment
36
36
Also be sure to include any dependencies needed for model deployment.
37
37
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, AzureML materializes the image from the context that you provide.
38
38
39
-
When you want conda to manage the Python environment for you, use system-managed environments.
40
-
AzureML creates a new isolated conda environment by materializing your conda specification on top of a base Docker image. By default, AzureML adds common properties to the derived image.
41
-
Environment isolation implies that Python dependencies installed in the base image aren't available in the derived image.
39
+
When you want conda to manage the Python environment for you, use a system-managed environment.
40
+
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.
41
+
Any Python packages present in the base image are not available in the isolated conda environment.
42
42
43
43
### Create and manage environments
44
44
@@ -48,15 +48,15 @@ You can create and manage environments from clients like AzureML Python SDK, Azu
48
48
They aren't listed but you can retrieve them by version or label.
49
49
50
50
AzureML builds environment definitions into Docker images.
51
-
It also caches the environments in the Azure Container Registry associated with your AzureML Workspace so you can reuse them in subsequent training jobs and service endpoint deployments.
52
-
Multiple environments with the same definition may result in the same image, so the cached image is reused.
51
+
It also caches the images in the Azure Container Registry associated with your AzureML Workspace so they can be reused in subsequent training jobs and service endpoint deployments.
52
+
Additional environments with the same definition may result in the same cached image.
53
53
Running a training script remotely requires the creation of a Docker image.
54
54
55
55
### Reproducibility and vulnerabilities
56
56
57
57
#### *Vulnerabilities*
58
58
59
-
You can address vulnerabilities by upgrading to a newer version of a dependency or migrating to a different dependency that satisfies security
59
+
You can address vulnerabilities by upgrading to a newer version of a dependency (base image, Python package, etc.) or migrating to a different dependency that satisfies security
60
60
requirements. Mitigating vulnerabilities is time consuming and costly since it can require refactoring of code and infrastructure. With the prevalence
61
61
of open source software and the use of complicated nested dependencies, it's important to manage and keep track of vulnerabilities.
0 commit comments