1. 06 5月, 2022 3 次提交
    • W
      6ff35e17
    • Z
      [AutoParallel] adapt for 2d laplace (#41601) · c043a21b
      zhaoyingli 提交于
      * add default_ctx in backward.py
      
      * record grad_var_to_var with grad_times
      
      * fix backward
      
      * update annotation
      
      * add complete_high_order_grad in complete_forward
      
      * add dist slice op
      
      * update grad_var_to_var type
      
      * update partition_block init mapping before loss op
      
      * update compatible for 'XShape' & update 'allreduce_vars'
      
      * add dist reshape op when input dim equal to output dim
      
      * update 'set_grad_var_shape' with grad_var_to_var
      
      * fix dist slice
      
      * fix set_grad_var_shape
      
      * add dist pnorm op
      
      * fix dist pnorm dist_attr
      
      * fix engine startprogram & adapt highorder grad
      
      * fix set_grad_var_shape when mp
      
      * update unittest
      
      * update cmakelist
      
      * default strategy in engine: dp
      
      * bug fix
      
      * tiny fix
      
      * flatten outputs
      
      * fix default strategy
      
      * init default ctx
      
      * tiny fix
      
      * test=allcase
      c043a21b
    • W
      fix pylayer_memleak (#42501) · 2d29d833
      wanghuancoder 提交于
      2d29d833
  2. 05 5月, 2022 14 次提交
  3. 04 5月, 2022 8 次提交
  4. 03 5月, 2022 1 次提交
    • H
      Hotfix Release 2.3 Bug for CUDA 11.2 (#42437) · b0a64800
      Huihuang Zheng 提交于
      This PR hotfixed the `test_cond.py` in CUDA 11.2
      
      The reason of the bug is that the `fill_constant` op returns wrong value in the modified test case `test_extremely_simple_net_with_op_in_condition`, SWEs can use `layers.Print(a)` and `layers.Print(b)` in the test case to reproduce it and they can see the `fill_constant` returns something `e-50` instead of `1.23` and `1.25`
      
      This PR hotfixed the bug by comparing `b` value instead of actual number, which makes sure the `cond` logic is right. **However, the PR didn't fix `fill_constant`**. We would let the SWEs who are working here to find the op bug and fix it.
      b0a64800
  5. 02 5月, 2022 1 次提交
  6. 01 5月, 2022 1 次提交
  7. 30 4月, 2022 1 次提交
  8. 29 4月, 2022 11 次提交