• J
    Init distributed torch only if needed (#108) · 5aa58b38
    Jeff Rasley 提交于
    * add auto-detect to torch dist init
    
    * update tests to infer distributed init status
    
    * prevent crash if dist_init_required is True but already initiliazed
    
    * only init if safe to do so (forgot to add this file in prev commit)
    5aa58b38
__init__.py 5.5 KB