1. 18 8月, 2023 1 次提交
  2. 17 8月, 2023 1 次提交
  3. 16 8月, 2023 2 次提交
  4. 14 8月, 2023 1 次提交
  5. 11 8月, 2023 1 次提交
  6. 09 8月, 2023 2 次提交
    • X
      【New IR】backward code of new ir (#55957) · 0399b39f
      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>
      0399b39f
    • L
      remove the... · 723c6f77
      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
      723c6f77
  7. 08 8月, 2023 1 次提交
  8. 01 8月, 2023 1 次提交
    • J
      Remove old dataloader in ut (#55841) · ab60ae92
      JYChen 提交于
      * done replaced in d2s models, except lac/transformer/sentiment
      
      * replace cinn_test
      
      * fix d2s transfomer model
      
      * fix cinn model ut
      ab60ae92
  9. 06 7月, 2023 1 次提交
  10. 30 6月, 2023 1 次提交
  11. 13 6月, 2023 1 次提交
  12. 12 6月, 2023 1 次提交
  13. 07 6月, 2023 1 次提交
  14. 01 6月, 2023 1 次提交
    • T
      mv all unittests test (#53235) · b0e86d55
      tianshuo78520a 提交于
      * mv all unittests test
      
      * fix error
      
      * fix error
      
      * fix
      
      * fix
      
      * del unittests
      
      * fix paddle_build.sh
      
      * fix
      
      * fix test
      
      * fix add test
      
      * fix
      
      * fix
      
      * fix
      
      * merge develop
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * merge develop
      
      * fix test_async_read_write
      
      * fix test_async_read_write
      
      * merge develop
      
      * fix
      
      * fix import legacy_test
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix bug
      
      * fix
      
      * fix coverage test bug
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix code sstyle
      
      * fix code
      
      * fix code
      
      * fix
      
      * fix
      
      * fix
      
      * del test_sequence_enumerate_op.py
      
      * fix
      b0e86d55
  15. 30 5月, 2023 1 次提交
  16. 22 5月, 2023 2 次提交
    • M
      [dygraph]unify _non_static_mode() in_dygraph_mode() and in_dynamic_mode() (#53856) · 3794d171
      Meteor Liu 提交于
      * [dygraph]unify _non_static_mode() in_dygraph_mode() and in_dynamic_mode()
      
      * [dygraph]unify _non_static_mode() in_dygraph_mode() and in_dynamic_mode()
      
      * [dygraph]unify _non_static_mode() in_dygraph_mode() and in_dynamic_mode()
      
      * [dygraph]unify _non_static_mode() in_dygraph_mode() and in_dynamic_mode()
      
      * [dygraph]unify _non_static_mode() in_dygraph_mode() and in_dynamic_mode()
      
      * [dygraph]unify _non_static_mode() in_dygraph_mode() and in_dynamic_mode()
      
      * fixed cyclic reference that caused patial import
      
      * fixed bad change
      
      * fix bad import
      
      * fix bad import
      
      * fix bad import
      
      * fix ut failed caused by change in_dynamic_mode
      
      * fix ut failed caused by change in_dynamic_mode
      
      * fixed usage of in_dynamic_mode() or in_dygraph_mode()
      
      * revert python3 to python in .pre-commit-config.yaml
      
      * fix merge conflicts
      3794d171
    • C
      [Prim] Simplify bn vjp (#54012) · ad49e0fb
      cyber-pioneer 提交于
      * recompute bn grad
      
      * fix test case
      
      ---------
      Co-authored-by: Nsunli <466530738@qq.com>
      ad49e0fb
  17. 18 5月, 2023 1 次提交
    • R
      support auto generate for op layer_norm (#53178) · 4f07b653
      RedContritio 提交于
      * simplify layer_norm_op.cc
      
      * support auto generate for op layer_norm
      
      * update unittest for composite_layer_norm
      
      * remove layer_norm_op.cc from scripts
      
      * replace layer_norm_op with generated_op
      
      * add get_expected_kernel for layer_norm
      
      * update cmake kernel register function for layer_norm_mkldnn_op
      4f07b653
  18. 17 5月, 2023 1 次提交
  19. 15 5月, 2023 4 次提交
  20. 13 5月, 2023 1 次提交
    • X
      Revert elementwise add (#53745) · b75d8c7e
      xiaoguoguo626807 提交于
      * modify concat_grad add sum comp rule
      
      * delete default mul_double_grad
      
      * delete high grad test
      
      * recover yaml
      
      * modify yaml
      
      * recover add_double_grad prim
      b75d8c7e
  21. 12 5月, 2023 3 次提交
  22. 11 5月, 2023 1 次提交
    • X
      Revert elementwise (#53663) · b4024aaf
      xiaoguoguo626807 提交于
      * modify concat_grad add sum comp rule
      
      * delete default mul_double_grad
      
      * delete high grad test
      
      * recover yaml
      
      * modify yaml
      b4024aaf
  23. 09 5月, 2023 2 次提交
  24. 06 5月, 2023 1 次提交
    • X
      【prim】Elementwise double grad (#53014) · a5a0e8fe
      xiaoguoguo626807 提交于
      * add mul doubel grad
      
      * add sub_double_grad
      
      * add add sub high test
      
      * add mutiply test
      
      * modify other unsqueeze
      
      * delete api.yaml
      
      * only for make ci run
      
      * midify unsqueeze
      
      * modify unsqueeze
      
      * tmp
      
      * modify operants gen
      
      * review modify
      
      * modify review
      
      * debug
      
      * debug
      
      * modify ci cross boundary
      
      * delete log
      a5a0e8fe
  25. 04 5月, 2023 1 次提交
  26. 30 4月, 2023 1 次提交
  27. 28 4月, 2023 1 次提交
  28. 17 4月, 2023 1 次提交
  29. 13 4月, 2023 1 次提交
  30. 12 4月, 2023 2 次提交