opendilab / DI-engine

OpenDILab Decision AI Engine. The Most Comprehensive Reinforcement Learning Framework B.P.
https://di-engine-docs.readthedocs.io
Apache License 2.0
3k stars 366 forks source link

feature(nyz): add GPU utils #788

Closed PaParaZz1 closed 5 months ago

PaParaZz1 commented 5 months ago

Description

Related Issue

TODO

Check List

codecov[bot] commented 5 months ago

Codecov Report

Attention: Patch coverage is 87.93103% with 35 lines in your changes are missing coverage. Please review.

Project coverage is 75.94%. Comparing base (7d05491) to head (8a5a998).

:exclamation: Current head 8a5a998 differs from pull request most recent head ba35655. Consider uploading reports for the commit ba35655 to get more accurate results

Files Patch % Lines
ding/utils/memory_helper.py 86.74% 35 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #788 +/- ## ========================================== + Coverage 75.89% 75.94% +0.04% ========================================== Files 682 684 +2 Lines 55290 55580 +290 ========================================== + Hits 41965 42212 +247 - Misses 13325 13368 +43 ``` | [Flag](https://app.codecov.io/gh/opendilab/DI-engine/pull/788/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opendilab) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/opendilab/DI-engine/pull/788/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opendilab) | `75.94% <87.93%> (+0.04%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opendilab#carryforward-flags-in-the-pull-request-comment) to find out more.

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