Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor failed node counter. #1450

Conversation

BalaBalaYi
Copy link
Collaborator

@BalaBalaYi BalaBalaYi commented Jan 22, 2025

What changes were proposed in this pull request?

Use a dict to save fault node info in job context.
Node check failed should also be counted as 'failed worker'.

Why are the changes needed?

Bug fix: some worker failed is not counted.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Training with node check failed.

@BalaBalaYi BalaBalaYi added the bug Something isn't working label Jan 22, 2025
@BalaBalaYi BalaBalaYi added this to the v0.5.0 milestone Jan 22, 2025
@BalaBalaYi BalaBalaYi self-assigned this Jan 22, 2025
Copy link

codecov bot commented Jan 22, 2025

Codecov Report

Attention: Patch coverage is 96.55172% with 1 line in your changes missing coverage. Please review.

Project coverage is 81.40%. Comparing base (17ab888) to head (0bdb747).
Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
dlrover/python/master/node/job_context.py 91.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1450      +/-   ##
==========================================
+ Coverage   81.39%   81.40%   +0.01%     
==========================================
  Files         238      238              
  Lines       23217    23238      +21     
==========================================
+ Hits        18897    18917      +20     
- Misses       4320     4321       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@majieyue majieyue left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@BalaBalaYi BalaBalaYi merged commit 7a95974 into intelligent-machine-learning:master Jan 22, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants