1. 08 5月, 2021 5 次提交
    • 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
    • H
    • 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 11 次提交
  3. 06 5月, 2021 11 次提交
  4. 05 5月, 2021 1 次提交
  5. 03 5月, 2021 2 次提交
  6. 01 5月, 2021 1 次提交
  7. 30 4月, 2021 9 次提交