1. 21 4月, 2021 1 次提交
    • Z
      【NPU】Merge NPU ccl code (#32381) · c3158527
      zhang wenhui 提交于
      * add allreduce and broadcast without test (#31024)
      
      add allreduce and broadcast without test
      
      * Refactor HCCLCommContext to be compatible with Paddle (#31359)
      
      Refactor HCCLCommContext to be compatible with Paddle (#31359)
      
      * [NPU] add npu kernel for communication op (#31437)
      
      * add allreduce and broadcast without test
      
      * add c_broadcast_test case
      
      * build c_comm_init and c_create_group operators
      
      * make the whole thing compile
      
      * add broadcast and init op test case but run failed
      
      * make unit test compile
      
      * fix broadcast test bug and change into hcom for ccl
      
      * change c_comm_init and c_create_group ops accordingly
      
      * make tests compile
      
      * transfer code to 27
      
      * compiled successfully in 28, but run failed
      
      * test broadcast in 28, but failed
      
      * make hcom primitives work
      
      * change hccl data type for base.h
      
      * fix broadcast bug
      
      * make attributes work
      
      * fix group name bug
      
      * add allreduce but test failed
      
      * allreduce bug for qiuliang
      
      * allreduce finished
      
      * add allgather and reducescatter
      
      * merge all op code
      
      * add allgather test
      
      * finish run all ccl op test exclude send/recv
      
      * all all op and test exclude send/recv
      
      * send_v2_npu.cc recv_v2_npiu.cc compiled
      
      * fix ccl core dump bug and test allgather, reducescatter, broadcast op
      
      * fix allreduce bug just for test
      
      * hcom send&recv test pass, without hcom_destroy
      
      * for qiuliang test
      
      * Ascend Send&Recv Test Pass
      
      * all op (ex send/recv) ok
      
      * fix bug
      
      * merge all ccl op
      
      * style merge to PaddlePaddle
      
      * merge style
      
      * new merge style
      
      * merge style 2
      
      * insert an empty at the end
      
      * disable ctest for hcom to pass ci
      Co-authored-by: Nvoid-main <voidmain1313113@gmail.com>
      Co-authored-by: Nf2hkop <f2huestc@outlook.com>
      
      * Add auto-increasing tag id for Hcom OPs (#31702)
      
      * add c_reduce_sum op (#31793)
      
      add c_reduce_sum op
      
      * update Ascendrc hccl to 20.3 (#32126)
      
      update Ascendrc hccl to 20.3 (#32126)
      
      * fix merge code
      
      * change cmake.txt1
      
      * [NPU] Support npu kernel for c sync stream op (#31386)
      
      * sync stream npu op
      
      * add with_ascend_acl
      
      * update c++ unittest
      
      * compile all failed
      
      * try to pre commit
      
      * after pre commit
      
      * merge&compile&test hccl successfully!
      
      * fix code style
      
      * fix code style
      
      * fix bugs about hccl
      
      * fix some bugs
      
      * fix code style
      
      * fix style
      
      * fix style
      
      * fix
      
      * fixed
      
      * merge develop
      Co-authored-by: Nlw921014 <liuwei921014@yeah.net>
      Co-authored-by: NVoid Main <voidmain1313113@gmail.com>
      Co-authored-by: Nf2hkop <f2huestc@outlook.com>
      Co-authored-by: Nxiayanming <41795079@qq.com>
      c3158527
  2. 15 4月, 2021 1 次提交
    • J
      Update hapi to support AMP (#31417) · fabdb43c
      Jiaqi Liu 提交于
      * make hapi support amp, and add unittest
      
      * make unittest only support GPU
      
      * update parameters for amp in hapi.Model
      
      * update hapi.Model.prepare interface, and update unittest
      
      * fix test_model.py unittest bug
      
      * add grad clear in dygraph
      
      * use_fp16_guard defaults to True, which could avoid nan
      
      * add input check, and add internal doc link to low level api
      
      * update doc, and decrease the sample num of dataset to avoid timeout
      
      * make hapi amp param  support str 'O1' or 'O2'
      
      * resume calling , modify the code of the check part
      
      * upgrade the usage of Fleet API, and disable 'pure_fp16' param
      fabdb43c
  3. 15 3月, 2021 1 次提交
  4. 24 2月, 2021 1 次提交
  5. 23 2月, 2021 1 次提交
    • Y
      fix flops api (#31081) · 99fd9815
      yukavio 提交于
      * remove PrettyTable dependence from paddle.flops
      
      * fix bug in python2.7
      
      * fix flops
      
      * fix flops
      
      * fix bug
      
      * fix bug
      99fd9815
  6. 25 1月, 2021 1 次提交
  7. 11 1月, 2021 1 次提交
  8. 07 1月, 2021 1 次提交
  9. 23 12月, 2020 1 次提交
  10. 22 12月, 2020 1 次提交
  11. 21 12月, 2020 1 次提交
  12. 17 12月, 2020 1 次提交
  13. 14 12月, 2020 1 次提交
  14. 03 12月, 2020 1 次提交
  15. 01 12月, 2020 1 次提交
  16. 28 11月, 2020 1 次提交
  17. 27 11月, 2020 3 次提交
  18. 26 11月, 2020 2 次提交
  19. 25 11月, 2020 1 次提交
  20. 23 11月, 2020 3 次提交
    • L
      Add EarlyStopping (#28691) · 70385518
      LiuChiachi 提交于
      * add early stopping
      
      * add doc for early stopping
      
      * fix sample code bugs
      
      * update infer of mode, update doc, add unittests to increase coverage rate
      
      * fix sample code for early stopping
      
      * update sample code and unittests
      
      * reduce time cost of test_callbacks unittest
      
      * fix model.py code style error
      70385518
    • L
      Update path name of saving in hapi (#28462) · 8c8b42f2
      LiuChiachi 提交于
      * update hapi save_inference_model output pathname
      
      * update hapi save_inference_model output pathname
      
      * use new 2.0-api paddle.static.io.load_inference_model
      
      * add unittests to increase coverage rate
      8c8b42f2
    • L
      Add lr scheduler callback for high level api (#28737) · 00e55ded
      LielinJiang 提交于
      * add lr scheduler
      00e55ded
  21. 16 11月, 2020 1 次提交
  22. 13 11月, 2020 1 次提交
  23. 30 10月, 2020 1 次提交
  24. 29 10月, 2020 1 次提交
  25. 22 10月, 2020 1 次提交
    • L
      Update hapi predict interface (#28180) · 68449d19
      LielinJiang 提交于
      * update hapi predict interface
      
      * fix code style
      
      * fix docs
      
      * fix docs
      
      * fix docs
      
      * update docs
      
      * fix codes style
      
      * fix unittest
      
      * fix unittest
      
      * fix coverage
      68449d19
  26. 21 10月, 2020 1 次提交
    • C
      2.0rc api rename (#28088) · 7c1aa0d6
      cnn 提交于
      * rename manual_seed to seed
      
      * rename xxx1d-->xxx1D, xxx2d-->xxx2D, xxx3d-->xxx3D
      
      * rename manual_seed --> seed
      
      * do not rename .cc, .cu and .h file
      
      * rename manual_seed --> seed
      
      * rename manual_seed --> seed
      
      * rename manual_seed --> seed
      
      * rename manual_seed --> seed
      
      * disable_static on doc example code
      
      * donot change manual_seed on generator
      
      * add enable_static on sample code
      
      * convert python/paddle/fluid/layers/nn.py to bak
      
      * fix typo
      
      * fix code style
      
      * fix seed to manual_seed when call functions of Generator()
      
      * fix bug
      7c1aa0d6
  27. 19 10月, 2020 1 次提交
  28. 15 10月, 2020 1 次提交
  29. 12 10月, 2020 2 次提交
  30. 10 10月, 2020 1 次提交
  31. 09 10月, 2020 1 次提交
  32. 30 9月, 2020 2 次提交
    • L
      Add visualdl callback function (#27565) · a0f1dba3
      LielinJiang 提交于
      * add visualdl callback
      a0f1dba3
    • L
      Remove Input requirement in dygraph for Model (#27557) · d15cbe70
      LiuChiachi 提交于
      * remove input requirment in dygraph Model
      
      * correct unittest
      
      * upadte save inference model in dygraph without input
      
      * fix unittets for test_model.py
      
      * solve conflicts
      
      * solve conflicts
      
      * delete http.log
      
      * fix test_model.py bug, correct initialization of MyModel
      
      * fix unittests bugs
      
      * set paddle manual seed for unittest
      
      * fix Model bugs, because inputs can be list or dict when it is provided.
      
      * add random seed for test_export_deploy_model
      
      * delete redundant codes, because  calls
      
      * Code optimization, error information optimization
      d15cbe70
  33. 25 9月, 2020 1 次提交