1. 19 4月, 2022 3 次提交
  2. 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
  3. 15 4月, 2022 4 次提交
  4. 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
  5. 13 4月, 2022 3 次提交
  6. 12 4月, 2022 6 次提交
  7. 11 4月, 2022 3 次提交
    • A
      fix running error for ipu (#41533) · 664199aa
      Allen Guo 提交于
      cherry from #41481
      664199aa
    • H
      add depthwise conv hip support (#41537) (#41603) · 676c960c
      hong 提交于
      676c960c
    • C
      [Cherry-pick] Add truncated_normal/unique/swish/unbind yaml and polish Getting... · b2e095c4
      Chen Weihang 提交于
      [Cherry-pick] Add truncated_normal/unique/swish/unbind yaml and polish Getting tensor place impl (#41539)
      
      * [Phi] Polish truncated normal kernel and add yaml (#41280)
      
      * polish truncated normal kernel
      
      * add yaml
      
      * add truncated normal kernel and add yaml
      
      * polish unittests and yaml
      
      * import dygraph mehtod
      
      * add unique yaml and final state api (#41460)
      
      * fix get tensor backend set bug (#41478)
      
      * [Phi] Add unbind yaml and final state api (#41277)
      
      * add unbind yaml
      
      * fix unittest
      
      * [Phi] Add swish yaml and final state api (#41479)
      
      * add swish yaml and final state api
      
      * skip mkldnn test
      
      * fix grad mkldnn test
      
      * add cherry-pick lost code
      b2e095c4
  8. 08 4月, 2022 1 次提交
  9. 07 4月, 2022 3 次提交
  10. 06 4月, 2022 3 次提交
    • Z
      Add some op yaml (#41173) · 176df91c
      zyfncg 提交于
      * add real and imag yaml
      
      * add roi_align and roi_pool yaml
      
      * add qr yaml
      
      * add psroi_pool yaml
      
      * fix bug
      
      * fix param bug of psroi_pool
      
      * fix infrt problem
      
      * fix merge bug
      176df91c
    • H
      Add conv yaml (#41354) · 7ed7c6c7
      hong 提交于
      * update
      
      * add conv yaml
      
      * add backward
      
      * remove useless code
      
      * fix bug
      
      * fix bug
      
      * revert fluid dygraph conv2d
      
      * remove useless infermeta function
      
      * fix meta fn deluplicat error
      
      * conv using custom impl
      
      * remove amp include
      
      * fix bug
      
      * use cudnn = true
      
      * fix test mkldnn caching bug
      7ed7c6c7
    • X
      [Dygraph TestsFix] Test some tests in new dygraph final_state mode. (#41363) · 0b96793e
      xiongkun 提交于
      * fix less than
      
      * fix some tests
      
      * fix additional 3 unittest case
      0b96793e
  11. 05 4月, 2022 5 次提交
    • Z
      Fix bug of data transform in inference executor (#41349) · 91212104
      zyfncg 提交于
      * fix bug of data transform in inference executor
      
      * fix bug
      91212104
    • Y
      [Phi]Add mean/momentum yaml (#41319) · fac7fd42
      YuanRisheng 提交于
      * move yaml
      
      * add momentum yaml
      
      * delete code
      
      * delete some code
      
      * add meshgrid backward
      
      * delete code
      
      * fix compile bugs
      fac7fd42
    • Z
      [DoubleGrad PR #8] Enabled triple grads for sigmoid and matmul (#41387) · d8a10977
      Zhanlue Yang 提交于
      * [Refactor] refactored eager_gen.py PR #2
      
      * [DoubleGrad PR #1] Decoupled code generation logics for Dygraph ForwardFunctions and GradNodes
      
      * Fixed minor issue
      
      * Adjusted logics of GenerateNodeCreationCodes and GenerateForwardDefinition
      
      * Fixed issues
      
      * Supported higher-order grad node generation
      
      * [DoubleGrad PR #4] Supported higher-order GradNode generation
      
      * [DoubleGrad #4] Bug Fixes to Double Grad Node Generation
      
      * Fixed yaml typo
      
      * Fixed yaml typo
      
      * fixed minor issues
      
      * [DoubleGrad PR #5] Enabled gradient computations for grad_tensors passed to paddle.grad()
      
      * Fixed minor issue
      
      * Fixed CI-Inference issue
      
      * Fixed CI-inference issues
      
      * [DoubleGrad PR #7] paddle.grad() to copy backward graph before backward run
      
      * Fixed minor issues
      
      * Fixed issue with backward graph construction logic
      
      * Fixed implementation issues with backward graph reconstruction
      
      * Fixed unittest issue
      
      * Fixed issues
      
      * [DoubleGrad PR #8] Enabled triple grads for sigmoid and matmul
      
      * Fixed issues with phi kernel
      
      * Added triple grad test case
      
      * Fixed minor issue
      d8a10977
    • Y
      move meshgrid yaml (#41411) · 870402fd
      YuanRisheng 提交于
      870402fd
    • G
      add new format of quantization (#41041) · b72a7ebb
      Guanghua Yu 提交于
      b72a7ebb