microsoft / microsoft/pai

Use Prometheus reasonably to avoid unnecessary job failed.

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

Nobody has claimed this yet.

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

Description

What would you like to be added:
Use Prometheus reasonably to avoid unnecessary job failed.
Why is this needed:
At present, the Prometheus system is only used as an alarm system, and its capabilities have not been fully utilized. Consider a situation where a machine has 8 GPU cards, but one of the cards was sent back to the factory for repair. At this time, the Prometheus system will report the change in the number of GPUs, but the task management system is not aware of this problem. At this time, if there are already 7 GPU cards in the working state, and the user is still submitting tasks. The task management system will continue to apply for the 8th GPU card from the node, instead of keeping the task in a waiting state, the task will fail at this time.
Without this feature, how does the current module work:
When the number of GPUs changes, the task often failed.
Components that may involve changes:

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

Trace how Prometheus reports GPU-count changes and how the task management system requests GPUs from a node. Define the behavior for a reduced GPU count so tasks remain waiting instead of failing, then verify the scheduling flow handles that condition.

Written by the indexing model from the issue text.

Assessment

Tech stack
prometheus
Domain
distributed-systems, observability
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.