pytorch / torcheval

A library that contains a rich collection of performant PyTorch model metrics, a simple interface to create new metrics, a toolkit to facilitate metric computation in distributed training and tools for PyTorch model evaluations.
https://pytorch.org/torcheval
Other
211 stars 46 forks source link

no longer sync computed results #161

Closed JKSenthil closed 1 year ago

JKSenthil commented 1 year ago

Summary: no longer return rank 0's result as the computed result for all ranks

Reviewed By: ananthsub

Differential Revision: D46861136

facebook-github-bot commented 1 year ago

This pull request was exported from Phabricator. Differential Revision: D46861136

codecov[bot] commented 1 year ago

Codecov Report

Merging #161 (2d26654) into main (f9c7310) will increase coverage by 0.07%. The diff coverage is 3.03%.

@@            Coverage Diff             @@
##             main     #161      +/-   ##
==========================================
+ Coverage   24.37%   24.45%   +0.07%     
==========================================
  Files         176      176              
  Lines       10404    10359      -45     
==========================================
- Hits         2536     2533       -3     
+ Misses       7868     7826      -42     
Impacted Files Coverage Δ
torcheval/metrics/toolkit.py 32.98% <0.00%> (+5.25%) :arrow_up:
tests/metrics/test_toolkit.py 39.50% <4.00%> (+3.83%) :arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

facebook-github-bot commented 1 year ago

This pull request was exported from Phabricator. Differential Revision: D46861136