1. 13 1月, 2021 1 次提交
  2. 11 1月, 2021 2 次提交
  3. 08 1月, 2021 3 次提交
  4. 23 12月, 2020 1 次提交
    • L
      [setitem] Support Tensor setitem in static mode (#29708) · 97e75ad0
      liym27 提交于
      1. Type of index: int, slice(step must be 1).
      
      2. Type of value: 
       (1) int32, int64, float32, bool; 
       (2) numpy.array(int32, int64, float32, bool);<Note: float64 is not supported>
       (3) paddle.Tensor(int32, int64, float32, float64, bool);
      97e75ad0
  5. 21 12月, 2020 1 次提交
  6. 18 12月, 2020 3 次提交
  7. 14 12月, 2020 3 次提交
    • L
      [Dy2Stat] 1. Fix bug of for-range stmts. 2. Support that step value is... · 0cad1152
      liym27 提交于
      [Dy2Stat] 1. Fix bug of for-range stmts. 2. Support that step value is negative in for-range stmts (#29519)
      
      1. Fix error in _build_cond_stmt of for-range stmts. 
      
      2. Support that step value is negative in for-range stmts
      
      3. Fix code because of the diff between Py2 and Py3
      0cad1152
    • H
      Fix Windows Unittest (#29543) · 831e9135
      Huihuang Zheng 提交于
      Fix 3 Windows Unittests
      
      test_fuse_all_reduce_pass: Paddle cannot run multiple-GPU on Windows so set single visible GPU flag
      test_feed_data_check_shape_type: Paddle cannot run multiple-GPU on Windows so set single visible GPU flag
      test_tsm: Winodws GPU size is not enough so decrease batch size and data size.
      831e9135
    • G
      Fix precision problem (#29567) · 08f24a31
      GeminiCarrie 提交于
      * Fix a bug when running on an operating system without "bash."
      
      * add execution condition
      
      * for ci-coverage
      
      * get cpu information to check the precision problem
      
      * Update compilation environment for musl version
      
      * update dependencies
      
      * remove test code
      
      check cpu info
      
      remove test code
      
      review
      
      * update alpine and third_party denpendencies
      
      * add newline for ci Code format
      08f24a31
  8. 04 12月, 2020 2 次提交
  9. 03 12月, 2020 1 次提交
    • L
      [Dy2stat] Add a decorator paddle.jit.not_to_static to support that not to... · b9a8ebd5
      liym27 提交于
      [Dy2stat] Add a decorator paddle.jit.not_to_static to support that not to convert a function in Dynamic-to-Static. (#29253)
      
      Usage scenarios:A function could have run successfully in static mode,  you can use it to decorate a function in the following cases:
        1. An unknown error occurs in the dynamic-to-static conversion process of the function;
        2. In the internal implementation of the function, it has two branches: dynamic branch and static branch;
        3. Users don't want to convert the function in the process of dynamic to static.
      b9a8ebd5
  10. 02 12月, 2020 1 次提交
    • H
      [Dy2stat] Fix PaddleGan Deoldify Model Dy2stat Problems (#29226) · aec05d81
      Huihuang Zheng 提交于
      This PR fixes several problems in dy2stat for Deoldify model in PaddleGan.
      
      In model, software engineer wrote if x.shape == y.shape, the Tenser shape is a tuple in dygraph so the == returns True/False, but in static graph the == becomes element-wise comparison, which is a different behavior. In this PR we reduce the element-wise comparison result.
      
      If software engineer write computations which uses parameters in hooks, the static graph can loss the parameter variable because we put param_guard at forward of a Layer. In this PR we made param_guard cover pre-hook and post-hook.
      
      In PaddleGan, software engineer calculated some parameter values in __init__ by running some dygraph code. Those code also run during dy2stat. So some variables may be assign as a VarBase (Tensor) first and then Variable, which raised an error. We fixed the bug in this PR by handling the case.
      
      TODO: We just added testcase for the 1. shape comparison. Should add test case for 2. and 3. But since we are chasing 2.0RC, I will do it in the near future PR
      aec05d81
  11. 30 11月, 2020 2 次提交
  12. 28 11月, 2020 4 次提交
  13. 27 11月, 2020 3 次提交
  14. 26 11月, 2020 1 次提交
  15. 25 11月, 2020 3 次提交
  16. 24 11月, 2020 4 次提交
  17. 20 11月, 2020 2 次提交
  18. 19 11月, 2020 3 次提交