1. 04 8月, 2023 1 次提交
    • J
      Support Combined indexing for __getitem__ and __setitem__ (#55211) · 697c712f
      JYChen 提交于
      * WIP: start writing combined indexing get
      
      * list/tuple/Variable
      
      * getitem 80%
      
      * add setitem
      
      * add some unittest for setitem
      
      * lazy import
      
      * fix some setitem error
      
      * fix advance indexing with decreasing axes; fix strided_slice input name
      
      * combine int-tensor getitem is ok (without boolean support & broadcast); add getitem unittest for static
      
      * add broadcast & parse bool tensor for __getitem
      
      * [change getitem] _getitem_impl_ to _getitem_static, not deleting the former one
      
      * refine new getitem; fix ut in variable/var_base
      
      * add __getitem__ ut in dygraph
      
      * re-dispatch getitem for Py/CPP; fix strided_slice decrease axes error in dygraph
      
      * fix ut; support tensor in slice
      
      * [change setitem] _setitem_impl_ to _setitem_static, not deleting the former one
      
      * remove some UT (for some, temporarily)
      
      * add IndexError to solve timeout problem in static-mode
      
      * 1.temply forbideen all-False bool-indexput; 2.setitem_static will return new variable
      
      * xpu uses old stratege
      
      * rename dy2st setitem ut to avoid same-name problem
      
      * dy2st for new combined index
      
      * ut case for combine-index with dy2st
      
      * open ut with all-false-bool setitem
      
      * remove useless doc and _getitem_impl_
      
      * change static res
      
      * fix static xpu
      697c712f
  2. 02 8月, 2023 1 次提交
  3. 01 8月, 2023 1 次提交
  4. 31 7月, 2023 3 次提交
  5. 26 7月, 2023 2 次提交
  6. 22 7月, 2023 1 次提交
  7. 21 7月, 2023 1 次提交
    • Q
      开发grad_fn、next_functions两个API 并暴露到python端- 修改单侧文件路径到合理位置 (#55311) · 03f06841
      qiuwenbo 提交于
      * [尝试] 给tensor增加一个属性, 这个属性是一个定值 1
      
      * 暴露gradnode 并构建gradnode新的方法(用来测试)进行暴露给python python端可以访问
      
      * 开发grad_fn、next_functions两个API 并暴露到python端- 做一些规范化处理
      
      * 增加一个单元测试
      
      * 优化 code-style
      
      * 将单侧文件迁到正确的位置
      
      * 优化 code-style
      
      * 删除无用注释
      
      * 解决 __main__ has no attribute
      
      * 修改单侧文件
      
      * 修改单侧脚本-temp
      03f06841
  8. 19 7月, 2023 1 次提交
    • J
      disable __setitem__ in static mode & add API paddle.static.setitem with dy2st strategy (#53682) · 7849d58d
      JYChen 提交于
      * add paddle.static.setitem
      
      * add some help doc
      
      * support setitem
      
      * support machanism
      
      * add more unittest
      
      * remove usless code
      
      * raise error in static setitem
      
      * fix d2s UT
      
      * remove static only for both-used code
      
      * fix bool set_value in static, fix set_value_op UT
      
      * fix unittests
      
      * [May case some error]: remove inplace-version check
      
      * add two test case for dy2st
      
      * fix function in vision
      
      * fix dy2st setitem support, refine UT case
      
      * fix slice in static_mode
      
      * add ParametersMap
      
      * remove pop
      
      * modify place
      
      * [fix]: variable is also a tensor
      
      * rewrite some ut & remove slicetransformer in dy2st
      
      * solve error in static-mode
      
      * fix ut
      
      * return a result for set_array_write
      
      * fix test_set_value_op_xpu
      
      * code is different in dynamic / static mode
      
      ---------
      Co-authored-by: NAurelius84 <zhangliujie@baidu.com>
      Co-authored-by: NNotHaozi <zhangmenghao@baidu.com>
      7849d58d
  9. 18 7月, 2023 2 次提交
  10. 11 7月, 2023 2 次提交
    • L
      replace the AdagradOptimizer... · 94365855
      LoneRanger 提交于
      replace the AdagradOptimizer 、adamaxOptimizer、AdadeltaOptimizer、RMSPropOptimizer、LambOptimizer and Momentum (#54152)
      
      * replace the AdadeltaOptimizer with Adadelta
      
      * replace the RMSPropOptimizer with RMSProp
      
      * replace the LambOptimizer with lamb
      
      * replace the momentum in contrib/optimizer.py with Momentum in python/paddle/optimizer/momentum.py
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * fix bug of Lamp
      
      * fix bug of Lamp
      
      * fix bug of import
      
      * replace the AdamaxOptimizer with Admax and change the optimizer base for AdagradOptimizer
      
      * fix bug
      
      * fix bug
      
      * Update optimizer.py
      
      * fix bug
      
      * fix bug
      94365855
    • Q
      赛题七-开发grad_fn、next_functions两个API 并暴露到python端-v1 (#54838) · ab46b14c
      qiuwenbo 提交于
      * [尝试] 给tensor增加一个属性, 这个属性是一个定值 1
      
      * 暴露gradnode 并构建gradnode新的方法(用来测试)进行暴露给python python端可以访问
      
      * 开发grad_fn、next_functions两个API 并暴露到python端- 做一些规范化处理
      
      * 增加一个单元测试
      
      * 优化 code-style
      ab46b14c
  11. 10 7月, 2023 2 次提交
  12. 07 7月, 2023 1 次提交
  13. 06 7月, 2023 1 次提交
  14. 05 7月, 2023 1 次提交
  15. 03 7月, 2023 2 次提交
  16. 30 6月, 2023 2 次提交
  17. 29 6月, 2023 1 次提交
  18. 28 6月, 2023 3 次提交
    • L
      remove nets.py in fluid (#51717) · 87f72107
      LoneRanger 提交于
      * remove function sequence_conv_pool
      
      * fix test_glu.py
      
      * remove function scaled_dot_product_attention
      
      * remove function img_conv_group
      
      * remove function simple_img_conv_pool
      
      * delete the nets.py
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * Update test_image_classification.py
      
      * Update test_recognize_digits.py
      
      * Update test_recommender_system.py
      
      * Update test_image_classification_fp16.py
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * remove the nets.py in fluid
      
      * fix bug
      
      * fix the codestyle
      
      * fix conflict
      
      * fix bug
      
      * Fix TODO
      87f72107
    • L
      replace PiecewiseDecay, StepDecay, MultiStepDecay, LambdaDecay with 2.0 version (#53992) · 63f242b6
      LoneRanger 提交于
      * replace PiecewiseDecay(LearningRateDecay) with PiecewiseDecay(LRScheduler)
      
      * fix bug
      
      * fix bug
      
      * replace the StepDecay,MultiStepDecay,LambdaDecay with 2.0 version
      63f242b6
    • R
      [ROCM] fix cupti, rccl on rocm (#54807) · 57da105c
      ronnywang 提交于
      * [ROCM] fix cupti, hipcub
      
      * update
      
      * update
      57da105c
  19. 27 6月, 2023 3 次提交
  20. 26 6月, 2023 1 次提交
    • H
      Support feed op new ir (#54840) · 1e323137
      hong 提交于
      * add fetch kernel
      
      * support fetch var in new ir
      
      * fix bug
      
      * polish code
      
      * change array equal to np.testing
      
      * support feed in new ir
      
      * fix bug
      
      * try to hack combine op
      
      * add scope guard
      
      * revert atan2 op
      
      * polish code
      1e323137
  21. 25 6月, 2023 1 次提交
  22. 21 6月, 2023 1 次提交
  23. 16 6月, 2023 1 次提交
    • R
      Run plan in standalone executor (#54394) · 752670e2
      Ruibiao Chen 提交于
      * Run plan in standalone executor
      
      * Update codes
      
      * Update atol and rtol for py3-CI
      
      * Add scope to cache key
      
      * Fix CI errors
      
      * Fix code style
      
      * Update codes
      
      * Remove fetch_name in standalone executor
      
      * Fix UT
      
      * Update codes
      
      * Fix new IR bug
      752670e2
  24. 12 6月, 2023 1 次提交
  25. 08 6月, 2023 1 次提交
  26. 02 6月, 2023 1 次提交
  27. 01 6月, 2023 2 次提交
    • Z
      [AutoParallel] update pipeline pass for while control_flow (#54224) · 81c13b86
      zhaoyingli 提交于
      * [AutoParallel] update while control_flow with pipeline
      
      * update process group instantiate
      
      * fix micro_bsz for reshard
      
      * update api for micro batch size
      
      * add strategy for dp optimization
      81c13b86
    • 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