1. 30 11月, 2022 1 次提交
    • W
      [remove fluid] under unittesets (#48212) · 7d6263e6
      wangzhen38 提交于
      * [remove fluid] under unittesets
      
      * [remove fluid] under unittesets
      
      * [remove fluid] under unittesets
      
      * [remove fluid] under unittesets
      
      * [remove fluid] under unittesets
      
      * [remove fluid] under unittesets
      
      * [remove fluid] under unittesets
      
      * [remove fluid] under unittesets
      
      * [remove fluid] under unittesets
      
      * [remove fluid] under unittesets
      
      * [remove fluid] under unittesets
      
      * [remove fluid] under unittesets
      
      * [remove fluid] under unittesets
      
      * [remove fluid] under unittesets
      
      * [remove fluid] under unittesets
      
      * [remove fluid] under unittesets
      7d6263e6
  2. 29 11月, 2022 1 次提交
  3. 21 11月, 2022 1 次提交
  4. 03 11月, 2022 1 次提交
  5. 23 10月, 2022 1 次提交
  6. 11 10月, 2022 1 次提交
  7. 27 9月, 2022 1 次提交
  8. 17 8月, 2022 1 次提交
    • N
      [CodeStyle][NPU] use np.testing.assert_allclose instead of... · 2de0d676
      Nyakku Shigure 提交于
      [CodeStyle][NPU] use np.testing.assert_allclose instead of self.assertTrue(np.allclose(...)) (part 1) (#44988)
      
      * autofix
      
      * try resolve precision issues
      
      * revert some changes
      
      * clean some `err_msg`
      
      * 0.0001 -> 1e-4
      
      * update commented assert code
      
      * try to fix some shape errors
      
      * `numpy` -> `np`
      
      * empty commit, trigger kunlun ci, test=kunlun
      
      * empty commit, retrigger kunlun ci, test=kunlun
      
      * empty commit, trigger kunlun ci, try fix npu memcpy_h2d, test=kunlun
      
      * try fix npu import error, test=kunlun
      2de0d676
  9. 05 7月, 2022 1 次提交
  10. 05 6月, 2022 1 次提交
    • S
      【code format check upgrade】 step2:yapf (#42944) · a072fca8
      Sing_chan 提交于
      * use yapf to format all python file
      
      * yapf exclude two unittests file for they rely on writing and reading file, and format will break them
      
      * disable diff_py_file because too many diff files cause command following failed
      a072fca8
  11. 12 5月, 2022 1 次提交
  12. 17 12月, 2021 1 次提交
    • S
      Refine some AMP operators for BERT (#37923) · d80fe268
      sneaxiy 提交于
      * support multi precision update for LAMB
      
      * hide some api
      
      * fix ci uts
      
      * fix lamb output of dygraph
      
      * remove some changes to some PR
      
      * try to fix Py3 CI compile error
      
      * fix test_imperative_optimizer, add lars ut, add layer_norm ut
      
      * fix ut, fix format
      
      * fix ut
      
      * fix windows ci
      d80fe268
  13. 13 10月, 2021 1 次提交
    • Z
      Add fp16 for clip_by_norm & clip_by_global_norm (#36198) · 3a869cc5
      zhangbo9674 提交于
      * add fp16 for clip_by_norm api
      
      * support ClipByGlobalNorm for fp16 in dygraph
      
      * add unittest for dygraph clipGlobalNorm
      
      * refine unittest for dygraph clipGlobalNorm for mac and windows
      
      * refine unittest
      
      * add unittest for fp64
      
      * refine unittest for fp64
      3a869cc5
  14. 14 9月, 2021 1 次提交
  15. 10 9月, 2021 1 次提交
  16. 26 8月, 2021 1 次提交
  17. 05 8月, 2021 1 次提交
  18. 08 6月, 2021 1 次提交
  19. 09 10月, 2020 1 次提交
  20. 17 4月, 2020 1 次提交
  21. 02 4月, 2020 1 次提交
  22. 10 4月, 2019 1 次提交
  23. 07 12月, 2018 1 次提交
  24. 05 12月, 2018 1 次提交
    • C
      Fix clip.py (#14718) · 04539d4c
      chengduo 提交于
      * expose square
      test=develop
      
      * fix activation
      test=develop
      
      * Add square API
      test=develop
      
      * add necessary op
      
      * code refine
      
      * fix API.spec
      test=develop
      
      * fix unit test
      test=develop
      
      * add unit test sparse_grad_clip
      test=develop
      
      * fix API.spec
      test=develop
      
      * remove mac test for test_gradient_clip
      test=develop
      
      * remove selectedrows_mul_tensor
      test=develop
      04539d4c