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

Add sync support for dict collections of metrics #98

Closed
wants to merge 2 commits into from

Commits on Dec 13, 2022

  1. Fix docstring examples in get_synced_metric

    Summary: Docstring has code that would throw an error incorrectly reported as returning `None`
    
    Differential Revision: https://internalfb.com/D41830353
    
    fbshipit-source-id: 46a9aa516c0bea23c9164b50d14cec7bc37be372
    bobakfb authored and facebook-github-bot committed Dec 13, 2022
    Configuration menu
    Copy the full SHA
    a88b990 View commit details
    Browse the repository at this point in the history
  2. Add sync support for dict collections of metrics (pytorch#98)

    Summary:
    Pull Request resolved: pytorch#98
    
    Added support for two new sync methods `sync_and_compute_collection` and `get_synced_state_dicts_collection`. These methods use only a single data transfer per sync rather than one per metric.
    
    Reviewed By: ananthsub
    
    Differential Revision: D41674853
    
    fbshipit-source-id: e020fab12b1647bf9ea40e02ed611c2a62f2e4d1
    bobakfb authored and facebook-github-bot committed Dec 13, 2022
    Configuration menu
    Copy the full SHA
    ddc8d1f View commit details
    Browse the repository at this point in the history