1. 16 8月, 2023 13 次提交
    • J
      add range support in indexing (#56272) · 02a7b3cc
      JYChen 提交于
      * add range support in indexing
      
      * add getitem ut case
      02a7b3cc
    • C
      [PRIM][IR]support add vjp (#56163) · 84482da8
      Charles-hit 提交于
      * [prim][newir] add basic framework for primitive
      
      * support desctensor in new ir
      
      * add vjp interface
      
      * support vjp in new ir
      
      * support vjp in new ir
      
      * polish vjp interface
      
      * fix stop_gradients set
      
      * fix vjp dispatch
      
      * add comment
      
      * add vjp test for new ir
      
      * add test for tanh vjp
      
      * [prim][newir] add basic framework for primitive
      
      * support desctensor in new ir
      
      * support vjp in new ir
      
      * support vjp in new ir
      
      * polish vjp interface
      
      * fix stop_gradients set
      
      * fix vjp dispatch
      
      * add comment
      
      * add vjp test for new ir
      
      * add test for tanh vjp
      
      * add eager and static backend for warp lower level api
      
      * support call_vjp pybind
      
      * polish code and add test for vjp
      
      * remove useless code
      
      * polish code
      
      * remove useless code
      
      * support mean vjp
      
      * add test for mean vjp and support has_vjp function
      
      * fix call_vjp
      
      * polish code
      
      * add primitive ops set for backend
      
      * add vjp test for tanh_
      
      * fix inference CI
      
      * fix inference ci
      
      * modify fluid cmake
      
      * remove useless deps
      
      * add cmake
      
      * fix comment
      
      * fix test
      
      * polish code
      
      * modify backward stop_gradients
      
      * modify static_backend.cc
      
      * support add and add_inplace vjp
      
      * remove useless code
      
      * remove useless code
      
      * remove cout
      
      * remove cout
      
      * fix add_grad
      
      * fix add test exe
      
      ---------
      Co-authored-by: Ncxxly <chenxx_id@163.com>
      Co-authored-by: Nzhangbo9674 <zhangbo54@baidu.com>
      84482da8
    • 【CINN】Remove if_simplify and rewrite block_simplify (#56307) · d0224b83
      傅剑寒 提交于
      * remove if_simplify and rewrite block_simplify
      
      * delete unused if_simplify
      d0224b83
    • P
      [xdoctest] reformat example code with google style No.102-104 (#56124) · f272d693
      PommesPeter 提交于
      * fix: updated code examples.
      
      * fix: updated blank lines.
      
      * fix: updated code style
      
      * fix: removed extra changes
      
      * fix: refine detail
      f272d693
    • C
      [AutoParallel] Dygraph basic impl for semi auto parallel (#55698) · 7039bef3
      Chen Weihang 提交于
      * add phi forward api gen impl
      
      * add phi backward gen code
      
      * polish api code gen impl
      
      * polish code gen impl
      
      * remove auto_paralel namespace
      
      * add dygraph forward impl
      
      * add for_auto_parallel cond
      
      * fix code gen errors
      
      * add dygraph backward impl
      
      * resolve conflict with develop
      
      * refactor dist api gen impl
      
      * revert origin api gen impl
      
      * replace template for override func
      
      * fix dnnl marco error
      
      * revert third_party change
      
      * add with distributed marco
      
      * Update grad_tensor_holder.cc details
      
      * merge dist tensor constructor
      
      * change test tensor to replicate
      
      * fx typo
      
      * resolve conflict with develop
      
      * fix out dim error
      7039bef3
    • H
      [NewIR]New ir support c concat (#56243) · fcde3991
      hong 提交于
      * support new ir load combine
      
      * update
      
      * polish code
      
      * remove print
      
      * support c concat
      
      * update
      
      * polish code
      
      * fix bug
      
      * polish code
      
      * fix compile bug
      
      * polish code
      
      * remove useless code
      fcde3991
    • C
      [xdoctest][task 108] Reformat example code with google style in... · 9dfd5d60
      Candy2Tang 提交于
      [xdoctest][task 108] Reformat example code with google style in python/paddle/optimizer/lbfgs.py (#56224)
      
      * [xdoctest][task 108] test=docs_preview
      
      * Apply suggestions from code review
      
      ---------
      Co-authored-by: NNyakku Shigure <sigure.qaq@gmail.com>
      9dfd5d60
    • R
      [CI]install python_library_into_ci_image (#56252) · 61dd9844
      risemeup1 提交于
      * install python_library_into_ci_image
      
      * install python libraries into image
      
      * install python libraries into image
      
      * install library into image
      61dd9844
    • Z
      Fix CI error of resnet test with prim/cinn/prim+cinn in CUDA11.8 (#56105) · 2aa738c1
      Zhang Zheng 提交于
      * Fix CI error of resnet test with prim/cinn/prim+cinn
      
      * fix
      
      * fix ref_result
      2aa738c1
    • Z
      make params_grads order same bewteen dynamic and auto_parallel (#56126) · 496422e9
      zhaoyingli 提交于
      * make params_grads order same bewteen dynamic and static mode
      
      * revert inplace clip
      
      * use sorted attribute to control
      
      * tiny fix
      
      * fix find loss_grad_op
      496422e9
    • M
      Mingyan.w (#56065) · 70a009ee
      Minner Wang 提交于
      Fixed a bug in the if (!id_hint.empty()) code block by adding missing code to correctly modify id_hint.
      70a009ee
    • W
      add tensor doc (#55917) · faeb0239
      wanghuancoder 提交于
      * add tensor doc
      faeb0239
    • C
      [xdoctest][task 120] Reformat example code with google style in... · e2cc32eb
      Candy2Tang 提交于
      [xdoctest][task 120] Reformat example code with google style in python/paddle/quantization/observers/abs_max.py (#56231)
      Co-authored-by: NNyakku Shigure <sigure.qaq@gmail.com>
      e2cc32eb
  2. 15 8月, 2023 27 次提交