PaddlePaddle / PaddleNLP

πŸ‘‘ Easy-to-use and powerful NLP and LLM library with πŸ€— Awesome model zoo, supporting wide-range of NLP tasks from research to industrial applications, including πŸ—‚Text Classification, πŸ” Neural Search, ❓ Question Answering, ℹ️ Information Extraction, πŸ“„ Document Intelligence, πŸ’Œ Sentiment Analysis etc.
https://paddlenlp.readthedocs.io
Apache License 2.0
12k stars 2.93k forks source link

Fix memory leak bug #8546

Closed sneaxiy closed 3 months ago

sneaxiy commented 3 months ago

PR types

Bug fixes

PR changes

Others

Description

Fix memory leak bug of PaddleNLP.

paddle-bot[bot] commented 3 months ago

Thanks for your contribution!

codecov[bot] commented 3 months ago

Codecov Report

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

Project coverage is 53.96%. Comparing base (f36ed75) to head (9ece15e). Report is 247 commits behind head on develop.

Files with missing lines Patch % Lines
paddlenlp/trainer/trainer.py 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #8546 +/- ## =========================================== - Coverage 53.97% 53.96% -0.01% =========================================== Files 618 618 Lines 96827 96826 -1 =========================================== - Hits 52258 52255 -3 - Misses 44569 44571 +2 ```

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