Skip to content

Conversation

@blacksheep-Aristotle
Copy link
Contributor

@blacksheep-Aristotle blacksheep-Aristotle commented Jan 8, 2025

PR types

Bug fixes

PR changes

Others

Description

目前中层api和基础api统一用lazy gurd,在auto_trainer创建时初始化param以保证中层api和基础api的初始化权重一致。
可能存在场景:param在auto_trainer创建时还未初始化,且在auto_trainer创建后分配init_func,导致Ernie_ci error。
本pr用warning代替assert,减少代码error的场景。

@paddle-bot
Copy link

paddle-bot bot commented Jan 8, 2025

Thanks for your contribution!

@codecov
Copy link

codecov bot commented Jan 8, 2025

Codecov Report

Attention: Patch coverage is 0% with 4 lines in your changes missing coverage. Please review.

Project coverage is 52.21%. Comparing base (67bc4e2) to head (5eee41a).
Report is 258 commits behind head on develop.

Files with missing lines Patch % Lines
paddlenlp/trainer/auto_trainer.py 0.00% 4 Missing ⚠️
Additional details and impacted files
@@ Coverage Diff @@ ## develop #9753 +/- ## =========================================== + Coverage 52.19% 52.21% +0.01%  =========================================== Files 728 723 -5 Lines 117770 114334 -3436 =========================================== - Hits 61470 59698 -1772  + Misses 56300 54636 -1664 

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
@ZHUI ZHUI merged commit fb60645 into PaddlePaddle:develop Jan 8, 2025
8 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants