intelligent-machine-learning / dlrover

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

Make diagnosis agent singleton #1268

Closed samplise closed 1 week ago

samplise commented 2 weeks ago

What changes were proposed in this pull request?

Make diagnosis agent to be singleton.

Why are the changes needed?

Avoid to create duplicate diagnosis agent on the same worker.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Unit test.

codecov[bot] commented 2 weeks ago

Codecov Report

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

Project coverage is 80.57%. Comparing base (4df3679) to head (2ea91ba). Report is 17 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1268 +/- ## ========================================== - Coverage 80.58% 80.57% -0.01% ========================================== Files 219 219 Lines 20042 20043 +1 ========================================== Hits 16150 16150 - Misses 3892 3893 +1 ```

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