Skip to content

Commit 4d6a51c

Browse files
committed
fix blocking issues
1 parent e8f730a commit 4d6a51c

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

articles/machine-learning/v1/how-to-train-distributed-gpu.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ torch.distributed.init_process_group(backend='nccl', init_method='env://', ...)
130130

131131
The most common communication backends used are `mpi`, `nccl`, and `gloo`. For GPU-based training `nccl` is recommended for best performance and should be used whenever possible.
132132

133-
`init_method` tells how each process can discover each other, how they initialize and verify the process group using the communication backend. By default if `init_method` is not specified PyTorch will use the environment variable initialization method (`env://`). `init_method` is the recommended initialization method to use in your training code to run distributed PyTorch on Azure ML. PyTorch will look for the following environment variables for initialization,:
133+
`init_method` tells how each process can discover each other, how they initialize and verify the process group using the communication backend. By default if `init_method` is not specified PyTorch will use the environment variable initialization method (`env://`). `init_method` is the recommended initialization method to use in your training code to run distributed PyTorch on Azure ML. PyTorch will look for the following environment variables for initialization:
134134

135135
- **`MASTER_ADDR`** - IP address of the machine that will host the process with rank 0.
136136
- **`MASTER_PORT`** - A free port on the machine that will host the process with rank 0.

articles/machine-learning/v1/how-to-train-scikit-learn.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ ws = Workspace.from_config()
5757

5858
In this tutorial, the [training script **train_iris.py**](https://github.com/Azure/MachineLearningNotebooks/blob/master/how-to-use-azureml/ml-frameworks/scikit-learn/train-hyperparameter-tune-deploy-with-sklearn/train_iris.py) is already provided for you. In practice, you should be able to take any custom training script as is and run it with Azure ML without having to modify your code.
5959

60-
Notes:
61-
- The provided training script shows how to log some metrics to your Azure ML run using the `Run` object within the script.
62-
- The provided training script uses example data from the `iris = datasets.load_iris()` function. To use and access your own data, see [how to train with datasets](how-to-train-with-datasets.md) to make data available during training.
60+
> [!NOTE]
61+
> - The provided training script shows how to log some metrics to your Azure ML run using the `Run` object within the script.
62+
> - The provided training script uses example data from the `iris = datasets.load_iris()` function. To use and access your own data, see [how to train with datasets](how-to-train-with-datasets.md) to make data available during training.
6363
6464
### Define your environment
6565

@@ -78,7 +78,7 @@ sklearn_env = Environment.get(workspace=ws, name='AzureML-Tutorial')
7878

7979
#### Create a custom environment
8080

81-
You can also create your own your own custom environment. Define your conda dependencies in a YAML file; in this example the file is named `conda_dependencies.yml`.
81+
You can also create your own custom environment. Define your conda dependencies in a YAML file; in this example the file is named `conda_dependencies.yml`.
8282

8383
```yaml
8484
dependencies:
@@ -188,7 +188,8 @@ Instead of the traditional deployment route, you can also use the no-code deploy
188188
web_service = Model.deploy(ws, "scikit-learn-service", [model])
189189
```
190190

191-
NOTE: These dependencies are included in the pre-built scikit-learn inference container.
191+
> [!NOTE]
192+
> These dependencies are included in the pre-built scikit-learn inference container.
192193
193194
```yaml
194195
- azureml-defaults

articles/machine-learning/v1/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,8 @@
180180
href: how-to-train-keras.md
181181
- name: PyTorch
182182
href: how-to-train-pytorch.md
183+
- name: Migrate from Estimators to ScriptRunConfig
184+
href: how-to-migrate-from-estimators-to-scriptrunconfig.md
183185
- name: Automated machine learning
184186
displayName: automl, auto ml
185187
items:

0 commit comments

Comments
 (0)