Skip to content

Az CLI “az vm list-skus” displayed GPU count is incorrect #31176

@ngelll

Description

@ngelll

Describe the bug

When I run this command "az vm list-skus --size Standard_ND96isr_H100_v5", I find that for some SKUs, the count shown is wrong. For instance, in the case of Standard_ND96isr_H100_v5, it displays “GPUs=12,” but in fact it’s 8.

docs:
https://learn.microsoft.com/en-us/azure/virtual-machines/sizes/gpu-accelerated/ndh100v5-series?tabs=sizeaccelerators

command result:

Related command

az vm list-skus --size Standard_ND96isr_H100_v5

Errors

  {
    "name": "GPUs",
    "value": "12"
  },

Issue script & Debug output

],
"name": "Standard_ND96isr_H100_v5",
"resourceType": "virtualMachines",
"restrictions": [],
"size": "ND96isr_H100_v5",
"tier": "Standard"
},
{
"apiVersions": null,
"capabilities": [
{
"name": "MaxResourceVolumeMB",
"value": "1048576"
},
{
"name": "OSVhdSizeMB",
"value": "1047552"
},
{
"name": "vCPUs",
"value": "96"
},
{
"name": "MemoryPreservingMaintenanceSupported",
"value": "False"
},
{
"name": "HyperVGenerations",
"value": "V2"
},
{
"name": "DiskControllerTypes",
"value": "SCSI,NVMe"
},
{
"name": "SupportedEphemeralOSDiskPlacements",
"value": "ResourceDisk,CacheDisk"
},
{
"name": "MemoryGB",
"value": "1900"
},
{
"name": "MaxDataDiskCount",
"value": "16"
},
{
"name": "CpuArchitectureType",
"value": "x64"
},
{
"name": "LowPriorityCapable",
"value": "True"
},
{
"name": "PremiumIO",
"value": "True"
},
{
"name": "VMDeploymentTypes",
"value": "IaaS"
},
{
"name": "vCPUsAvailable",
"value": "96"
},
{
"name": "GPUs",
"value": "12"
},
{
"name": "vCPUsPerCore",
"value": "1"
},
{
"name": "CachedDiskBytes",
"value": "1099511627776"
},
{
"name": "UncachedDiskIOPS",
"value": "80000"
},
{
"name": "UncachedDiskBytesPerSecond",
"value": "1200000000"
},
{
"name": "NvmeDiskSizeInMiB",
"value": "29296875"
},
{
"name": "NvmeSizePerDiskInMiB",
"value": "3662109"
},
{
"name": "EphemeralOSDiskSupported",
"value": "True"
},
{
"name": "EncryptionAtHostSupported",
"value": "True"
},
{
"name": "CapacityReservationSupported",
"value": "False"
},
{
"name": "AcceleratedNetworkingEnabled",
"value": "True"
},
{
"name": "RdmaEnabled",
"value": "True"
},
{
"name": "MaxNetworkInterfaces",
"value": "8"
}
],
"capacity": null,
"costs": null,
"family": "standardNDSH100v5Family",
"kind": null,
"locationInfo": [
{
"location": "uksouth",
"zoneDetails": [
{
"Name": [
"1"
],
"capabilities": [
{
"name": "UltraSSDAvailable",
"value": "True"
}
],
"name": null
}
],
"zones": [
"1"
]
}
],
"locations": [
"uksouth"
],
"name": "Standard_ND96isr_H100_v5",
"resourceType": "virtualMachines",
"restrictions": [],
"size": "ND96isr_H100_v5",
"tier": "Standard"
}
]

Expected behavior

Az CLI “az vm list-skus” displayed GPU count is incorrect

Environment Summary

azure-cli
core
telemetry
2.48.1
2.48.1
1.0.8
Extensions:
aks-preview
cloud-service
Dependencies:
msal
azure-mgmt-resource
0.5.130
0.2.0
1.20.0
22.0.0
Python location 'C:\Program Files (x86)\Microsoft SDKs\Azure\CLl2\python.exeExtensions directory'C:\Userslzelinwang).azure\cliextensions'
Python (Windows) 3.10.10 (tags/v3.10.10:aad5f6a,Feb 7 2023, 17:05:00) [MSC v.1929 32 bit (intel)]

Additional context

no

Metadata

Metadata

Labels

Auto-AssignAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamComputeaz vm/vmss/image/disk/snapshotact-observability-squadcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions