1. 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
  2. 31 8月, 2023 3 次提交
  3. 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
  4. 29 8月, 2023 1 次提交
  5. 28 8月, 2023 1 次提交
  6. 25 8月, 2023 1 次提交
  7. 24 8月, 2023 1 次提交
  8. 22 8月, 2023 2 次提交
  9. 16 8月, 2023 1 次提交
  10. 11 8月, 2023 1 次提交
  11. 08 8月, 2023 1 次提交
  12. 02 8月, 2023 1 次提交
  13. 31 7月, 2023 1 次提交
  14. 24 7月, 2023 1 次提交
  15. 20 7月, 2023 1 次提交
  16. 19 7月, 2023 1 次提交
  17. 13 7月, 2023 1 次提交
  18. 06 7月, 2023 1 次提交
  19. 29 6月, 2023 1 次提交
  20. 27 6月, 2023 1 次提交
  21. 25 6月, 2023 1 次提交
  22. 12 6月, 2023 1 次提交
  23. 09 6月, 2023 1 次提交
  24. 08 6月, 2023 1 次提交
  25. 02 6月, 2023 1 次提交
  26. 01 6月, 2023 1 次提交
  27. 30 5月, 2023 1 次提交
  28. 26 5月, 2023 1 次提交
  29. 23 5月, 2023 2 次提交
  30. 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
  31. 18 5月, 2023 1 次提交
  32. 16 5月, 2023 2 次提交
  33. 15 5月, 2023 1 次提交
  34. 11 5月, 2023 1 次提交