• C
    Add interface to launch parallel dygraph by multiprocessing (#26044) · 31f422ae
    Chen Weihang 提交于
    * add dygraph parallel run interface
    
    * polish implement & unified env property name
    
    * add print config arg
    
    * refactor init_parallel_env function
    
    * Compatible with multiprocessing and launch modes
    
    * set default trainer start port
    
    * support run in python 2
    
    * polish python2 support code
    
    * remove python2 support
    
    * refine launch import
    
    * polish dome design details
    
    * refactor api implemention & path
    
    * use new method _set_expected_place
    
    * add spawn unittest framework & mnist test
    
    * add more unittests & doc
    
    * fix unittest failed
    
    * polish english doc
    
    * self review and polish details
    
    * refactor code by reviewer's comments
    
    * fix unittest failed
    
    * fix parallel_env unittest
    
    * fix several typos
    
    * fix error introduced when fixing typos
    
    * add unpublic note for start_processes
    
    * polish details by xiaoguang's comment
    
    * verify correctly when spawn nprocs=-1
    
    * refactor spawn & init_parallel_env design
    
    * polish doc details
    
    * open spawn unittests
    
    * try to fix doc compile error
    
    * try to fix unknown doc format error
    
    * add skip unittest when not gpu
    31f422ae
test_directory_migration.py 7.7 KB