Azure / Azure/azureml-examples

Distributed PyTorch Image Classification Notebook has an error when creating CPU or GPU Cluster Instance

Open
#2,032 0 comments 0 reactions 0 assignees View on GitHub
bug
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

image

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

image

### Addition information

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.