Skip to content

Commit 7773e5b

Browse files
authored
final grammar changes
1 parent a836d4a commit 7773e5b

File tree

1 file changed

+17
-19
lines changed

1 file changed

+17
-19
lines changed

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

Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ To create a new environment, you must use one of the following approaches (see [
114114

115115
To create a new environment, you must use one of the following approaches:
116116
1. Docker image
117-
- Provide the image URI of the image hosted in a registry such as Docker Hub or Azure Containter Registry
117+
- Provide the image URI of the image hosted in a registry such as Docker Hub or Azure Container Registry
118118
- [Sample here](https://aka.ms/azureml/environment/create-env-docker-image-v2)
119119
2. Docker build context
120120
- Specify the directory that will serve as the build context
@@ -128,7 +128,7 @@ To create a new environment, you must use one of the following approaches:
128128
### Missing Docker definition
129129
*Applies to: Azure CLI & Python SDK v1 (Deprecated)*
130130
<!--issueDescription-->
131-
This issue can happen when your environment definition is missing a `DockerSection.` This section configures settings related to the final Docker image built from the environment specification and whether to use Docker containers to build the environment.
131+
This issue can happen when your environment definition is missing a `DockerSection.` This section configures settings related to the final Docker image built from your environment specification.
132132

133133
**Potential causes:**
134134
* The `DockerSection` of your environment definition isn't defined (null)
@@ -257,7 +257,7 @@ ml_client.environments.create_or_update(env_docker_image)
257257

258258
### Container registry credentials missing either username or password
259259
- To access the base image in the container registry specified, you must provide both a username and password. One is missing.
260-
- Note that providing credentials in this way is deprecated. For the current method of providing credentials, see the *secrets in base image registry* section.
260+
- Providing credentials in this way is deprecated. For the current method of providing credentials, see the *secrets in base image registry* section.
261261

262262
### Multiple credentials for base image registry
263263
- When specifying credentials for a base image registry, you must specify only one set of credentials.
@@ -275,8 +275,7 @@ to use, and set the other credentials you won't use to `null`
275275
and credentials to authenticate to the registry, if needed.
276276
- Historically, credentials have been specified in the environment definition. However, this method isn't secure and should be
277277
avoided.
278-
- Users should set credentials using workspace connections. For instructions on how to
279-
do this, see [set_connection](https://aka.ms/azureml/environment/set-connection-v1)
278+
- Users should set credentials using workspace connections. For instructions, see [set_connection](https://aka.ms/azureml/environment/set-connection-v1)
280279

281280
### Deprecated Docker attribute
282281
- The following `DockerSection` attributes are deprecated:
@@ -430,8 +429,7 @@ The environment is built once and is reused as long as the conda dependencies re
430429
### Missing conda channels
431430
- If no conda channels are specified, conda will use defaults that might change
432431
- For reproducibility of your environment, specify channels from which to pull dependencies
433-
- See [how to manage conda channels](https://aka.ms/azureml/environment/managing-conda-channels)
434-
for more information
432+
- For more information, see [how to manage conda channels](https://aka.ms/azureml/environment/managing-conda-channels)
435433

436434
### Base conda environment not recommended
437435
- Partial environment updates can lead to dependency conflicts and/or unexpected runtime errors,
@@ -536,18 +534,18 @@ This issue can happen when a Docker image pull fails during an image build.
536534

537535
**Troubleshooting steps**
538536

539-
If you suspect that the path name to your container registry is incorrect:
537+
If you suspect that the path name to your container registry is incorrect
540538
* For a registry `my-registry.io` and image `test/image` with tag `3.2`, a valid image path would be `my-registry.io/test/image:3.2`
541539
* See [registry path documentation](https://aka.ms/azureml/environment/docker-registries)
542540

543-
If your container registry is behind a virtual network and is using a private endpoint in an [unsupported region](https://aka.ms/azureml/environment/private-link-availability):
541+
If your container registry is behind a virtual network and is using a private endpoint in an [unsupported region](https://aka.ms/azureml/environment/private-link-availability)
544542
* Configure the container registry by using the service endpoint (public access) from the portal and retry
545543
* After you put the container registry behind a virtual network, run the [Azure Resource Manager template](https://aka.ms/azureml/environment/secure-resources-using-vnet) so the workspace can communicate with the container registry instance
546544

547-
If the image you're trying to reference doesn't exist in the container registry you specified:
545+
If the image you're trying to reference doesn't exist in the container registry you specified
548546
* Check that the correct tag is used and that `user_managed_dependencies` is set to `True`. Setting [user_managed_dependencies](https://aka.ms/azureml/environment/environment-python-section) to `True` disables conda and uses the user's installed packages
549547

550-
If you haven't provided credentials for a private registry you're trying to pull from, or the provided credentials are incorrect:
548+
If you haven't provided credentials for a private registry you're trying to pull from, or the provided credentials are incorrect
551549
* Set [workspace connections](https://aka.ms/azureml/environment/set-connection-v1) for the container registry if needed
552550

553551

@@ -593,7 +591,7 @@ Ensure that the conda channels/repositories you're using in your conda specifica
593591
* Check that they exist and are spelled correctly
594592

595593
If the conda channels/repositories are correct
596-
* Try to rebuild the image -- there's a chance that the failure is transient, and a rebuild might fix the issue
594+
* Try to rebuild the image--there's a chance that the failure is transient, and a rebuild might fix the issue
597595
* Check to make sure that the packages listed in your conda specification exist in the channels/repositories you specified
598596

599597
### Compile error
@@ -609,9 +607,9 @@ If the conda channels/repositories are correct
609607
This issue can happen when conda package resolution takes too long to complete.
610608

611609
**Potential causes:**
612-
* There's a large amount of packages listed in your conda specification and unnecessary packages are included
610+
* There's a large number of packages listed in your conda specification and unnecessary packages are included
613611
* You haven't pinned your dependencies (you included tensorflow instead of tensorflow=2.8)
614-
* You've listed packages for which there's no solution (you included package X=1.3 and Y=2.8, but X's version is incompatible with Y's)
612+
* You've listed packages for which there's no solution (you included package X=1.3 and Y=2.8, but X's version is incompatible with Y's version)
615613

616614
**Affected areas (symptoms):**
617615
* Failure in building environments from UI, SDK, and CLI.
@@ -620,17 +618,17 @@ This issue can happen when conda package resolution takes too long to complete.
620618

621619
**Troubleshooting steps**
622620
* Remove any packages from your conda specification that are unnecessary
623-
* Pin your packages-- environment resolution will be faster
621+
* Pin your packages--environment resolution will be faster
624622
* If you're still having issues, review this article for an in-depth look at [understanding and improving conda's performance](https://aka.ms/azureml/environment/improve-conda-performance)
625623

626624
### Out of memory
627625
<!--issueDescription-->
628626
This issue can happen when conda package resolution fails due to available memory being exhausted.
629627

630628
**Potential causes:**
631-
* There's a large amount of packages listed in your conda specification and unnecessary packages are included
629+
* There's a large number of packages listed in your conda specification and unnecessary packages are included
632630
* You haven't pinned your dependencies (you included tensorflow instead of tensorflow=2.8)
633-
* You've listed packages for which there's no solution (you included package X=1.3 and Y=2.8, but X's version is incompatible with Y's)
631+
* You've listed packages for which there's no solution (you included package X=1.3 and Y=2.8, but X's version is incompatible with Y's version)
634632

635633
**Affected areas (symptoms):**
636634
* Failure in building environments from UI, SDK, and CLI.
@@ -709,7 +707,7 @@ Name: my_environment
709707
- Failed to find Python package matching a specified distribution
710708
- Search for the distribution you're looking for and ensure it exists: [pypi](https://aka.ms/azureml/environment/pypi)
711709

712-
### Cannot build mpi4py
710+
### Can't build mpi4py
713711
- Failed to build wheel for mpi4py
714712
- Review and update your build environment or use a different installation method
715713
- See [mpi4py installation](https://aka.ms/azureml/environment/install-mpi4py)
@@ -744,6 +742,6 @@ without using quotes. Consider adding quotes around the package specification
744742
- Failed to install Python packages
745743
- Review the image build log for more information on this error
746744

747-
### Cannot uninstall package
745+
### Can't uninstall package
748746
- Pip failed to uninstall a Python package that was installed via the OS's package manager
749747
- Consider creating a separate environment using conda instead

0 commit comments

Comments
 (0)