1. 15 6月, 2021 2 次提交
    • S
      [cherry-pick] fix gather bug && fix hang of new_group (#33553) · a4e841e0
      ShenLiang 提交于
      * Fix gather infer shape using axis (#33413)
      
      * fix gather shape bug
      
      * fix None
      
      * fix topo
      
      * Fix hang of hybrid parallel in new_group  (#33141)
      
      * fix hang of hybrid parallel
      
      * fix new_group for hang problem
      
      * fix hang
      a4e841e0
    • W
      [Cherry-Pick] Fix the segfault when using to_tensor in PyLayer. (#33303) (#33518) · 0079e0b1
      WeiXin 提交于
      修复pylayer 返回to_tensor时触发段错误的bug。
      原因:
      
      如果在Python端修改了stop_gradient属性,c++ 端InnerSetOverridedStopGradient 无法修改stop_gradient属性,在c++端调用SetOverridedStopGradient修改stop_gradient属性。
      to_tensor产生的tensor的grad var的DataType为默认值(-1),在backward的过程中grad var的DataType不能为默认值(-1),因此在调用ForwardDataType设置grad var的DataType。
      
      原始PR:#33303
      0079e0b1
  2. 12 6月, 2021 1 次提交
  3. 11 6月, 2021 3 次提交
  4. 10 6月, 2021 1 次提交
  5. 09 6月, 2021 2 次提交
  6. 08 6月, 2021 1 次提交
  7. 04 6月, 2021 1 次提交
  8. 01 6月, 2021 1 次提交
  9. 07 5月, 2021 4 次提交
  10. 06 5月, 2021 3 次提交
  11. 04 5月, 2021 1 次提交
  12. 01 5月, 2021 1 次提交
  13. 30 4月, 2021 3 次提交
    • P
      Add 12 inplace APIs including auto generated (#32573) (#32699) · 097d5f52
      pangyoki 提交于
      * add relu6_ hardsigmoid_ leaky_relu_ Inplace APIs
      
      * add softmax_with_cross_entropy_ Inplace API
      
      * add clip_ scale_ add_ subtract_ Inplace APIs
      
      * add wlist
      
      * fix parameter of scale api
      
      * add add_n_ Inplace API and remove log_ Inplace API
      
      * fix elementwise_add_ and elementwise_sub_ broadcast problem
      
      * elementwise inplace api give error message before run the op
      
      * use broadcast_shape in elementwise inplace op
      
      * add 8 inplace apis that is auto generated
      
      * add unittest for all inplace apis
      
      * add decorator for inplace apis in static mode
      
      * fix windows blas fail of exp inplace api, change array_equal to allclose
      
      * add flatten inplace api
      
      * add flatten unittest
      
      * fix flatten unittest
      
      * add decorator
      
      * fix grad.numpy in test_pylayer_op
      
      * unsupport softmax_with_cross_entropy_
      
      * add test_inplace_softmax_with_cross_entropy to static_mode_white_list
      
      * delete __all__ in inplace_utils
      
      * delete activation inplace function and add Tensor.inplace_func
      
      * change paddle.inplace_ to Tensor.inplace_
      
      * fix little problem
      
      * add paddle in inplace_utils
      097d5f52
    • C
      remove is_test=True in grad (#32683) · 1a417a4c
      ceci3 提交于
      1a417a4c
    • L
      Add op read_file and decode_jpeg (#32564) (#32686) · 2817239a
      LielinJiang 提交于
      * add op read_file and decode_jpeg
      2817239a
  14. 29 4月, 2021 3 次提交
  15. 28 4月, 2021 1 次提交
    • J
      [Cherry-pick] Optimize update_loss_scaling_op(#32554) (#32606) · 33703da8
      jiangcheng 提交于
      * optimize update_loss_scaling_op by fused for loop to one kernel, test=develop
      
      * remove useless while loop and optimize variable name, test=develop
      
      * optimize variable name from out_addrs_tensor to out_addrs_mem, test=develop
      
      * optimize variable name for readable by change prefix identifier from t_ to local_
      33703da8
  16. 27 4月, 2021 2 次提交
  17. 26 4月, 2021 5 次提交
  18. 25 4月, 2021 5 次提交