1. 08 5月, 2021 6 次提交
    • D
      【heterps】support cuda11 for heterps; add profiler in oneps (#32640) · beab9563
      danleifeng 提交于
      * add trainprofiler for heterps in oneps; test=develop
      
      * add set_use_ps_gpu; test=develop
      beab9563
    • B
      add c_identity op npu (#32787) · c8affff0
      Baibaifan 提交于
      * add c_identity_op_npu
      c8affff0
    • P
      [NPU] refine update_loss_scaling npu kernel (#32580) · 4628b6f8
      pangyoki 提交于
      * refine update_loss_scaling npu kernel
      
      * add mutable_data
      
      * change Zerolike op to MemcpyAsync
      
      * delete useless code
      
      * add found_inf_vec
      
      * add memcpy if not finite
      
      * fix unittest
      4628b6f8
    • H
      Remove np Deprecation Warning since `np.bool` is alias of `bool` (#32798) · 8a42b1f8
      Huihuang Zheng 提交于
      Remove np Deprecation Warning since `np.bool` is alias of `bool`
      
      The warning report from test:
      
      ```
      2021-04-30 15:29:32 /workspace/Paddle/build/python/paddle/fluid/framework.py:689: DeprecationWarning: `np.bool` is a deprecated alias for the builtin `bool`. To silence this warning, use `bool` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.bool_` here.
      2021-04-30 15:29:32 Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
      2021-04-30 15:29:32   elif dtype == np.bool:
      2021-04-30 15:29:32 /workspace/Paddle/build/python/paddle/fluid/layers/utils.py:77: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
      2021-04-30 15:29:32   return (isinstance(seq, collections.Sequence) and
      2021-04-30 15:29:32 /workspace/Paddle/build/python/paddle/fluid/tests/unittests/test_cond.py:99: DeprecationWarning: `np.bool` is a deprecated alias for the builtin `bool`. To silence this warning, use `bool` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.bool_` here.
      ```
      8a42b1f8
    • W
      [Paddle-TRT]fix trt-converter-fc_op (#32671) · 62d848de
      Wangzheee 提交于
      * [Paddle-TRT]fix fc_op
      
      * [Paddle-TRT]fix fc_op
      
      * [Paddle-TRT]fix fc_op
      
      * test_trt_subgraph_pass.py
      
      * fix elementwise_op
      
      * fix elementwise_op
      
      * fix elementwise_op
      
      * fix elementwise_op.cc
      
      * op_teller.cc
      62d848de
    • L
      Add raw program meta optimizer (#32597) · c1c18b08
      lilong12 提交于
      * add raw program, test=develop
      c1c18b08
  2. 07 5月, 2021 6 次提交
  3. 06 5月, 2021 10 次提交
  4. 05 5月, 2021 1 次提交
  5. 03 5月, 2021 2 次提交
  6. 30 4月, 2021 7 次提交
    • H
      [Dy2stat] Fix to_tensor Bug Reported from QA (#32701) · 00268194
      Huihuang Zheng 提交于
      Dy2stat failed when user writes return paddle.to_tensor(xxx), the reason is that visit_Expr doesn't work when the Expr is in return. Some other statements may trigger same bug. To fix it, we re-wrote a transformer to transform paddle.to_tensor to paddle.assign for all Call nodes.
      00268194
    • Z
      loose affine channel fp16 atol (#32581) · 0a0f3244
      zlsh80826 提交于
      0a0f3244
    • F
      avoid polluting logging's root logger (#32673) · 4d95c8c7
      Feiyu Chan 提交于
      avoid polluting logging's root logger
      4d95c8c7
    • W
      Support transforms for paddle tensor image (#31970) · 6ab43f7f
      Wenyu 提交于
      * add to_grayscale, normalize
      
      * add rotate
      
      * add vfip and hflip
      
      * add crop center_crop
      
      
      * add padding, support constant, reflect, replicate, circular same as paddle.pad
      
      * add get-image-[n,c,w,h] axis utils
      6ab43f7f
    • Z
    • T
      revert data_generator __init__.py (#32670) · eb13c19f
      tianshuo78520a 提交于
      * revert data_generator
      
      * test
      
      * add setup.py
      eb13c19f
    • P
      Add 12 inplace APIs including auto generated (#32573) · 308073de
      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
      308073de
  7. 29 4月, 2021 6 次提交
  8. 28 4月, 2021 2 次提交