1. 11 1月, 2021 9 次提交
  2. 10 1月, 2021 1 次提交
  3. 09 1月, 2021 1 次提交
  4. 08 1月, 2021 11 次提交
  5. 07 1月, 2021 8 次提交
  6. 06 1月, 2021 5 次提交
    • H
      support dygraph in xpu place (#30051) (#30112) · 285f33e5
      hong 提交于
      * support dygraph in xpu place; test=develop
      
      * fix cpu/gpu compile error; test=develop
      
      * fix compile error; test=develop
      
      * fix xpu compile error; testd=develop
      285f33e5
    • G
      Cherrypick 30071 (#30074) · 19bec2fe
      gongweibao 提交于
      * fix log test=release/2.0
      
      * fix ut test=develop
      19bec2fe
    • H
      [Cherry-pick]cherry-pick to Release/2.0 (#30076) · 1ad7fcbf
      huangxu96 提交于
      * add fp16 check into max and avg pool (#29479)
      
      * Add ReserveSpace in dygraph batch_norm. (#29221)
      
      * Add ReserveSpace in dygraph batch_norm.
      
      * Add unittest for reservespace
      
      * add float16 into adaptive_avg_pool2d check list. (#29547)
      1ad7fcbf
    • L
      [Cherry-Pick 2.0][Dynamic Inplace] Support ShareInplaceVersionCounterWith for... · 743649b5
      liym27 提交于
      [Cherry-Pick 2.0][Dynamic Inplace] Support ShareInplaceVersionCounterWith for C++ Tensor (#29842) (#30105)
      
      Before this PR, SharePlaceHolderWith share Tensor between different C++ Variable, which meas sharing the data, shape, and inplace_version_counter_ of Tensor.
      But in some cases, Sharing data and inplace_version_counter_ but not sharing shape is needed. For example, inplace op reshape, can't share shape.
      
      This PR, discard SharePlaceHolderWith, and expose ShareInplaceVersionCounterWith for C++ Tensor.
      This reverts commit b10ecd9d.
      
      * Support ShareInplaceVersionCounterWith to share the same inplace version counter for VarBase
      743649b5
    • L
      [Cherry-pick 2.0] Migrate 4 APIs about array to paddle.tensor.* (#29565) (#30101) · 52caf787
      liym27 提交于
      4 APIs: array_length, array_read, array_write, create_array,cherry-pick #29565
      52caf787
  7. 05 1月, 2021 5 次提交
    • T
      add topo-aware in heter-ps (#30087) (#30117) · 7fc2ce50
      Thunderbrook 提交于
      * add topo aware
      
      * resource.h
      
      * topo aware
      
      * format
      7fc2ce50
    • L
      [Cherry-pick 2.0] cherry pick 3 PRs about Dynamic-to-Static (#30100) · faeee3c3
      liym27 提交于
      * [cherry-pick 2.0] Fix unitest test_slice (#29740)
      
      Before this commit, test_slice use old api `dygraph_to_static_func` to use Dynamic-t-Static and use Executor explicitly,which is not recommended to users.
      After fixed, use recommended API `paddle.jit.to_static` to replace `dygraph_to_static_func`, which won't trigger the random exception on coverage CI.
      
      * [cherry-pick 2.0][Dy2Stat] Support grammar: for ele in var[idx] (#29541)
      
      Support to transformfor ele in var stms in which var is a slice of Tensor.
      
      * [cherry-pick 2.0][Dy2Stat] Fix bug for loop: a variable is used and created in loop, but used before created (#29769)
      faeee3c3
    • C
      [cherry-pick 2.0] Support dygraph quant model and avoid the scale to be infinity (#30098) · 3fe71d0a
      cc 提交于
      * fix ininite scale values (#29386)
      
      * Support dygraph quant model (#29927)
      
      * Avoid the scale to be infinity in quant2_int8_mkldnn_pass, test=develop
      * support quantized model for paddle2.0 dygraph, test=develop
      Co-authored-by: NWojciech Uss <wojciech.uss@intel.com>
      3fe71d0a
    • G
      fix test=release/2.0 (#30045) · 6e2066b0
      gongweibao 提交于
      6e2066b0
    • C
      [cherry pick]Set FLAGS_selected_gpus for spawn (#29962) (#30097) · cda7397f
      Chen Weihang 提交于
      Set FLAGS_selected_gpus for spawn.
      
      When the child process starts, it will inherit the configuration of the main process and set the FLAGS once, but the environment variable has not been set at this time, which leads to the FLAGS_selected_gpus is keep same with mainprocess(usually empty), so manually update the flags here.
      
      注:增加了一个单测,又移除了,单测打印显示CI机器nvidia-smi只有两张卡,需要大于两张卡才能测这个问题
      cda7397f