Azure / Azure/azureml-examples
Distributed PyTorch Image Classification Notebook has an error when creating CPU or GPU Cluster Instance
- Dominant language
- Jupyter Notebook
- Stars
- 2k
- Forks
- 1.7k
- Avg merge
- 18h 18m
- Merged PRs (30d)
- 2
Description
### Operating System
Linux
### Version Information
AML GPU Compute Instance running **_https://github.com/Azure/azureml-examples/blob/main/tutorials/e2e-distributed-pytorch-image/e2e-object-classification-distributed-pytorch.ipynb_** Notebook with Python 3.10 - SDK V2 Anaconda Environment
azure-ai-ml packaged 1.3.0
### Steps to reproduce
This Notebook has a bug when creating both CPU or GPU Cluster

the cpu_cluster context is overwritten by call to ml_client.begin_create_or_update(cpu_cluster) and final print statement errors out
### Expected behavior
should print the name of the cluster created and the cluster size
### Actual behavior

### Addition information
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.