• Y
    Fix slow parsing a recursive depends topology · 313e9f55
    Yu Yang 提交于
    * Fix  #2797
    * It because trainer_config_helpers' __dfs_travel__ did not record the
      node which travelled, and if the topology has a recursive dependency,
      there are some nodes will be travelled multiple times.
    * Add a `travelled` set to record which node is travelled.
    * Also add a unittest for this situation.
    313e9f55
test_recursive_topology.py 342 字节