Skip to content
  • wayi1's avatar
    0bb3b065
    [Model Averaging] Support hierarchical model averaging (#73285) · 0bb3b065
    wayi1 创作于
    Summary:
    Implement hierarchical model averaging proposed in https://github.com/pytorch/pytorch/issues/71325.
    
    Unit tests are added. Since I don't have access to 4-GPU machines in open-source environment, expect that the branch with the prefix of `ci-all` can run the test that requires 4 GPUs.
    
    In the future, the internals of `PeriodicModelAveraging` can be simplified as an implementation of a specialized hierarchical model averaging, where `period_group_size_dict` only has a pair of period and world size.
    
    Pull Request resolved: https://github.com/pytorch/pytorch/pull/73285
    
    Reviewed By: mrshenli
    
    Differential Revision: D34457792
    
    Pulled By: rohan-varma
    
    fbshipit-source-id: 39a6c5bf8a2852b6394a56abbad17b8a909b9fba
    (cherry picked from commit 5f543d46103edb515db199dbb80db43c85665f29)
    0bb3b065
    [Model Averaging] Support hierarchical model averaging (#73285)
    wayi1 创作于
    Summary:
    Implement hierarchical model averaging proposed in https://github.com/pytorch/pytorch/issues/71325.
    
    Unit tests are added. Since I don't have access to 4-GPU machines in open-source environment, expect that the branch with the prefix of `ci-all` can run the test that requires 4 GPUs.
    
    In the future, the internals of `PeriodicModelAveraging` can be simplified as an implementation of a specialized hierarchical model averaging, where `period_group_size_dict` only has a pair of period and world size.
    
    Pull Request resolved: https://github.com/pytorch/pytorch/pull/73285
    
    Reviewed By: mrshenli
    
    Differential Revision: D34457792
    
    Pulled By: rohan-varma
    
    fbshipit-source-id: 39a6c5bf8a2852b6394a56abbad17b8a909b9fba
    (cherry picked from commit 5f543d46103edb515db199dbb80db43c85665f29)
该项目在 BSD 3-Clause "New" or "Revised" License下获得许可。 进一步了解
加载中