1. 09 1月, 2023 1 次提交
    • J
      Prim paddle Basic (#49272) · 2f601282
      Jiabin Yang 提交于
      * proto type of composite grad in paddle
      
      * proto type of composite grad in paddle
      
      * refactor composite api with phi
      
      * fix compile error
      
      * support static graph code-gen for squeeze op
      
      * generate static graph code of unsqueeze
      
      * refine op name
      
      * fix compile error
      
      * add extra output in op_compat
      
      * remove debug log
      
      * fix clang compile error
      
      * support prim switch flag
      
      * support prim switch flag
      
      * fix dygraph error
      
      * merge develop
      
      * add code_gen
      
      * add necessary files without codegen
      
      * fix code_gen bug
      
      * add deps
      
      * modify igmnore
      
      * add ignore
      
      * delete std cout
      
      * add composite logic for backward.py
      
      * add tanh first order grad composite
      
      * support enable_prim flag for static graph
      
      * throw expection when both GrapOpMaker and GradCompOpMaker not been registered
      
      * reorganize the directory of prim api tests
      
      * fix windows error
      
      * add eager_utils
      
      * add eager_utils
      
      * modify code gen
      
      * add composite parse
      
      * add unittest for get_grad_op_desc
      
      * code optimize
      
      * fix static test on windows
      
      * support generate static graph code for imag and real op
      
      * fix windows compile error in test_static_prim
      
      * merge develop
      
      * disable test eager in inference
      
      * prim code gen
      
      * disable eager compile in inference
      
      * rm other file
      
      * rm gitignore file
      
      * code_style
      
      * add eager test
      
      * code_style
      
      * merge develop
      
      * remove useless files
      
      * modify static test
      
      * support bool flag from singlton
      
      * merge develop
      
      * recover git ignore
      
      * fix conflict
      
      * recover git ignore for generated op
      
      * fix test compile error
      
      * remove some tests
      
      * add python test
      
      * fix some name issue
      
      * add composite code gen
      
      * modify backward yaml
      
      * fix static composite grad maker code gen
      
      * remove addtional files
      
      * add some static funcs unit test
      
      * fix some bugs
      
      * fix composite grad maker register code gen
      
      * optimize some functions
      Co-authored-by: Nzyfncg <zhangyunfei07@baidu.com>
      Co-authored-by: Nwangruting <wangruting@baidu.com>
      Co-authored-by: Ncxxly <chenxx_id@163.com>
      Co-authored-by: Ncharles-hit <wanghao107@baidu.com>
      Co-authored-by: Nxiaoguoguo626807 <100397923+xiaoguoguo626807@users.noreply.github.com>
      2f601282
  2. 05 1月, 2023 2 次提交
  3. 30 12月, 2022 1 次提交
  4. 28 12月, 2022 1 次提交
  5. 23 12月, 2022 1 次提交
  6. 20 12月, 2022 1 次提交
    • HappyHeavyRain's avatar
      Generate static graph code of some ops (#49092) · 11d7026b
      HappyHeavyRain 提交于
      * generate static graph code of some ops
      
      * change the default value of 'num' of 'unstack'
      
      * revert the pow
      
      * fix the 'real' 'imag' op error because of 'complex'
      
      * fix the code according to review
      11d7026b
  7. 13 12月, 2022 1 次提交
  8. 12 12月, 2022 1 次提交
  9. 09 12月, 2022 1 次提交
  10. 05 12月, 2022 1 次提交
  11. 02 12月, 2022 1 次提交
    • J
      [Eager] Optimize Grad by prune useless branch (#47827) · d1e93be1
      Jiabin Yang 提交于
      * [Eager] Fix paddle.grad interface
      
      * [Eager] Support minimum SubGraph for GeneralGrad
      
      * Add needed_nodes to prune grad graph more thoroughly
      
      * [Eager] Add grad_node_trans_mapping_ to record which grad_node has been transformed to AccumulationNode
      
      * [Eager] Fix paddle.grad interface
      
      * Polish code
      
      * remove potential_stop_node
      
      * Add endding_nodes to enhance genSugraph logic
      
      * clear endding_nodes_
      
      * polish code
      
      * rename endding_nodes to endding_nades_
      
      * Refactor grad interface
      
      * Add register_hook case to fix coverage-ci
      
      * Fix code format
      
      * Refactor general_grad
      
      * Add more code comments
      
      * call clear directly to release GradSlotMeta
      
      * fix a mistake
      
      * fix matmul/ multiply kernel logic and optional input in yaml, fill zeros logic and so on.
      
      * fix batch_norm_double_grad yaml optional config
      
      * fix tanh_triple_grad yaml and kernels
      
      * fix MultiplyTripleGradKernel optional logic
      
      * fix merge mistake
      
      * fix compile error
      
      * remove legacy attr for bn
      
      * polish code
      
      * fix some kernel
      
      * merge develop
      
      * fix error
      
      * remote log
      
      * fix kernel with full like
      
      * hide value log behind
      
      * hide value log behind
      
      * fix matmul_triple grad
      Co-authored-by: NWeilong Wu <veyron_wu@163.com>
      d1e93be1
  12. 29 11月, 2022 1 次提交
  13. 28 11月, 2022 1 次提交
  14. 17 11月, 2022 1 次提交
  15. 14 11月, 2022 1 次提交
  16. 11 11月, 2022 1 次提交
  17. 09 11月, 2022 2 次提交
  18. 04 11月, 2022 2 次提交
  19. 02 11月, 2022 1 次提交
  20. 01 11月, 2022 1 次提交
  21. 31 10月, 2022 1 次提交
  22. 28 10月, 2022 2 次提交
  23. 24 10月, 2022 1 次提交
  24. 19 10月, 2022 1 次提交
  25. 12 10月, 2022 1 次提交
  26. 19 9月, 2022 1 次提交
  27. 14 9月, 2022 1 次提交
  28. 16 8月, 2022 1 次提交
    • S
      [geometric]Add paddle.geometric.send_uv API (#44848) · 88724a53
      Siming Dai 提交于
      * initial commit
      
      * fix op maker bug
      
      * fix mul grad bug
      
      * add unittest
      
      * fix add grad bug, add cpu kernel
      
      * add paddle.geometric.message_passing
      
      * add paddle.geometric.send_uv api, add unittest
      
      * add fp16 judgement
      
      * fix file typo, move compute_type to message_op
      
      * add impl file
      
      * fix unittest timeout time
      
      * add review revise
      88724a53
  29. 09 8月, 2022 1 次提交
  30. 05 8月, 2022 1 次提交
    • F
      move fft kernels to phi (#44714) · 153f1138
      Feiyu Chan 提交于
      * move fft kernels to phi, done with cufft, pocketfft, mkl_cdft, hipfft
      * make stft_op use fft from phi/kernels/funcs, clean code
      153f1138
  31. 28 7月, 2022 1 次提交
    • C
      Move api(lgamma) from legacy_api.yaml to api.yaml (#44355) · 511a2c1c
      Charles-hit 提交于
      * Move api(lgamma) from legacy_api.yaml to api.yaml
      
      * Move api(lgamma) from legacy_api.yaml to api.yaml
      
      * Move api(lgamma) from legacy_api.yaml to api.yaml
      
      * modify code style
      
      * add x to X mapping
      
      * add definition of lgamma
      
      * delete redundant lgamma definitions
      
      * Modify code comments
      
      * Modify ops.py code format
      
      * add lgamma  single test and lgamma api in fluid
      
      * Optimized lgamma unittest
      511a2c1c
  32. 19 7月, 2022 1 次提交
    • W
      [Phi] Migrate infermeta and add yaml for solve op (#44379) · 5dfb87d9
      Weilong Wu 提交于
      * migrate solve kernel to phi
      
      * re useless header file, fix a bug in grad_kernel_impl
      
      * add header file in need
      
      * add yaml for solve op
      
      * fix solve_sig.cc ArgumentMapping and update tests case
      
      * disable legacy dygraph check in op_test
      
      * rm solve_op.cc / solve_sig.cc and migrate yaml config
      
      * Update op_test.py
      
      disable legacy dygraph check when check_eager is True
      5dfb87d9
  33. 14 7月, 2022 1 次提交
  34. 01 7月, 2022 1 次提交
  35. 30 6月, 2022 1 次提交
  36. 29 6月, 2022 1 次提交