1. 17 8月, 2022 2 次提交
    • A
      fix timeout for test_activation_ops_ipu (#45181) · e51ea538
      Allen Guo 提交于
      e51ea538
    • 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
  2. 29 7月, 2022 1 次提交
  3. 27 7月, 2022 3 次提交
  4. 20 7月, 2022 1 次提交
  5. 15 7月, 2022 2 次提交
  6. 14 7月, 2022 6 次提交
  7. 12 7月, 2022 3 次提交
  8. 07 7月, 2022 1 次提交
    • A
      [IPU] support dy2static for IPU merge code (#43770) · 6984fbca
      Allen Guo 提交于
      * feat(): dynamic_to_static support for ipu.
      
      * fix(): format fix.
      
      * fix format
      
      * fix cpplint error
      
      * use phi::errors
      
      * fix format
      
      * fix format
      
      * fix(): add api to restore patched function.
      
      * fix(): identity_loss uses cpu place as expected kernel type.
      
      * doc(): add IPU dy2static related docs.
      
      * fix(): combine test cases.
      
      * fix format
      
      * fix comment
      
      * fix format
      
      * apply comment
      
      * fix compiling
      
      * fix(): align docs.
      
      * fix(): fix identity_loss function docs.
      
      * fix(): adjust mean and sum in identity_loss.
      
      * fix(): minor docs.
      
      * move API to paddle.incubate.identity_loss
      
      * fix UT
      Co-authored-by: Nzhaorui chen <zhaoruic@graphcore.ai>
      6984fbca
  9. 05 7月, 2022 1 次提交
  10. 21 6月, 2022 1 次提交
    • A
      [IPU] add activation ops (#43662) · 2353db3a
      Allen Guo 提交于
      * add argmin and argsort ops (#800)
      
      * add argmin and arsort ops
      
      * Add dot bmm ops (#803)
      
      * add bmm
      
      * add dot op
      
      * clean CreateConst
      
      * clean CreateCast
      
      * add activation ops (#808)
      
      * add activation ops
      
      * fix 1function-redefined error
      2353db3a
  11. 15 6月, 2022 1 次提交
  12. 14 6月, 2022 3 次提交
  13. 10 6月, 2022 2 次提交
  14. 08 6月, 2022 1 次提交
  15. 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
  16. 04 6月, 2022 1 次提交
  17. 01 6月, 2022 1 次提交
  18. 31 5月, 2022 1 次提交
  19. 24 5月, 2022 1 次提交
  20. 11 5月, 2022 1 次提交
  21. 07 5月, 2022 1 次提交
  22. 06 5月, 2022 4 次提交
  23. 05 5月, 2022 1 次提交