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

[Bugfix] Fix smoothloss on distributed #3643

Merged
merged 1 commit into from
May 11, 2022

Conversation

muellerzr
Copy link
Contributor

Currently smoothloss behaves differently than all the other metric calculators, as it does not gather all the tensors when calculating. As a result, if using fastai distributed the reported training loss is actually wrong, as it's only shown for worker 0.

cc @jph00

@muellerzr muellerzr requested a review from jph00 as a code owner May 11, 2022 13:35
@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@jph00 jph00 merged commit daca06e into fastai:master May 11, 2022
@jph00 jph00 added the bug label May 11, 2022
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

2 participants