1. 21 10月, 2020 1 次提交
  2. 13 10月, 2020 1 次提交
    • L
      Refine the format of printing tensor (#27673) · 049696bf
      Leo Chen 提交于
      * add sumary feature
      
      * refine printting tensor
      
      * add sci_mode
      
      * add sample code
      
      * fix indent error
      
      * fix _format_item
      
      * polish code
      
      * support item indent
      
      * add ut
      
      * set place for ut
      
      * fix py2 issue
      
      * fix ut
      049696bf
  3. 28 9月, 2020 1 次提交
  4. 25 9月, 2020 1 次提交
  5. 24 9月, 2020 1 次提交
    • W
      use iwyu clean include (#27267) · df43905f
      wanghuancoder 提交于
      * use iwyu clean include, test=develop, test=win
      
      * compilation error, test=develop
      
      * fix compilation error2, test=develop
      
      * fix compilation error3, test=develop
      
      * fix compilation error4, test=develop
      
      * fix compilation error5, test=develop
      
      * fix compilation error6, test=develop
      
      * fix compilation error7, test=develop
      
      * fix compilation error8, test=develop
      
      * fix compilation error8, test=develop
      
      * fix compilation error10, test=develop
      
      * fix compilation error11, test=develop
      df43905f
  6. 31 8月, 2020 1 次提交
    • A
      Add use of global flag 'use_mkldnn' to layer_helper (#26497) · 885c61f0
      arlesniak 提交于
      * get use of global 'use_mkldnn' in layer_helper
      
      * update for CI
      
      * update for CI, relu test
      
      * update for CI, relu test added, make FLAGS_use_mkldnn a public flag
      
      * added more strict tests, fixes after review
      
      * fixes after review
      
      * fixes after review, CI stuff
      885c61f0
  7. 28 8月, 2020 2 次提交
  8. 21 8月, 2020 1 次提交
    • Q
      support Baidu Kunlun AI Accelerator (#25959) · 138ecf24
      QingshuChen 提交于
      * support Baidu AI Accelerator
        * test=kunlun
      
      * minor
       * test=kunlun
      
      * support xpu op in separate file
       * test=kunlun
      
      * update XPU error message and remove duplicated code
      
       * test=kunlun
      
      * minor
       * test=kunlun
      
      * minor
       * test=kunlun
      138ecf24
  9. 18 8月, 2020 1 次提交
  10. 13 8月, 2020 2 次提交
    • L
      [OpDevOptimize] Add common infershape functions (#26096) · ffe52b44
      Leo Chen 提交于
      * add unchaged infershape function
      
      * add broadcast infershape function
      
      * fix bug
      
      * rename infershape functions
      
      * add UnaryOpUnchangedInferShapeCheckAxis
      
      * add error message
      
      * add test for common infer shape functions
      
      * dont update existed ops
      
      * dont update op_desc.h
      
      * add more test
      
      * add error check, refine error message
      ffe52b44
    • L
      Feature/Enable Auto-Mixed-Precision in dynamic graph (#24903) · 2d95280e
      Leo Chen 提交于
      * add auto_cast, test=develop
      
      * add loss scaler, test=develop
      
      * add comments, test=develop
      
      * refine code, test=develop
      
      * refine code, test=develop
      
      * do not set flags automatically, test=develop
      
      * fix custom op bug, test=develop
      
      * add more test, test=develop
      
      * refine enable logic, test=develop
      
      * enable amp test with GPU, test=develop
      
      * add unittest
      
      * add test for found_inf
      
      * follow comments
      
      * follow comments
      
      * remove global variable, use singleton
      
      * add some notes
      
      * update comments
      
      * update comments
      
      * update comments
      
      * add use_dynamic_loss_scaling argument
      
      * refine found_inf
      
      * refine found_inf
      2d95280e
  11. 11 8月, 2020 1 次提交
  12. 05 8月, 2020 1 次提交
  13. 30 7月, 2020 1 次提交
    • H
      Fix dygraph grad bugs (#25781) · c2a21ca9
      hong 提交于
      * fix double grad visitid unit; test=develop
      
      * change name hash_pair to HashPair; test=develop
      
      * follow comment; test=develop
      c2a21ca9
  14. 28 7月, 2020 1 次提交
    • A
      Added DNNL cache management for DyGraph (#25624) · e52df3b1
      arlesniak 提交于
      * Added DNNL cache management for DyGraph
      
      * move FLAGS_use_mkldnn to more general CMakeLists, getu use of the flag in ClearGradients
      
      * missing file
      
      * Fixes after review
      
      * Bringing back original idea of place for 'use_mkldnn' flag to be accessible from platform nad imperative.
      
      * Removed duplicate and added docs
      
      * Fixes for CI
      e52df3b1
  15. 24 7月, 2020 1 次提交
  16. 16 7月, 2020 1 次提交
    • H
      Add Support for SelectedRows for Transpose OP and Fix a Bug That SelectedRows... · d8fe517b
      Huihuang Zheng 提交于
      Add Support for SelectedRows for Transpose OP and Fix a Bug That SelectedRows Cannot be Supported in SimNet (#25536)
      
      This PR fixes a bug that SelectedRows cannot be supported in SimNet. The reason of this bug is that dygraph basic_engine didn't copy var's type when the var needs to be accumulated during backward. So when a var is SelectedRows and needs to be accumulated, like SimNet which calls net for two times, the var's type will be changed to default LoDTensor thus bug happens. To fix it, we just also copy the type.
      
      Without this PR, the accumulated SelectedRows parameters in dygraph will be changed into LoDTensor. So when we fixed the bug of supporting SelectedRows in SimNet, we found `test_imperative_lod_tensor_to_selected_rows` failed and threw the error that SelectedRows was not supported for Transpose OP. To fix it, too, this PR also added support for SelectedRows for Transpose OP.
      d8fe517b
  17. 02 7月, 2020 1 次提交
  18. 01 7月, 2020 1 次提交
  19. 05 6月, 2020 1 次提交
    • C
      Support SelelctedRows allreduce in multi-cards imperative mode (#24690) · 4a702ef3
      Chen Weihang 提交于
      * support selectedrows allreduce in multi-cards dygraph, test=develop
      
      * remove useless import modules in unittests, test=develop
      
      * add nccl cmake to get nccl version, test=develop
      
      * add if-condition to compiled correctly, test=develop
      
      * add detail version parseing for old nccl, test=develop
      
      * polish camke details, test=develop
      
      * fix remove test cmake error, test=develop
      
      * fix cmake condition, test=develop
      
      * change unittest camke list, test=develop
      
      * fix unittest cmake rule, test=develop, test=framep0
      4a702ef3
  20. 03 6月, 2020 2 次提交
  21. 27 5月, 2020 1 次提交
  22. 11 5月, 2020 1 次提交
    • C
      Add macro BOOST_GET to enrich the error information of boost :: get (#24175) · aa0f254f
      Chen Weihang 提交于
      * add new macro BOOST_GET_SAFELY & unittests, test=develop
      
      * add different macro type, test=develop
      
      * fix get macro type in executor, test=develop
      
      * four macro part change backup
      
      * using one macro for all case, test=develop
      
      * revert attribute change, test=develop
      
      * change to three func to solve gcc4.8 bug, test=develop
      
      * polish some details, test=develop
      aa0f254f
  23. 26 4月, 2020 1 次提交
    • L
      improve efficiency of runtime InferVarType (#22778) · 9a93f6aa
      liuwei1031 提交于
      * save InferVarType changes, test=develop
      
      * remove code comments, test=develop
      
      * tweak code, test=develop
      
      * fix compilation warning, update merge_ids_op split_ids_op to new interface, test=develop
      
      * modify fused_bn_activation_op, test=develop
      
      * fix error of fused_bn_activation_op, test=develop
      
      * fix PADDLE_ENFORCE and unittest coverage issue, test=develop
      
      * tweak PADDLE_ENFORCE messages, test=develop
      
      * improve unittest coverage, test=develop
      
      * add StaticGraphInferVarType class, test=develop
      
      * rebase develop branch, test=develop
      
      * fix unittest error, test=develop
      
      * remove comments, test=develop
      
      * improve unittest coverage, test=develop
      
      * imporve error message and imporve unittest coverage, test=develop
      
      * upgrade InferVarType API, test=develop
      
      * tweak pyfunc error message, test=develop
      
      * fix compilation conflict - save_combine_op, test=develop
      9a93f6aa
  24. 23 4月, 2020 1 次提交
  25. 21 4月, 2020 1 次提交
  26. 20 4月, 2020 1 次提交
  27. 15 4月, 2020 1 次提交
  28. 11 4月, 2020 1 次提交
  29. 10 4月, 2020 1 次提交
  30. 09 4月, 2020 1 次提交
  31. 06 4月, 2020 1 次提交
    • C
      Implement StaticModelRunner to support dygraph fine-tune static graph pre-training model (#23171) · 75bd3507
      Chen Weihang 提交于
      * static model runner basic implement, test=develop
      
      * add run program op to execute loaded program, test=develop
      
      * refactor static model runner & run program op, test=develop
      
      * reset engine.cc to resolve conflict
      
      * adapt the change of dygraph double grad, test=develop
      
      * refactor impl to solve control flow error, test=develop
      
      * clear debug code, test=develop
      
      * fix ci str compatible error & checkout dygraph grad maker & add example, test=develop
      
      * hide api & add op test, test=develop
      
      * fix run program op test places error, test=develop
      
      * fix program by review comment, test=develop
      
      * delete change var desc name, test=develop
      
      * fix other program by review comment, test=develop
      
      * remove _static_graph_guard, test=develop
      
      * add selectedrows test, test=develop
      
      * remove desc parser, test=develop
      
      * fix detail program, test=develop
      
      * change socpe create & add test, test=develop
      75bd3507
  32. 03 4月, 2020 2 次提交
    • Z
      support Exhaustive search in dygraph (#23415) · dbfbd7ea
      zhongpu 提交于
      * use global conv cache; test=develop
      
      * use singleton cache; test=develop
      
      * fix format error; test=develop
      
      * add cudnn helper header; test=develop
      
      * fix header error; test=develop
      
      * fix mac unitest; test=develop
      
      * fix mac unitest; test=develop
      
      * fix file format; test=develop
      
      * fix include file error, test=develop
      
      * remove kernel_configs_ in class ExecutionContext and kernel_configs_map_ in class OperatorWithKernel, test=develop
      
      * fix test_elementwise_mul_op_dim, test=develop
      
      * fix compile error, test=develop
      Co-authored-by: Nphlrain <phliuhongyu@126.com>
      dbfbd7ea
    • Z
      fix Tracer::NoGrad, test=develop (#23443) · 0c23e3ff
      Zeng Jinle 提交于
      0c23e3ff
  33. 02 4月, 2020 2 次提交
    • Z
      Revert "Exhaustive search (#22821)", test=develop (#23401) · bfb07aaf
      zhongpu 提交于
      This reverts commit 48144e40.
      bfb07aaf
    • Z
      Exhaustive search (#22821) · 48144e40
      zhongpu 提交于
      * use global conv cache; test=develop
      
      * use singleton cache; test=develop
      
      * fix format error; test=develop
      
      * add cudnn helper header; test=develop
      
      * fix header error; test=develop
      
      * fix mac unitest; test=develop
      
      * fix mac unitest; test=develop
      
      * fix file format; test=develop
      
      * fix include file error, test=develop
      
      * remove kernel_configs_ in class ExecutionContext and kernel_configs_map_ in class OperatorWithKernel, test=develop
      
      * fix test_elementwise_mul_op_dim, test=develop
      Co-authored-by: Nphlrain <phliuhongyu@126.com>
      48144e40
  34. 30 3月, 2020 1 次提交
  35. 27 3月, 2020 1 次提交
    • Z
      Expose dygraph.grad api (#23124) · 8bfd62ff
      Zeng Jinle 提交于
      * expose dygraph.grad api, test=develop, test=document_fix
      
      * add more parameter in dygraph.grad API, test=develop
      
      * add only_inputs=True parameter, test=develop
      
      * follow comments, test=develop, test=document_fix
      
      * fix typo, test=develop, test=document_fix
      8bfd62ff