1. 03 7月, 2019 4 次提交
  2. 02 7月, 2019 3 次提交
    • L
      rename mkldnn set/get_cur_thread_id() to set/get_cur_mkldnn_session_id() (#18453) · 8f5fffca
      Leo Zhao 提交于
      * rename mkldnn set/get_cur_thread_id() to set/get_cur_mkldnn_session_id()
      
      test=develop
      
      * update session id definition and adjust logic for default behavior
      
      test=develop
      
      * reset logic in mkldnn reuse as most of cases work in default.
      
      test=develop
      8f5fffca
    • Y
      supports collective training with programs (#18392) · a873fa84
      Yi Liu 提交于
      1. Since allreduce op has 4 reduce types, We split these four reduce types into four ops
      2. We also refined the collective op code, e.g. we separated the collective op kernel into CPUKernel and CUDAKernel, and remove the device specified DeviceContext parameter in template as we already knew the target DeviceContext
      3. We remove the newly added Collective op role to reduce the complexity of program and graph analysis
      a873fa84
    • C
      Add find_no_grad_vars in backward.py (#17942) · e0d8c6ac
      chengduo 提交于
      * add not_been_used_vars to no_grad_set
      test=develop
      e0d8c6ac
  3. 01 7月, 2019 2 次提交
  4. 28 6月, 2019 2 次提交
  5. 27 6月, 2019 4 次提交
    • T
      fix communicator with pyreader (#18350) · 999d9a59
      tangwei12 提交于
      * add is_runnning in communicator, test=develop
      999d9a59
    • H
      supports collective communicated training (#18175) · b7128bac
      HaoRen 提交于
      * fix prepare context redundant code problem, optimize executor by caching create_varaiables
      test=develop
      
      * supports collective training in executor
      
      * make fetch_list runable with variables, add more unittest for use_program_cache
      test=develop
      
      * fix comment
      test=develop
      
      * use unique name for nccl_id
      
      * supports output to stream in program_to_code
      
      * insert sync_comm_stream before regularization; add skip_op_callstack capability in program_to_code
      
      * set op role in collective training
      
      * add collective op role
      
      * remove orig file
      
      * add build optimizer by strategy
      
      * add collective strategy
      
      * refine collective strategy
      
      * add multi-process role maker
      
      * refine strategy building factory so that we can easily plugin more strategy
      
      * scale loss grad in collective sgd transpiler
      
      * add support for distributed fc
      
      * code format
      
      * revert some features for dist fc
      
      * add support for distributed fc training
      
      * fix prepare context redundant code problem, optimize executor by caching create_varaiables
      test=develop
      
      * supports collective training in executor
      
      * make fetch_list runable with variables, add more unittest for use_program_cache
      test=develop
      
      * use unique name for nccl_id
      
      * supports output to stream in program_to_code
      
      * insert sync_comm_stream before regularization; add skip_op_callstack capability in program_to_code
      
      * set op role in collective training
      
      * add collective op role
      
      * fix comment
      test=develop
      
      * remove orig file
      
      * add build optimizer by strategy
      
      * add collective strategy
      
      * refine collective strategy
      
      * add multi-process role maker
      
      * refine strategy building factory so that we can easily plugin more strategy
      
      * scale loss grad in collective sgd transpiler
      
      * add support for distributed fc
      
      * code format
      
      * revert some features for dist fc
      
      * add support for distributed fc training
      
      * test=develop
      add collective op unittest standard
      
      * test=develop
      remove the test_collective directory
      
      * test=develop
      remove the test_collective directory
      
      * remove slicegather test
      
      * code format for reducescatter
      
      * update attr of shard_index_op
      
      * Modify macro nccl_helper
      
      * remove test without distribute
      
      * macro collective_helper
      
      * marcro update
      
      * test=develop
      update support python3.5
      
      * test=develop change gpu memory use to 0.1 when test
      
      * test=develop
      update ut equal func
      
      * test=develop
      set flags to 1.5
      
      * test=develop fix pickle dumple  py35
      
      * test=develop
      fix divide in slice and add sync_comm_stream
      update atol and rtol to 1e-05
      rm shard_index op and test
      modify read input from file to read from memory
      remove origin_program in framework and add i/o in c_sync_calc_stream
      
      * test=develop update unittest sync operator I/O
      b7128bac
    • S
      add int8 mkldnn prior_box (#17242) · 9252e8fa
      Sylwester Fraczek 提交于
      add prior_box quantization code
      
      add scale algo rules for prior box
      
      test=develop
      9252e8fa
    • J
      [MKL-DNN] Extending reusing to Elementwise_add_mkldnn op (#18146) · c2efdfd5
      Jacek Czaja 提交于
      * - Reusing of reuder used in elementwise_add_mkldnn
      
      - Added MKL-DNN sum prim reusing
      
      test=develop
      
      - Compilation fixes
      
      test=develop
      
      - Yet another compilation fix
      
      test=develop
      
      - Yet another compilation fix
      
      test=develo
      
      - Yet another linking fix
      
      test=develop
      
      - Final compilation fix
      
      test=develop
      
      - lint fixes
      
      test=develop
      
      - Lint fixes
      
      test=develop
      
      * - Fixes after review
      
      test=develop
      c2efdfd5
  6. 26 6月, 2019 2 次提交
  7. 25 6月, 2019 3 次提交
    • T
      fix softrelu doc (#18324) · 81ec5382
      tensor-tang 提交于
      * fix softrelu doc
      
      test=develop
      
      * update API doc
      
      test=develop
      81ec5382
    • H
      Sequence mask support tensor (#18249) · df2eee71
      Hongyu Liu 提交于
      * sequnce mask support max length tensor input; test=develop
      
      * add rnn_impl.py; test=develop
      
      * add basic gru lstm unittest; test=develop
      
      * fix api spec; test=develop
      
      * fix sequence_mask op bug;
      test=develop
      test=document_preview
      
      * change +-*x to elmentwise_op; test=develop
      
      * add mkl flag; test=develop
      
      * fix rnn impl bug; test=develop
      
      * update api spec; test=develop
      
      * fix doc bug; test=develop
      
      * fix lstm bugs; test=develop
      df2eee71
    • Q
      optimize communicator merge sparse gradient test=develop (#18159) · 0e08e91c
      Qiao Longfei 提交于
      * optimize communicator merge sparse gradient test=develop
      
      * revert multithread selected rows merge add test=develop
      
      * follow comment test=develop
      0e08e91c
  8. 24 6月, 2019 2 次提交
  9. 21 6月, 2019 2 次提交
  10. 20 6月, 2019 1 次提交
  11. 19 6月, 2019 2 次提交
  12. 17 6月, 2019 1 次提交
  13. 16 6月, 2019 4 次提交
    • Q
      Update backward appending stragety to support double backward and fix some bug. (#18104) · 80d2e66f
      qingqing01 提交于
      * Update backward.py:
           - If there is no input grad var in all outputs of previous ops, do not append this op into graph.
           - Only apply this stragety when double backward.
      * Update some double backward op.
      * Update sum_op to judge whether a tensor is empty by numel or IsInitialized().
      80d2e66f
    • F
      add detection output operator for supporting retinanet (#17896) · ff83655f
      FlyingQianMM 提交于
      * test=develop
      add detection output for supporting retinanet
      
      * test=develop
      add test_layers.py
      
      * test=develop
      add API.spec
      
      * test=develop
      alter test_retinanet_detection_output.py
      
      * test=develop
      alter round 2
      
      * test=develop
      alter retinanet_detection_output
      
      * test=develop
      alter paddle/fluid/API.spec
      
      * test=devlop
      alter detection.py
      
      * test=develop
      alter retinanet_detection_output
      
      * test=develop
      alter paddle/fluid/API.spec
      
      * test=develop
      alter detection.py
      
      * test=develop
      alter API.spec
      
      * test=develop
      alter retinanet_detection_output
      
      * test=develop
      alter paddle/fluid/API.spec
      
      * test=develop
      alter python/paddle/fluid/tests/unittests/test_retinanet_detection_output.py
      
      * test=develop
      alter python/paddle/fluid/tests/unittests/test_retinanet_detection_output.py
      
      * test=develop
      fix grammer error
      
      * test=develop
      fix grammer error
      
      * test=develop
      fix grammer error
      
      * test=develop
      alter python/paddle/fluid/tests/unittests/test_layers.py
      
      * test=develop
      alter paddle/fluid/API.spec
      ff83655f
    • F
      add sigmoid focal loss operator for supporting retinanet (#17895) · 0aee1f00
      FlyingQianMM 提交于
      * test=develop
      add sigmoid_focal_loss for supporting retinanet
      
      * test=develop
      add test_layers
      
      * test=develop
      add API.spc
      
      * test=develop
      alter sigmoid_focal_loss_op.cc
      
      * test=develop
      alter detection.py
      
      * test=develop
      alter API.spec
      
      * test=develop
      alter round 1
      
      * test=develop
      alter simooid_focal_loss
      
      * test=develop
      alter sigmoid_focal_loss_op.cc
      
      * test=develop
      alter test_layers.py
      
      * test=develop
      alter paddle/fluid/API.spec
      
      * test=develop
      alter sigmoid_focal_loss_op.cu
      
      * test=develop
      alter paddle/fluid/operators/detection/sigmoid_focal_loss_op.cc
      0aee1f00
    • F
      Update generate_proposal_labels_op to support CascadeRCNN. (#17200) · 9e4b9d97
      FDInSky 提交于
      * Update generate_proposal_labels_op to support CascadeRCNN.
      9e4b9d97
  14. 15 6月, 2019 2 次提交
    • F
      add target assign operator for supporting retinanet (#17893) · 9ed2f936
      FlyingQianMM 提交于
      * test=develop add target assign for retinanet
      
      * test=develop
      run ci
      
      * test=developp
      add test_layers
      
      * test=develop
      add APi.spec
      
      * test=develop
      alter round 1
      
      * test=develop
      alter rpn_target_assign_op.cc
      
      * test=develop
      alter test_rpn_target_assign_op.py
      
      * test=develop
      alter rpn_target_assign_op.cc
      
      * test=develop
      
      alter API.spec
      
      * test=develop
      alter paddle/fluid/operators/detection/rpn_target_assign_op.cc
      
      * test=develop
      alter rpn_target_assign_op.cc
      
      * test=develop
      alter python/paddle/fluid/layers/detection.py
      
      * test=develop
      alter paddle/fluid/API.spec
      9ed2f936
    • C
      Fix bug of scope_buffered_ssa_graph_executor (#18100) · 24e988a4
      chengduo 提交于
      * fix code bug
      test=develop
      24e988a4
  15. 14 6月, 2019 2 次提交
  16. 13 6月, 2019 3 次提交
    • L
      refactor the function ConvFwdPrimitiveDesc (#17897) · f8ecc3de
      lidanqing 提交于
      * refractor the function ConvFwdPrimitiveDesc
      test=develop
      
      * change according to review
      test=develop
      
      * use pointer way without boost::optional
      test=develop
      
      * pass vector to function by reference instead of raw vector
      test=develop
      
      * change pointer to shared_ptr
      test=develop
      f8ecc3de
    • W
      Added unit test for QAT FP32 & INT8 comparison (#17814) · 78e93286
      Wojciech Uss 提交于
      * added unit test for QAT FP32 & INT8 comparison
      
      test=develop
      
      * enabled other models and updated filenames
      
      test=develop
      
      * added accuracy check and multiple batch handling
      
      test=develop
      
      * removed quantization_mkldnn_pass.py
      
      test=develop
      
      * cleanup
      
      test=develop
      
      * updated model paths
      
      test=develop
      
      * renamed tests without MKL-DNN
      
      test=develop
      
      * fix reusing mkldnn pool2d primitive
      
      test=develop
      
      * add performance measuring
      
      test=develop
      
      * fix accuracy statistics
      
      test=develop
      
      * removed non-mkldnn tests
      
      test=develop
      
      * added conv2d_depthwise->conv2d mkldnn transformation
      
      test=develop
      
      * format update
      
      test=develop
      
      * fixed creating key for pool2d grad
      
      test=develop
      
      * added pass
      
      * Fix the accuracy issue while using float precision to get the scale.
      
      test=develop
      
      * Fix the format issue when 'X' is not nchw.
      
      test=develop
      
      * removed output comparing and changed number of images
      
      test=develop
      
      * cmake and comment fix
      
      test=develop
      
      * updated acc threshold for QAT comparison tests
      
      test=develop
      
      * added OMP_NUM_THREADS setting
      
      test=develop
      
      * enable all QAT INT8 tests
      
      test=develop
      
      * restored upstream version of a file
      
      test=develop
      
      * modified directory names
      
      test=develop
      78e93286
    • T
      concat op support negative axis (#18045) · 566bf2ec
      tensor-tang 提交于
      test=develop
      566bf2ec
  17. 12 6月, 2019 1 次提交