1. 11 5月, 2021 3 次提交
  2. 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
  3. 07 5月, 2021 3 次提交
  4. 06 5月, 2021 7 次提交
  5. 30 4月, 2021 4 次提交
    • 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
    • Z
    • 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
  6. 29 4月, 2021 2 次提交
  7. 28 4月, 2021 6 次提交
  8. 27 4月, 2021 7 次提交
  9. 26 4月, 2021 2 次提交