Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix RichProgressCallback #1496

Merged
merged 2 commits into from
Apr 4, 2024
Merged

Fix RichProgressCallback #1496

merged 2 commits into from
Apr 4, 2024

Conversation

eggry
Copy link
Contributor

@eggry eggry commented Mar 31, 2024

Fix #1495 by modifying the RichProgressCallback.

  • Corrected evaluation & prediction bebaviours,
  • Handle object creation and release more cautious,
  • Corrected the total steps of the evaluation progress bar.

Copy link
Contributor

@younesbelkada younesbelkada left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks so much @eggry for the prompt fix!
Can you run the styling checks? make precommit, we'll be able to merge after that

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@eggry
Copy link
Contributor Author

eggry commented Apr 4, 2024

@younesbelkada Thanks for your review. I have updated the styling.

@eggry eggry requested a review from younesbelkada April 4, 2024 17:45
Copy link
Contributor

@younesbelkada younesbelkada left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks !

@younesbelkada younesbelkada merged commit 9a28b3f into huggingface:main Apr 4, 2024
9 checks passed
kashif pushed a commit to kashif/trl that referenced this pull request Apr 8, 2024
* fix RichProgressCallback

* Refine code styling in RichProgressCallback tests
kashif pushed a commit to kashif/trl that referenced this pull request Apr 8, 2024
* fix RichProgressCallback

* Refine code styling in RichProgressCallback tests
lapp0 pushed a commit to lapp0/trl that referenced this pull request May 10, 2024
* fix RichProgressCallback

* Refine code styling in RichProgressCallback tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RichProgressCallback would break model evaluation and prediction
3 participants