microsoft / microsoft/pai

CPU/GPU/Memory information to SKU definition API

Open
#5,148 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

pai-dev
Dominant language
JavaScript
Stars
2.7k
Forks
554
Avg merge
20h 42m
Merged PRs (30d)
14

Description

Currently, we support two ways to define resource: CPU/GPU/Memory and SKU. There are some logics to convert CPU/GPU/Memory information in webportal and rest-server.

We can centralize the logics in rest-server and provide a CPU/GPU/Memory to SKU converter API. Benefits are:

  • Easy to management.
  • If we are to support #5138 , it is important to centralize the logic. And each device type can manage their own CPU/GPU/Memory to SKU logic.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the CPU/GPU/Memory-to-SKU conversion logic in the webportal and rest-server. Read how each device type currently defines resources and how the rest-server exposes related APIs. Done means the conversion is centralized in a rest-server API and the existing resource-definition paths can use it consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api, backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.