Skip to content

Conversation

@heavyrain-lzy
Copy link
Contributor

@heavyrain-lzy heavyrain-lzy commented Jan 21, 2024

PR types

Others

PR changes

Others

Description

Support to log loss with dtype bfloat16 aligning to dygraph

metrics[f"{metric_key_prefix}_loss"] = all_losses.mean().item()

@paddle-bot
Copy link

paddle-bot bot commented Jan 21, 2024

Thanks for your contribution!

@codecov
Copy link

codecov bot commented Jan 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (4a9c766) 56.69% compared to head (be64171) 56.69%.
Report is 1 commits behind head on develop.

Additional details and impacted files
@@ Coverage Diff @@ ## develop #7874 +/- ## ======================================== Coverage 56.69% 56.69% ======================================== Files 588 588 Lines 89315 89315 ======================================== Hits 50641 50641 Misses 38674 38674 

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

Copy link
Collaborator

@zhiqiu zhiqiu left a comment

Choose a reason for hiding this comment

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

LGTM

@zhiqiu zhiqiu merged commit ca79444 into PaddlePaddle:develop Jan 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants