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

Cast avg to float in progbar #19111

Merged
merged 1 commit into from
Jan 27, 2024
Merged

Conversation

SamanehSaadat
Copy link
Member

We need to explicitly cast avg to float otherwise, training has some issues with the torch backend when the default dtype is bfloat16.

@codecov-commenter
Copy link

codecov-commenter commented Jan 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (47bf22d) 79.93% compared to head (dbb0ab4) 79.94%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #19111   +/-   ##
=======================================
  Coverage   79.93%   79.94%           
=======================================
  Files         340      340           
  Lines       35866    35867    +1     
  Branches     7051     7051           
=======================================
+ Hits        28671    28674    +3     
+ Misses       5600     5599    -1     
+ Partials     1595     1594    -1     
Flag Coverage Δ
keras 79.79% <100.00%> (+<0.01%) ⬆️
keras-jax 62.62% <100.00%> (+<0.01%) ⬆️
keras-numpy 57.09% <100.00%> (+<0.01%) ⬆️
keras-tensorflow 64.77% <100.00%> (+<0.01%) ⬆️
keras-torch 63.95% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@google-ml-butler google-ml-butler bot added kokoro:force-run ready to pull Ready to be merged into the codebase labels Jan 27, 2024
@fchollet fchollet merged commit acf7329 into keras-team:master Jan 27, 2024
7 of 9 checks passed
@google-ml-butler google-ml-butler bot removed awaiting review ready to pull Ready to be merged into the codebase kokoro:force-run labels Jan 27, 2024
@SamanehSaadat SamanehSaadat deleted the float_avg branch January 27, 2024 02:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants