1. 10 1月, 2023 6 次提交
  2. 09 1月, 2023 8 次提交
    • MarDino's avatar
      Add concat optimization (#49540) · 1a0b3661
      MarDino 提交于
      * add concat optimization
      
      * refine
      
      * remove annotation
      
      * use alignas instead of aligned_storage
      1a0b3661
    • HappyHeavyRain's avatar
      Support the 'drop_empty_grad' in of output of backward_ops (#49588) · 36c6c589
      HappyHeavyRain 提交于
      * support the drop_empty_grad in backward
      
      * change code according to yunfei's review suggestion
      36c6c589
    • Q
      add fill/fill_any for kunlun (#49645) · 31ea3231
      QingshuChen 提交于
      31ea3231
    • Y
      [XPU] add einsum fill diagonal and diagonal kernels (#49465) · a5bf156b
      ykkk2333 提交于
      * migrate shaple sgd, split,sign xpu kernels to phi, test=kunlun
      
      * fix dlrm throughput problem, test=kunlun
      
      * add xpu einsum, fill_diagonal, and diagonal kernels, test=kunlun
      a5bf156b
    • 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
    • H
      add C++ api (#49613) · 65d2b4af
      HongyuJia 提交于
      65d2b4af
    • W
      [0 Tensor support] cumprod (#49550) · 50a8b655
      wangzhen38 提交于
      50a8b655
    • L
      Create comm_context and modified static init (#49536) · 04e24e58
      LiYuRio 提交于
      * comm_context and static init
      
      * refactor: move to phi/core/distributed
      
      * refactor: avoid mutable_data usage
      
      * fix: windows sock
      
      * fix: device without nccl
      Co-authored-by: 元无心's avatarWen Sun <syl1887415157@126.com>
      04e24e58
  3. 06 1月, 2023 8 次提交
  4. 05 1月, 2023 7 次提交
  5. 04 1月, 2023 5 次提交
  6. 03 1月, 2023 3 次提交
  7. 31 12月, 2022 1 次提交
  8. 30 12月, 2022 2 次提交
    • H
      [Custom device] Add custom_cpu testcase of custom_relu (#49300) · 69c7edcf
      HongyuJia 提交于
      * add custom_cpu testcase
      
      * update test_custom_device_setup
      
      * update path to custom_runtime
      
      * fix cmd wait
      
      * test Linux only
      
      * setup once
      
      * integrate to one run_cmd
      
      * add pip install
      
      * change timeout
      
      * add debug string
      
      * add debug string
      
      * add debug string
      
      * use os.system and change module name
      
      * add runtime
      
      * add more debug message
      
      * continue debug
      
      * timestamp
      
      * fix testcase import bug
      
      * remove error message
      
      * set TIMEOUT property
      69c7edcf
    • L
      revert phi_static (#49433) · 802c5797
      Leo Chen 提交于
      802c5797