1. 14 5月, 2021 1 次提交
  2. 12 5月, 2021 2 次提交
  3. 10 5月, 2021 2 次提交
  4. 07 5月, 2021 2 次提交
  5. 06 5月, 2021 1 次提交
  6. 30 4月, 2021 2 次提交
    • P
      Add 12 inplace APIs including auto generated (#32573) · 308073de
      pangyoki 提交于
      * add relu6_ hardsigmoid_ leaky_relu_ Inplace APIs
      
      * add softmax_with_cross_entropy_ Inplace API
      
      * add clip_ scale_ add_ subtract_ Inplace APIs
      
      * add wlist
      
      * fix parameter of scale api
      
      * add add_n_ Inplace API and remove log_ Inplace API
      
      * fix elementwise_add_ and elementwise_sub_ broadcast problem
      
      * elementwise inplace api give error message before run the op
      
      * use broadcast_shape in elementwise inplace op
      
      * add 8 inplace apis that is auto generated
      
      * add unittest for all inplace apis
      
      * add decorator for inplace apis in static mode
      
      * fix windows blas fail of exp inplace api, change array_equal to allclose
      
      * add flatten inplace api
      
      * add flatten unittest
      
      * fix flatten unittest
      
      * add decorator
      
      * fix grad.numpy in test_pylayer_op
      
      * unsupport softmax_with_cross_entropy_
      
      * add test_inplace_softmax_with_cross_entropy to static_mode_white_list
      
      * delete __all__ in inplace_utils
      
      * delete activation inplace function and add Tensor.inplace_func
      
      * change paddle.inplace_ to Tensor.inplace_
      
      * fix little problem
      
      * add paddle in inplace_utils
      308073de
    • F
      单测全量列表修改 (#32641) · 9b4fabf9
      feng626 提交于
      * 单测全量列表修改
      
      * 单测全量列表修改
      
      * 去除挂掉的windows单测
      
      * 去除挂掉的windows单测
      9b4fabf9
  7. 29 4月, 2021 1 次提交
  8. 27 4月, 2021 3 次提交
  9. 26 4月, 2021 1 次提交
  10. 25 4月, 2021 3 次提交
    • R
      Cleanup the unused codes for samplecode testing (#32525) · 2328921f
      Ren Wei (任卫) 提交于
      * update testcases
      
      * remove unused codes
      
      * update the docstring for samcd_processor
      
      * no need to import the six module
      
      * 我也不知道为何有一个前导空格,但现在有单元测试,取消这个空格没啥问题
      
      * add unittests for print_signatures; add the first case for 'required' mechanism when executing sample code testing
      
      * there is no paddle installed in PR-CI-APPROVAL
      
      test=document_fix
      2328921f
    • P
      support python39 and delete python35 in Dockerfile (#32385) · 78fc74b0
      pangyoki 提交于
      * support python39 and delete python35
      
      * support python39 in Dockerfile.centos
      
      * fix ubuntu18 bug
      
      * update Dockerfile.ubuntu setuptools
      
      * fix centos py39 errors
      
      * fix centos py39 error2
      78fc74b0
    • W
      paddle.save/load support nested structure and layer (#32446) · 727b28d7
      WeiXin 提交于
      * support save/load binary format tensor
      
      * Fix error when create cudaplace
      
      * Fix error when create cudaplace
      
      * Fix error when create cudaplace
      
      * get devive context from pool.
      
      * move define of 'SerializeToStream' and 'DeserializeFromStream' to 'lod_tensor.cc' and 'selected_rows.cc'.
      
      * support complex object
      
      * improve coverage.
      
      * improve coverage
      
      * improve coverage.
      
      * fix a bug.
      
      * polish API
      
      * save/load program
      
      * paddle.save/load: layer
      
      * deal with conflict
      
      * if PY2, block test_paddle_save_load.TestSaveLoadLayer
      
      * polish code.
      
      * polish code
      
      * edit unnittest
      
      * The condition for object to be identified as state_dict becomes strict
      
      * use 'core._cuda_synchronize'
      727b28d7
  11. 24 4月, 2021 1 次提交
    • R
      print the real name for Functions instead of the ArgSpec (#32379) · ef8671e5
      Ren Wei (任卫) 提交于
      * print the real name for Functions instead of the ArgSpec
      
      class function method
      
      * some API's name is not __module__ + __name__
      
      so, we disard them temporarily.
      
      * update the logging format for console
      
      * ommit the top level of paddle package.
      
      * these APIs have been removed.
      
      test=document_fix
      
      * Another Error occerd
      
      * print_signatures.py 's stdout is redirect to spec file, so should not print any other info.
      
      so sad.
      
      * print the error msg to stderr
      
      * disable the __init__ magic method
      
      * update unittest for sampcd_processor.py
      
      update unittest for sampcd_processor.py
      
      * PR-CI-APPROVAL 's python interpreter name is not 'python3'.
      
      it's a python3.9;
      it does not have paddle installed yet.
      
      此句在CI流水线竟然不可以用。报python3找不到
      此句在CI流水线竟然不可以用。因为环境没有安装paddle
      
      * testing only extract api from __all__
      
      paddle module(the top module) does not have __add__
      test=document_fix
      
      * should import paddle here
      
      * update the mechanism of extractiong and executing for the sample-codes test.
      
      更新抽取代码和执行代码的逻辑
      优化输出打印
      
      * good code style
      ef8671e5
  12. 23 4月, 2021 2 次提交
  13. 21 4月, 2021 2 次提交
  14. 19 4月, 2021 2 次提交
    • L
      [NPU] cherry-pick gc/dataloader/save&load/optimization from ascendrc to develop (#32294) · cbe5c9f8
      Leo Chen 提交于
      * [NPU] support GarbageCollector for npu (#31874)
      
      * support GarbageCollector for npu
      
      * fix typo
      
      * fix gather_grad
      
      * disable NPUDefaultStreamGarbageCollector on NPU
      
      * [NPU] support npu for memcpy op (#31808)
      
      * support npu for memcpy op
      
      * add ut
      
      * fix ut
      
      * fix typo
      
      * 【NPU】fix bug of using temp vector (#31963)
      
      * fix bug when beta1_pow on cpu (#31995)
      
      * [NPU] support npu profiler (#31684)
      
      * support npu profiler
      
      * add python api
      
      * fix bugs
      
      * add wrapper for incomplete type
      
      * update profile proto
      
      * record npu wait
      
      * add xpu placeholder
      
      * fix adam (#32016)
      
      * [NPU] enable async copy and  add wait before sync operation (#31956)
      
      * enable async copy and  add wait before sync operation
      
      * remove unneccessary wait
      
      * add FillNpuTensorWithConstant
      
      * refine
      
      * fix fill_constant
      
      * make TensorFromVector/TensorToVector sync
      
      * [NPU] Support dataloader on npu place. (#31867)
      
      * [NPU] Wait on NPUPlace (#32086)
      
      * [NPU] fix cast op (#32121)
      
      * fix npu kernel of cast op to handle casting to same dtype
      
      * add comments
      
      * [NPU] support cann 20.3 (#32044)
      
      * fix compile problem on cann 20.3
      
      * fix ut
      
      * fix test_mul
      
      * fix check_finite_and_scale
      
      * fix lookup_table_v2_grad
      
      * fix cmake
      
      * support print op
      
      * [NPU] Support npu save load (#31893)
      
      * support save load for NPU
      
      * add save load npu unittest
      
      * support np.array transform in NPU
      
      * fix errors
      
      * delete dygraph in unittest
      
      * add Wait
      
      * fix unittest
      
      * fix review comment
      
      * fix unittest problem
      
      * fix little problem
      
      * change aclrtSynchronizeDevice to aclrtSynchronizeStream for better performance (#32196)
      
      * change aclrtSynchronizeDevice to aclrtSynchronizeStream for better performace
      
      * refine code
      
      * fix NPUDeviceContext in all c++ unittest (#32198)
      
      * fix NPUDeviceContext in all c++ unittest
      
      * refine log
      Co-authored-by: Npangyoki <pangyoki@126.com>
      
      * [NPU] Remove TensorFromVector and avoid sync copy in npu op kernel for better performance (#31994)
      
      * enable async copy and  add wait before sync operation
      
      * remove unneccessary wait
      
      * add FillNpuTensorWithConstant
      
      * refine
      
      * fix fill_constant
      
      * change TensorFromVector to FillNpuTensorWithConstant
      
      * fix ignored api
      
      * delete extra unittest
      
      * fix little error
      
      * fix update_loss_scaling_op_npu and check_finite_and_unscale_op_npu
      
      * change TensorCopySync to TensorCopy
      
      * delete useless Wait and add StreamWait
      
      * fix npu_stream error
      
      * fix check_finite_and_unscale_op_npu TensorCopy
      
      * only save stream wait
      
      * fix NPUDeviceContext in all c++ unittest
      
      * delete wait
      Co-authored-by: Nzhiqiu <chenqiuliang@baidu.com>
      
      * delete useless unittest file (#32206)
      
      * Fix op test (#32231)
      
      * fix conditional block (#32243)
      
      * fix adam bug again (#32246)
      
      * fix compile
      
      * fix ut
      
      * fix ut
      Co-authored-by: Nliym27 <33742067+liym27@users.noreply.github.com>
      Co-authored-by: Npangyoki <pangyoki@126.com>
      cbe5c9f8
    • R
      update `get_api_md5`, using the real api name as the map's key (#32224) · 21dc044a
      Ren Wei (任卫) 提交于
      * get_api_md5 should prefer use the real name rather than the alias names
      
      * case for ArgSpec style. update the unittests
      
      test=document_fix
      21dc044a
  15. 14 4月, 2021 3 次提交
  16. 13 4月, 2021 3 次提交
  17. 12 4月, 2021 2 次提交
  18. 10 4月, 2021 1 次提交
  19. 09 4月, 2021 1 次提交
  20. 07 4月, 2021 2 次提交
    • Y
      Check added ut on windows (#31826) · e09f4db9
      YUNSHEN XIE 提交于
      * added ut check on windows,notest,test=windows_ci
      
      * debug,notest,test=windows_ci
      
      * debug,notest,test=windows_ci
      
      * fix bug,notest,test=windows_ci
      
      * added ut check
      
      * test for new ut add on windows
      
      * test,notest,test=windows_ci
      
      * fix bug,notest,test=windows_ci
      
      * test
      
      * test
      
      * test
      
      * test,notest,test=windows_ci
      
      * test,notest,test=windows_ci
      
      * check added ut on windows
      
      * only fetch upstream develop
      
      * modified according comment
      
      * Update run_unittests.sh
      
      * Update run_unittests.sh
      e09f4db9
    • P
      update name of develop whl package and upgrade gcc 4.8.2 to gcc 5.4 (#31240) · f5186c3c
      pangyoki 提交于
      * update develop whl package name
      
      * distingush cpu and gpu name
      
      * fix ref_gcc
      
      * change whl name
      
      * upgrade gcc 4.8 to 5.4 in ubuntu_dev
      
      * update gcc4.8 to 5.4 in centos
      
      * Upgrade pip from 18.0 to 20.0.1
      
      * change 2.1.0_dev0 to 2.1.0.dev0 in gpu version
      f5186c3c
  21. 03 4月, 2021 1 次提交
  22. 02 4月, 2021 2 次提交
    • Y
      use busybox run test on windows openblas (#31728) · 290be88d
      YUNSHEN XIE 提交于
      * use busybox run test on windows openblas
      
      * fix error
      
      * fix disable_quick and nightly lable issue
      
      * add retry on windows openblas
      
      * fix bug
      
      * use one file to run cpu and gpu tests
      
      * fix with grep warning
      
      * fix syntax error
      
      * change run_unittest to run_unittest_gpu
      
      * Update run_unittests.sh
      
      fix error
      290be88d
    • W
      support save/load single tensor (#31756) · 43367e4b
      WeiXin 提交于
      * support save/load single tensor
      
      * compatibility modification according to unnittest
      
      * Some python2.7 don't have 'copyreg' modules
      
      * Handle a syntax error.
      
      * Dealing with compatibility problems on Mac.
      
      * Dealing with compatibility problems on Mac.
      
      * edit unittest to improve coverage.
      
      * Modify the code according to the review comments
      
      * Reduce redundant code.
      
      * support for static graph loading dygraph state_dict
      
      * edit code according to CI
      
      * edit unittest
      
      * edit unnittest
      
      * delete redundant file
      
      * edit code according to Comments
      
      * edit english doc
      
      * edit english doc
      
      * edit English DOC.
      
      * get/set_tensor->get/set_value; return_numpy=False
      
      * get/set_tensor->get/set_value; return_numpy=False
      
      * edit unnittest
      
      * edit unnittest
      
      * polish code.
      43367e4b