1. 30 4月, 2022 1 次提交
  2. 28 4月, 2022 5 次提交
  3. 27 4月, 2022 3 次提交
  4. 26 4月, 2022 1 次提交
    • C
      [Cherry-pick] Optimize dygraph performance part2 (#42224) · ab24b9c0
      Chen Weihang 提交于
      * Add paddle::variant and replace paddle::any (#42139)
      
      * add variant and replace any
      
      * split attribute
      
      * Optimize dygraph GetExpectedKernelType perf (#42154)
      
      * opt dygraph scheduling
      
      * revert part impl
      
      * fix variant compile error (#42203)
      
      * replace any by variant in infermeta (#42181)
      ab24b9c0
  5. 25 4月, 2022 2 次提交
  6. 22 4月, 2022 1 次提交
  7. 21 4月, 2022 4 次提交
  8. 20 4月, 2022 2 次提交
    • Y
      [Phi] Support construct Scalar by using Non-CPU Tensor (#41765) (#41963) · 3b25afb2
      YuanRisheng 提交于
      * support construct scalar using non-cpu tensor
      
      * fix bugs when run unittest
      
      * fix compile bugs
      
      * fix bugs when run ci
      
      * fix compile bugs
      
      * fix bugs when move copy
      
      * perfect unit test
      
      * perfect unittest
      
      * update according to comment
      
      * add target dependency
      
      * deal with conflict
      
      * fix bugs when run unit test
      
      * fix unit test bugs
      3b25afb2
    • A
      [Cherry-Pick]Fix expand_sig infershape BUG under static graph mode and... · 93f0e594
      Aurelius84 提交于
      [Cherry-Pick]Fix expand_sig infershape BUG under static graph mode and NeedTransformPlace behavior if set skip_transform in yaml (#41973)
      
      * [Phi]Fix expand_sig infershape BUG under static graph mode (#41936)
      
      * [Phi]Fix expand_sig infershape BUG under static graph mode
      
      * [Phi]Fix expand_sig infershape BUG under static graph mode
      
      * [Phi]Fix unittest
      
      * [Phi]Fix unittest
      
      * [Eager]Fix NeedTransformPlace behavior if set skip_transform in yaml (#41920)
      
      * [Eager]Fix NeedTransformPlace behavior if set skip_transform in yaml
      
      * add unittest for full_like
      
      * fix unittest
      93f0e594
  9. 19 4月, 2022 6 次提交
  10. 18 4月, 2022 4 次提交
    • C
      [Phi]Reduce kernels into multiply files (#41747) (#41854) · 688f4ec0
      chentianyu03 提交于
      * split reduce_kernel
      
      * rm reduce_kernel in cmake
      
      * split reduce_grad kernels
      
      * fix cmake build error
      
      * format code
      
      * fix standalone_executor_test error
      688f4ec0
    • Z
      [DoubleGrad] Enabled double grad test cases in eager_mode for... · a367fbab
      Zhanlue Yang 提交于
      [DoubleGrad] Enabled double grad test cases in eager_mode for test_imperative_double_grad (#41451) (#41893)
      
      * [DoubleGrad] Enabled double grad test cases in eager_mode for test_imperative_double_grad
      
      * Fixed elementwise issue
      
      * Addressed CI failures
      a367fbab
    • J
      Add eager string tensor (#41039) (#41839) · 623f8308
      Jack Zhou 提交于
      * Add core.eager.StringTensor __init__ which pyarray args can be passed
      
      * Add the numpy method of core.eager.StringTensor
      
      * revert tensor.to_string modification
      
      * Add ToPyObject for core.eager.StringTensor
      
      * Add debug string for core.eager.StringTensor
      
      * Remove place args of core.eager.StringTensor temporarily
      
      * Fix check string_tensor error
      
      * remove dtype of core.eager.StringTensor
      
      * add core.eager.StringTensor unittest
      
      * remove pstring from VarDesc
      
      * Add InitStringTensorWithStringTensor
      
      * Remove to_string modification
      
      * Remove zero_copy arg from StringTensor creator
      623f8308
    • C
      [Cherry-pick] Organize the API of custom operators (#41882) · 897911fc
      Chen Weihang 提交于
      * [Phi&CustomOp] Remove deprecated enum PlaceType for custom op & add warning (#41647)
      
      * remove old custom op placetype
      
      * replace dist  placetype using
      
      * add with gpu macro
      
      * fix mutable_data error
      
      * fix set value error
      
      * add comment
      
      * remove all is initialized using (#41766)
      
      * remove inner_place using (#41768)
      
      * polish tensor depreacted method warning (#41807)
      
      * [CustomOp] Fix PlaceType related compat error (#41826)
      
      * fix place type related compat error
      
      * fix test failed
      
      * remove dll decl
      
      * revert place type change
      
      * add dll decl
      
      * resolve conflict
      897911fc
  11. 15 4月, 2022 4 次提交
  12. 14 4月, 2022 5 次提交
    • C
      [CustomOp]Add new method for custom double grad (#41538) (#41781) · 76d5483a
      Chen Weihang 提交于
      * add new method for custom double grad
      
      * add tanh double grad unittest
      
      * change year
      
      * revert tensor init method
      76d5483a
    • C
      [CustomOp] Add context pool unittests (#41085) (#41782) · 5450e42c
      Chen Weihang 提交于
      * add context pool unittests
      
      * fix timeout
      
      * polish details
      
      * change option pos
      
      * add dll decl for wndows
      
      * fix pre-commit error
      
      * move dll_decl and export DeviceContext
      
      * replace lost dll_decl.h
      5450e42c
    • C
      Cherry pick final state ops (#41755) · 921a6fb7
      chentianyu03 提交于
      * [Yaml]add exp yaml (#41217)
      
      * add exp yaml
      
      * add exp api in test case
      
      * add determinant yaml
      
      * fix exp op unittest
      
      * change test class name
      
      * modify api name
      
      * compacted with raw api
      
      * fix det api
      
      * add python_api
      
      * add test eager for determinant op
      
      * [Yaml] Add assign yaml (#41428)
      
      * add assign yaml
      
      * add assign api
      
      * add assign backward api
      
      * add assign
      
      * add assign yaml
      
      * add assign
      
      * assign yaml
      
      * add assign raw kernel and use assign_raw in yaml
      
      * merge develop branch
      
      * add missing python_api
      
      * exchange assign and assign_raw kernel name (#41625)
      
      * exchange assign and assign_raw kernel name
      
      * fix register error
      
      * [Yaml]add gaussian_random yaml and test case (#41312)
      
      * add guassian random yaml
      
      * add gaussian_random yaml and test case
      
      * fix error modify of full yaml
      
      * import in_dygraph_mode
      
      * import _in_legacy_dygraph
      
      * add place arg in api
      
      * import __current_expected_place
      
      * fix test_egr_python_api failed case
      
      * add test case
      
      * add cast for NormalInitializer
      
      * fix test error
      
      * fix test error
      
      * rm unsed check code
      
      * fix test error in test_initializer_nn
      
      * modify by review
      
      * [Phi]fix split error when sections has 0 size and add test case (#41708)
      
      * fix split error when sections has 0 size and add test case
      
      * fix test case
      921a6fb7
    • W
      add fp16 kernel to clip_grad (#41675) · d447c678
      wuyefeilin 提交于
      d447c678
    • R
      [Cherry pick] Add some final state OPs (#41737) · 33583dde
      Ruibiao Chen 提交于
      * Add yaml for matrix rank op (#41466)
      
      * modify matrix_rank
      
      * add matrix_rank shape
      
      * add matrix_rank shape
      
      * Add yaml for matrix_rank OP
      
      * Add UT
      Co-authored-by: Nzhoujianqian <15205085056@163.com>
      
      * Add yaml for eye OP (#41476)
      
      * [cherry-pick] Add yaml config for matrix_rank, eye, deformable_conv and
      deformable_conv_v1 OPs
      * Add yaml for deformable_conv and deformable_conv_v1 OPs
      
      * Add UT
      
      * Add to skipped_phi_api list for infrt
      Co-authored-by: Nzhoujianqian <15205085056@163.com>
      33583dde
  13. 13 4月, 2022 2 次提交