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

remove recipient_rank concept #159

Closed JKSenthil closed 1 year ago

JKSenthil commented 1 year ago

Summary: Remove recipient rank as no speedup occurs when syncing to specific rank.

Reviewed By: bobakfb

Differential Revision: D45339353

facebook-github-bot commented 1 year ago

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

codecov[bot] commented 1 year ago

Codecov Report

Merging #159 (b19a415) into main (f9c7310) will increase coverage by 0.04%. The diff coverage is 2.22%.

@@            Coverage Diff             @@
##             main     #159      +/-   ##
==========================================
+ Coverage   24.37%   24.42%   +0.04%     
==========================================
  Files         176      176              
  Lines       10404    10371      -33     
==========================================
- Hits         2536     2533       -3     
+ Misses       7868     7838      -30     
Impacted Files Coverage Δ
torcheval/metrics/toolkit.py 29.35% <0.00%> (+1.62%) :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