intelligent-machine-learning / dlrover

DLRover: An Automatic Distributed Deep Learning System
Other
1.22k stars 153 forks source link

Fix master client setup in ckpt saver. #1236

Closed BalaBalaYi closed 1 month ago

BalaBalaYi commented 1 month ago

What changes were proposed in this pull request?

Just use singleton_instance to get the client object in ckpt saver.

Why are the changes needed?

Fix master-client retrieving in ckpt saver.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

UT

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 80.48%. Comparing base (e50fe48) to head (82eeaf2). Report is 5 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1236 +/- ## ======================================= Coverage 80.47% 80.48% ======================================= Files 217 217 Lines 19599 19602 +3 ======================================= + Hits 15773 15776 +3 Misses 3826 3826 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.