microsoft / DLWorkspace

Deep Learning Workspace
Other
200 stars 74 forks source link

Add a new api which can get gpu_pernode and gputype #1312

Closed lupen0120 closed 3 years ago

lupen0120 commented 3 years ago

We want to have an Aether REST API, given team/cluster/userName, it could return #gpusPerNode and gpuType.

As the #gpusPerNode and gpuType would be quite different in different team/clusters, for example the resourceGpu in Azure-WestUS2-V100-16GB-LowPriority is 4; Azure-NorthCentralUS-V100 is 8. For our users, resourceGpu is the No.1 most frequently wrong parameter. When users switch team/cluster, lots of them don’t know they need to change resourceGpu as well.

for example:https://dltshub.redmond.corp.microsoft.com//api/teams/{$0}/clusters/{$1}/metadata?email={$2} the result is : {type: {$0}, per_node: {$1}}

ghost commented 3 years ago

CLA assistant check
All CLA requirements met.