Skip to content

Commit 4d7c04a

Browse files
edebar01elesel
andauthored
Apply suggestions from code review
Co-authored-by: Louie Larson <[email protected]>
1 parent 502ad52 commit 4d7c04a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ In user-managed environments, you're responsible for setting up your environment
3636
Also be sure to include any dependencies needed for model deployment.
3737
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.
3838

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.
4242

4343
### Create and manage environments
4444

@@ -48,15 +48,15 @@ You can create and manage environments from clients like AzureML Python SDK, Azu
4848
They aren't listed but you can retrieve them by version or label.
4949

5050
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.
5353
Running a training script remotely requires the creation of a Docker image.
5454

5555
### Reproducibility and vulnerabilities
5656

5757
#### *Vulnerabilities*
5858

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
6060
requirements. Mitigating vulnerabilities is time consuming and costly since it can require refactoring of code and infrastructure. With the prevalence
6161
of open source software and the use of complicated nested dependencies, it's important to manage and keep track of vulnerabilities.
6262

0 commit comments

Comments
 (0)