1. 07 9月, 2023 1 次提交
  2. 06 9月, 2023 3 次提交
  3. 05 9月, 2023 1 次提交
  4. 04 9月, 2023 1 次提交
    • Z
      [IR] Support inplace pass (#56672) · 67c84c45
      zhangbo9674 提交于
      * add code
      
      * add code
      
      * refine code
      
      * add code
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * add code
      
      * add ut
      
      * polish code
      
      * fix bug
      
      * refine code
      
      * fix bug
      
      * refine code
      
      * fix bug
      
      * refine code
      
      * fix bug
      
      * refine code
      
      * fix bug
      
      * refine code
      
      * add code
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * refine code
      67c84c45
  5. 02 9月, 2023 1 次提交
  6. 31 8月, 2023 3 次提交
  7. 29 8月, 2023 2 次提交
  8. 28 8月, 2023 3 次提交
  9. 25 8月, 2023 3 次提交
  10. 24 8月, 2023 4 次提交
  11. 23 8月, 2023 2 次提交
    • L
      Integrate TRT qdq layers (#54803) · ae84c603
      Leo Chen 提交于
      * Integrate quantize/dequantize linear and add config for explicit quantization
      
      * Fix the build error
      
      * Add macro for TRT version < 8.0
      
      * Remove qdq UT from windows
      
      * Fix UT failure
      
      * Check TRT version in qdq UT
      
      * Test tensorrt_explicit_enabled API
      
      * Disable QDQ UT if TRT version < 8.5
      
      * Add quantization postfix into public APIs
      
      * Apply code formatter
      
      * Fix the UT failure for explicit quantization
      
      * Apply code formatter on modified files
      
      * Correct the year in copyright
      ae84c603
    • T
      b8d7f801
  12. 22 8月, 2023 2 次提交
  13. 21 8月, 2023 2 次提交
  14. 17 8月, 2023 2 次提交
    • 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
  15. 16 8月, 2023 3 次提交
  16. 15 8月, 2023 2 次提交
  17. 14 8月, 2023 2 次提交
  18. 11 8月, 2023 3 次提交
    • C
      [PRIM][IR]fix comment for vjp (#56137) · 533b62ff
      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
      
      * remove useless code
      
      ---------
      Co-authored-by: Ncxxly <chenxx_id@163.com>
      Co-authored-by: Nzhangbo9674 <zhangbo54@baidu.com>
      533b62ff
    • X
      【New IR] delete print program in test and delete add_n attribute c++ interface... · eadc5d07
      xiaoguoguo626807 提交于
      【New IR] delete print program in test and delete add_n attribute c++ interface to reply #56080 (#56120)
      
      * refine program translator
      
      * fix warning: not override
      
      * fix bug
      
      * merge new modifications
      
      * modify by reviews
      
      * resolve conflicts
      
      * resolve conflicts
      
      * fix
      
      * fix
      
      * fix conflicts
      
      * pseudocode of backward
      
      * modify test
      
      * modify register op
      
      * clear other code
      
      * modify ci build bug
      
      * reply review comments
      
      * reply review comments
      
      * delete print and add_n c++ interface
      
      ---------
      Co-authored-by: Nkangguangli <kangguangli@hotmail.com>
      eadc5d07
    • D
      repacle fluid.io.load_inference_model, fluid.io.save_inference_model in fluid... · bfc64801
      Difer 提交于
      repacle fluid.io.load_inference_model, fluid.io.save_inference_model in fluid with 2.0 version  (#55345)
      
      * repacle fluid.io.load_inference_model
      
      * replace fluid.io.save_inference_model
      
      * fix some bug
      
      * fix some bugs of load & save model
      
      * fix some bug
      
      * fix test_inference_model_io bug
      
      * fix word2vec_inference_model bug
      
      * fix some bug
      
      * fix valueError bug
      
      * fix some bug
      
      * fix a warning error
      
      * for debug
      
      * for debug
      
      * fix io error
      
      * fix test_wordvec_book error
      
      * remove debug print
      
      * fix load_var bug
      
      * for debug cinn test
      
      * revert cinn & fix inference_pass_test in windows
      
      * fix some bugs
      
      * revert cinn & fix inference_pass_test in windows
      
      * for debug vars
      
      * for debug
      
      * fix quant_dequant_test
      
      * fix some path errors
      
      * remove fluid save/load
      
      * fix incubate-fleet save
      
      * move some from fluid.io to static.io
      bfc64801