- 24 8月, 2023 1 次提交
-
-
由 csy0225 提交于
-
- 23 8月, 2023 2 次提交
-
-
由 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
-
由 Travis-Lee 提交于
-
- 22 8月, 2023 2 次提交
-
-
由 bukejiyu 提交于
* modify tensorrt ci timeout * activation ci bug fix * Update CMakeLists.txt * Update CMakeLists.txt * comment out int8 mode test_trt_dynamic_shape_groupnorm * fix test_sync_batch_norm_op Segmentation fault * fix timeout * Update CMakeLists.txt
-
由 Yuanle Liu 提交于
-
- 21 8月, 2023 2 次提交
-
-
由 Lu Qi 提交于
-
由 xiaoguoguo626807 提交于
* support ir api form prim * convert vector of int to intarray * support ir api for prim * Add more gen api * concat python api to concat_grad * fix gen conflict * support vjp prim mode in new ir * remove useless code * add vjp autogen v1.0 * add test for prim * resolve type conflict * modify utils * remove useless code * add split op and modify some bug of vectorType * fix conflict * add concat python test --------- Co-authored-by: Ncyber-pioneer <chenzhuo@tju.edu.cn> Co-authored-by: NCharles-hit <wanghao107@baidu.com> Co-authored-by: N0x45f <wangzhen45@baidu.com> Co-authored-by: Nchenzhiyang <1792266893@qq.com> Co-authored-by: NChen Zhiyang <chenzhiyang99@126.com>
-
- 17 8月, 2023 2 次提交
-
-
由 kangguangli 提交于
* fix shadow output translator * fix coverage ci
-
由 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>
-
- 16 8月, 2023 3 次提交
-
-
由 hong 提交于
* fix op translator reshape type * new ir support vector type place transfer * add test case
-
由 kangguangli 提交于
* fix inset get_parameter op bug * fix bug: insert only for parameters * fix bug: wrong idx in vector --------- Co-authored-by: Nzhangbo9674 <zhangbo54@baidu.com>
-
由 jiangfan06 提交于
-
- 15 8月, 2023 2 次提交
- 14 8月, 2023 2 次提交
-
-
由 Leo Chen 提交于
-
由 kangguangli 提交于
-
- 11 8月, 2023 3 次提交
-
-
由 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>
-
由 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>
-
由 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
-
- 10 8月, 2023 2 次提交
-
-
由 csy0225 提交于
-
由 Aurelius84 提交于
-
- 09 8月, 2023 5 次提交
-
-
由 xiaoguoguo626807 提交于
* [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 * modify block.ops * modify test * fix conflict * reply review comments * reply review comments * pulish code --------- 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>
-
由 xiaoguoguo626807 提交于
* 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 --------- Co-authored-by: Nkangguangli <kangguangli@hotmail.com>
-
由 Leo Chen 提交于
-
由 Frank Lin 提交于
* set input type to fp16
-
由 LoneRanger 提交于
remove the AdamOptimizer、SGDOptimizer、MomentumOptimizer、ModelAverage、LookaheadOptimizer、FtrlOptimizer、DecayedAdagradOptimizer、DpsgdOptimizer in fluid and relocate the ExponentialMovingAverage、PipelineOptimizer、GradientMergeOptimizer and change optimizer base for LarsMomentumOptimizer and RecomputeOptimizer (#55970) * change the optimizer base for SGDOptimizer * change the optimizer base for SGDOptimizer * replace the SGDOptimizer with SGD * fix bug of sgd * change the optimizer base for MomentumOptimizer * fix the remaining tests * remove the Momentum in fluid/optimizer.py * fix bug * fix bug * fix bug * fix bug * Update test_resnet_cinn.py * Update test_resnet_prim_cinn.py * fix bug * fix bug * fix bug * remove the ModelAverage in fluid * remove the LookaheadOptimizer in fluid * fix bug * remove AdamOptimizer in fluid * Update test_image_classification_fp16.py * fix bug * relocate the ExponentialMovingAverage in fluid * restore the static api * remove the FtrlOptimizer in fluid * remove the DecayedAdagradOptimizer in fluid * remove the DpsgdOptimizer in fluid * fix bug * fix codestyle * fix bug * fix bug * relocate the PipelineOptimizer * relocate the GradientMergeOptimizer * fix bug * fix bug * fix bug * fix doc * Update __init__.py * Update test_fleet_qat_meta_optimizer.py * change optimizer base for LarsMomentumOptimizer * fix bug * fix conflict * fix code-style * fix sample codes * fix bug * fix bug * fix cinn bug * fix bug * fix bug * Update qat_optimizer.py * Update __init__.py * fix bug * change optimizer base for RecomputeOptimizer * fix bug * fix bug * Update test_imperative_optimizer_v2.py
-
- 08 8月, 2023 2 次提交
-
-
由 jjyaoao 提交于
* Provide opoperands(), opresults() methods for the Operation module Signed-off-by: Njjyaoao <jjyaoao@126.com> * Update test_ir_pybind.py --------- Signed-off-by: Njjyaoao <jjyaoao@126.com>
-
由 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 --------- Co-authored-by: Ncxxly <chenxx_id@163.com> Co-authored-by: Nzhangbo9674 <zhangbo54@baidu.com>
-
- 07 8月, 2023 2 次提交
-
-
由 YuanRisheng 提交于
* add attrs and dtype interface * fix compile bugs * fix some bugs * fix windows bugs
-
由 Yuanle Liu 提交于
* fix cudnn 8.7+ bug on cudnnConvolutionBiasActivationForward * save_optimized_model_pass support tensorrt * update * update * fix compile * update * fix ut timeout
-
- 04 8月, 2023 3 次提交
-
-
由 Difer 提交于
* replace embedding * replace sparse_embedding * fix some bugs * del embedding * repalce layers.embedding * fix type error
-
由 kangguangli 提交于
* fix bug: feed_with_place should consider variable existence * fix * fix build scope * change method to set feed var name * remove feed_with_place to placeholder * fix * rename to data * fix * fix
-
由 hong 提交于
* refacot aot * update * fix bugs * remove some test * fix bug * fix bug * fix bug * fix bug * update
-
- 03 8月, 2023 1 次提交
-
-
由 xiaoguoguo626807 提交于
-
- 02 8月, 2023 2 次提交
-
-
由 jiangfan06 提交于
-
由 xiaoguoguo626807 提交于
* add ir core * add test * modify name * merge * add test for __eq__ * shield test for __eq__ * --amend * Update new_ir_compiler.cc
-
- 01 8月, 2023 3 次提交
-
-
由 hong 提交于
* new ir support print op * fix gpu bug * fix bug * update * remove layout to string * remove usless header * polish code * fix bug * posolis code
-
由 hong19860320 提交于
-
由 Zhan Rongrui 提交于
[CodeStyle] replace `assert np.allclose` with `np.testing.assert_allclose` and `assert np.array_equal` with `np.testing.assert_array_equal` (#55385)
-
- 31 7月, 2023 1 次提交
-
-
由 YuanRisheng 提交于
* support construct network using ir in Python * fix py3 bugs * change source return type to OpResult
-