1. 15 6月, 2021 5 次提交
    • W
      c334d2bd
    • 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
    • L
      [cherry-pick] Polish code for setitem/getitem and support index for... · 2b44ae5d
      liym27 提交于
      [cherry-pick] Polish code for setitem/getitem and support index for list/Tensor/None/Ellipsis/bool (#33528)
      
      * [cherry-pick 2.1] Polish code for _getitem_impl_ (#32868)
      
      * [cherry-pick] Polish code for setitem and getitem (#32911)
      
      * [slice getitem] Support getitem idx is Tensor or List (#33000)
      
      * [getitem] Support index is None for getitem in static mode (#33001)
      
      * [Static getitem] Support static Variable getitem for Ellipsis index (#32876)
      
      * [static getitem]Support index is list bool for getitem in static mode (#33298)
      2b44ae5d
    • K
      [cherry pick] add warning for dataloader incompatable upgrade (#33514) · bbedca46
      Kaipeng Deng 提交于
      * add warning log for DataLoader output format imcompatible upgrade. test=develop
      
      * add unittest. test=develop
      
      * fix ci converage. test=develop
      
      * fix ci coverage. test=develop
      bbedca46
    • 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 1 次提交
  4. 10 6月, 2021 4 次提交
  5. 09 6月, 2021 1 次提交
  6. 08 6月, 2021 3 次提交
  7. 07 6月, 2021 2 次提交
  8. 04 6月, 2021 1 次提交
  9. 02 6月, 2021 1 次提交
  10. 01 6月, 2021 1 次提交
  11. 31 5月, 2021 1 次提交
  12. 26 5月, 2021 2 次提交
  13. 25 5月, 2021 1 次提交
  14. 21 5月, 2021 1 次提交
  15. 20 5月, 2021 3 次提交
  16. 19 5月, 2021 1 次提交
  17. 11 5月, 2021 1 次提交
  18. 07 5月, 2021 5 次提交
  19. 06 5月, 2021 4 次提交
  20. 30 4月, 2021 1 次提交
    • 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