Skip to content

[Trainer] remove redundant memory metrics and set enable as default

Codecov / codecov/patch failed Sep 9, 2024 in 0s

11.11% of diff hit (target 80.00%)

View this Pull Request on Codecov

11.11% of diff hit (target 80.00%)

Annotations

Check warning on line 1268 in paddlenlp/trainer/trainer.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

paddlenlp/trainer/trainer.py#L1264-L1268

Added lines #L1264 - L1268 were not covered by tests

Check warning on line 1282 in paddlenlp/trainer/trainer.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

paddlenlp/trainer/trainer.py#L1272-L1282

Added lines #L1272 - L1282 were not covered by tests