1. 07 9月, 2023 1 次提交
    • Z
      [NewIR] Update send recv infermeta and add unittest (#56794) · 2857fdbb
      zhaoyingli 提交于
      * [NewIR]Update send recv infermeta and add unittest
      
      * rm new ir flag
      
      * rm fluid api
      
      * skip runing startup prog
      
      * update flag name
      
      * update recv_v2 yaml
      
      * fix conflict
      
      * unittest only for pp
      
      * fix cmakelist
      
      * unittest check precision
      
      * control random
      
      * fix cmakelist
      2857fdbb
  2. 06 9月, 2023 1 次提交
  3. 05 9月, 2023 2 次提交
    • W
      fix some bugs for amp and test case test_tuning_recompute_with_amp.py (#56864) · e9e07a19
      Wennie396 提交于
      * replace amp.use_pure_fp16 with amp.dtype and amp.level
      
      * old api still use use_pure_fp16
      
      * test_fuse_adamw_pass still use use_pure_fp16
      
      * add test case tuning recompute with amp(float16,o2)
      
      * reset new test case properties TIMEOUT 60
      
      * set smaller value of batch_size and batch_num
      
      * deepcopy dist_context fix _rename_input problem
      
      * fix loss name after cast
      
      * set tuning.enable=True and use engine._tune()
      
      * restore some changes in _rename_input()/_rename_output()
      
      * add self.amp_dtype for _cast_loss() in auto_parallel_amp.py
      
      * fix insert op index in _cast_loss()
      e9e07a19
    • [xdoctest][task 184-185] reformat example code with google style in... · 1a15a351
      小飞猪 提交于
      [xdoctest][task 184-185] reformat example code with google style in `distributed/auto_parallel/static/*` (#56666)
      
      * [Doctest]fix No.184,185, test=docs_preview
      
      * add env skip
      
      * fix @staticmethod
      
      * fix
      
      * add xdoctest for v2
      
      * fix
      1a15a351
  4. 31 8月, 2023 3 次提交
  5. 30 8月, 2023 1 次提交
    • G
      [Auto Parallel] Compatible new comm library upgrade (#56604) · ade51aa5
      Ghost Screaming 提交于
      * for verify
      
      fluid operator support new comm library
      
      * u
      
      * u
      
      * u
      
      * compatiable new comm library upgrade for c_allgather, c_reduce, c_reduce_scatter and c_scatter.
      
      * Remove useless comments in process_group.py
      
      * Polish code style.
      
      * Fix some problems.
      
      * Remove use fluid api in phi comm_context_manager.
      
      * Add PPADDLE_WITH_CUDA and PADDLE_WITH_NCCL micro judgement.
      
      * Fix bug of HIP architecture.
      
      * Fix some problems.
      1. remove useless loggings.
      2. Fix conditional compilation for HIP.
      3. Fix problems of test_pass_generation_pipeline.py. It calls paddle.distributed.init_parallel_env() at first,
      then auto.Engine calls _init_comm(), which will calls process_group.instantiate(). However, init_parallel_env() will call
      paddle.distributed.barrier(), it will call CreateNCCLEnvCache and create corresponding NCCLCommContext. But dev_id is not
      set, as a result, NCCLCommContext's dev_ctx is not initialized.
      
      * Fix some problems.
      
      * Polish code.
      
      * Polish code.
      
      * Revert compatiable upgrade for communication operators. Their upgrades
      will be submitted in another PR.
      
      * Remove StaticTCPStore.
      
      * Remove useless modification.
      
      * Remove useless set_cuda_device_id.
      
      * Polish code.
      
      * Remove fluid header files in phi files.
      
      * Remove useless comments.
      
      * Fix problems of hip arch.
      
      * Fix some problems.
      
      * Polish code.
      
      * Polish code style.
      
      ---------
      Co-authored-by: TaoTao Li's avatarhitywt <yuwentao126@126.com>
      ade51aa5
  6. 29 8月, 2023 1 次提交
  7. 28 8月, 2023 1 次提交
  8. 25 8月, 2023 1 次提交
  9. 24 8月, 2023 1 次提交
  10. 22 8月, 2023 2 次提交
  11. 16 8月, 2023 1 次提交
  12. 11 8月, 2023 1 次提交
  13. 08 8月, 2023 1 次提交
  14. 02 8月, 2023 1 次提交
  15. 31 7月, 2023 1 次提交
  16. 24 7月, 2023 1 次提交
  17. 20 7月, 2023 1 次提交
  18. 19 7月, 2023 1 次提交
  19. 13 7月, 2023 1 次提交
  20. 06 7月, 2023 1 次提交
  21. 29 6月, 2023 1 次提交
  22. 27 6月, 2023 1 次提交
  23. 25 6月, 2023 1 次提交
  24. 12 6月, 2023 1 次提交
  25. 09 6月, 2023 1 次提交
  26. 08 6月, 2023 1 次提交
  27. 02 6月, 2023 1 次提交
  28. 01 6月, 2023 1 次提交
  29. 30 5月, 2023 1 次提交
  30. 26 5月, 2023 1 次提交
  31. 23 5月, 2023 2 次提交
  32. 22 5月, 2023 1 次提交
    • M
      [dygraph]unify _non_static_mode() in_dygraph_mode() and in_dynamic_mode() (#53856) · 3794d171
      Meteor Liu 提交于
      * [dygraph]unify _non_static_mode() in_dygraph_mode() and in_dynamic_mode()
      
      * [dygraph]unify _non_static_mode() in_dygraph_mode() and in_dynamic_mode()
      
      * [dygraph]unify _non_static_mode() in_dygraph_mode() and in_dynamic_mode()
      
      * [dygraph]unify _non_static_mode() in_dygraph_mode() and in_dynamic_mode()
      
      * [dygraph]unify _non_static_mode() in_dygraph_mode() and in_dynamic_mode()
      
      * [dygraph]unify _non_static_mode() in_dygraph_mode() and in_dynamic_mode()
      
      * fixed cyclic reference that caused patial import
      
      * fixed bad change
      
      * fix bad import
      
      * fix bad import
      
      * fix bad import
      
      * fix ut failed caused by change in_dynamic_mode
      
      * fix ut failed caused by change in_dynamic_mode
      
      * fixed usage of in_dynamic_mode() or in_dygraph_mode()
      
      * revert python3 to python in .pre-commit-config.yaml
      
      * fix merge conflicts
      3794d171
  33. 18 5月, 2023 1 次提交
  34. 16 5月, 2023 2 次提交