Azure / Azure/azure-cli-extensions

Unable to create Azure Machine Learning Compute Cluster

Open
#3,593 4 comments 0 reactions 0 assignees View on GitHub
ADO bug extension/ml Machine Learning ML-Compute Service Attention
Dominant language
Python
Stars
454
Forks
1.7k
Avg merge
2d 19h
Merged PRs (30d)
64

Description

## Describe the bug
Unable to create Azure Machine Learning Compute Cluster using `az ml` CLI command.

**Command Name**
`az ml compute create
Extension Name: ml. Version: 2.0.1a3.`

**Errors:**
```
Unknown compute type: AmlCompute
```

## To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

- `az ml compute create -g {myrg} --workspace-name {ws} --idle-time-before-scale-down {1800} --min-instances {0} --max-instances {3} --name {mycluster} --size {Standard_F2s_v2} --vnet-name {myvnet} --subnet {azml} --type {AmlCompute}`

## Expected Behavior
Create Azure Machine Learning Cluster

## Environment Summary
```
macOS-11.2.3-x86_64-i386-64bit
Python 3.8.10
Installer: HOMEBREW

azure-cli 2.25.0 *

Extensions:
azure-devops 0.18.0
resource-graph 2.1.0
ml 2.0.1a3

```
## Additional Context

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.