Skip to content

Commit 77f6f4e

Browse files
committed
Add link to list of environments
1 parent 5836af0 commit 77f6f4e

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

articles/machine-learning/v1/how-to-migrate-from-estimators-to-scriptrunconfig.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.author: larryfr
88
ms.reviewer: sgilley
99
ms.service: machine-learning
1010
ms.subservice: core
11-
ms.date: 12/14/2020
11+
ms.date: 09/14/2022
1212
ms.topic: how-to
1313
ms.custom: devx-track-python, contperf-fy21q1, sdkv1, event-tier1-build-2022
1414
---
@@ -47,12 +47,12 @@ When using ScriptRunConfig, all environment-related configurations are encapsula
4747
* [Use a curated environment](../how-to-use-environments.md#use-a-curated-environment) - curated environments are predefined environments available in your workspace by default. There is a corresponding curated environment for each of the preconfigured framework/version Docker images that backed each framework estimator.
4848
* [Define your own custom environment](how-to-use-environments.md)
4949

50-
Here is an example of using the curated PyTorch 1.6 environment for training:
50+
Here is an example of using the curated PyTorch environment for training:
5151

5252
```python
5353
from azureml.core import Workspace, ScriptRunConfig, Environment
5454

55-
curated_env_name = 'AzureML-PyTorch-1.6-GPU'
55+
curated_env_name = 'AzureML-pytorch-1.10-ubuntu18.04-py38-cuda11-gpu'
5656
pytorch_env = Environment.get(workspace=ws, name=curated_env_name)
5757

5858
compute_target = ws.compute_targets['my-cluster']
@@ -62,6 +62,9 @@ src = ScriptRunConfig(source_directory='.',
6262
environment=pytorch_env)
6363
```
6464

65+
> [!TIP]
66+
> For a list of curated environments, see [curated environments](resource-curated-environments.md).
67+
6568
If you want to specify **environment variables** that will get set on the process where the training script is executed, use the Environment object:
6669
```
6770
myenv.environment_variables = {"MESSAGE":"Hello from Azure Machine Learning"}

0 commit comments

Comments
 (0)