1. 18 8月, 2023 3 次提交
    • C
      [PRIM][IR]Support prim in new ir (#56342) · 2b5466f9
      Charles-hit 提交于
      * support ir api form prim
      
      * convert vector of int to intarray
      
      * support ir api for prim
      
      * support vjp prim mode in new ir
      
      * remove useless code
      
      * add test for prim
      
      * modify utils
      
      * remove useless code
      
      ---------
      Co-authored-by: Ncyber-pioneer <chenzhuo@tju.edu.cn>
      2b5466f9
    • L
      [Inference] Make share_external_data supports bf16 and bool; fix while_op... · c65ef07c
      lzy 提交于
      [Inference] Make share_external_data supports bf16 and bool; fix while_op cache_inference_while_scope when using fleet_executor. (#56055)
      
      * 1. make share_external_data supports bf16 and bool; 2. don't drop_kids when cache_inference_while_scope
      
      * fix FLAGS_cache_inference_while_scope
      
      * add unitest
      
      * add unitest
      
      * skip unitest when cudnn_version < 8100
      
      * skip test share_external_data_bf16 when CUDA_ARCH < 80
      c65ef07c
    • H
      [NewIR] new ir support assert op (#56353) · 7f5c14bc
      hong 提交于
      * fix op translator reshape type
      
      * update
      
      * new ir support vector type place transfer
      
      * add test case
      
      * update
      
      * revert code
      
      * add test assert new ir test
      
      * update
      
      * update
      7f5c14bc
  2. 17 8月, 2023 8 次提交
    • K
      [NewIR] fix shadow output translator (#56365) · 22a11a60
      kangguangli 提交于
      * fix shadow output translator
      
      * fix coverage ci
      22a11a60
    • X
      【New IR】 backward gradients accumulate test and pulish append_backward_ops... · b1573431
      xiaoguoguo626807 提交于
      【New IR】 backward gradients accumulate test and pulish append_backward_ops func for op_pattern  (#56265)
      
      * [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
      
      * backward origin code
      
      * add test for mean vjp and support has_vjp function
      
      * fix call_vjp
      
      * polish code
      
      * add attrs and dtype interface
      
      * add primitive ops set for backend
      
      * fix compile bugs
      
      * fix some bugs
      
      * fix windows bugs
      
      * add vjp test for tanh_
      
      * fix inference CI
      
      * fix inference ci
      
      * modify fluid cmake
      
      * origin test of tanh and mean passed
      
      * fix conflict
      
      * modify stop_gradient
      
      * remove useless deps
      
      * add cmake
      
      * modify block.ops
      
      * modify test
      
      * fix conflict
      
      * reply review comments
      
      * reply review comments
      
      * pulish code
      
      * fix comment
      
      * fix test
      
      * polish code
      
      * modify backward stop_gradients
      
      * modify static_backend.cc
      
      * refactor grad_op
      
      * support add and add_inplace vjp
      
      * remove useless code
      
      * remove useless code
      
      * remove cout
      
      * modify add_n
      
      * modify add_n with add_vjp test
      
      * modify add_n with add_vjp test
      
      * fix conflict and concat call_vjp
      
      * modify backward test
      
      * Add more gen api
      
      ---------
      Co-authored-by: Ncxxly <chenxx_id@163.com>
      Co-authored-by: NCharles-hit <wanghao107@baidu.com>
      Co-authored-by: Nzhangbo9674 <zhangbo54@baidu.com>
      Co-authored-by: NYuanRisheng <yuanrisheng@baidu.com>
      Co-authored-by: N0x45f <wangzhen45@baidu.com>
      b1573431
    • H
      【complex op】 No.34 add complex support for dot (#56349) · 920c66e9
      huangjiyi 提交于
      * update
      
      * fix codestyle
      
      * update
      
      * update
      920c66e9
    • S
      Support control flow for static build [Step 1: support subgraph] (#56185) · dcfe2f1a
      Sonder 提交于
      * remove execution_config.used_for_control_flow_op
      
      * update
      
      * update
      
      * open static build flag
      
      * close static build flag
      
      * open static build flag
      
      * add searchsorted to analyze dtype list
      
      * recover and add test_searchsorted_op to static build list
      
      * Update CMakeLists.txt
      
      * Update CMakeLists.txt
      dcfe2f1a
    • X
      [Dy2static] support set_value_op in static mode by _jst.Ld() (#56028) · d3f98088
      xiongkun 提交于
      * Fix and add unittest
      
      * don't introduce assign when already in global block.
      
      * fix more
      
      * fix bugs
      
      * fix bugs
      
      * fix ci
      
      * fix bfgs
      
      * make function local
      d3f98088
    • C
      [Prim] Add prim backward blacklist (#56320) · a82c56a0
      cyber-pioneer 提交于
      * support setting backward prim blacklist
      
      * add test case
      
      * polish prim forward flag
      
      * fix test case
      a82c56a0
    • M
      Add MarkTrtEngineOutputs API (#56188) · 2abf4326
      ming1753 提交于
      * [paddle-TRT] support mark output
      
      * [fix bug] hook function only call one in different predictor
      
      * add api test
      2abf4326
    • Z
      add lu_unpack data check (#56311) · 6fdb316c
      zhiboniu 提交于
      * add lu_unpack data check
      
      * add error input api test
      
      * add error type info
      6fdb316c
  3. 16 8月, 2023 14 次提交
  4. 15 8月, 2023 8 次提交
  5. 14 8月, 2023 7 次提交