1. 31 3月, 2022 16 次提交
    • W
      fix some bug, test=develop (#41144) · eac23db1
      wanghuancoder 提交于
      eac23db1
    • W
      add multiclass nms3 trt converter (#41181) · 08c3edb3
      wangxinxin08 提交于
      * add multiclass_nms3 converter
      08c3edb3
    • H
      add flatten2,reshape2,squueze2_trt_fuse_pass test cast (#41031) · 7ef69202
      heliqi 提交于
      * add flatten2,reshape2,squueze2_trt_fuse_pass  test cast
      
      * add flatten2,reshape2,squueze2_trt_fuse_pass  test cast
      
      * add flatten2,reshape2,squueze2_trt_fuse_pass  test cast
      7ef69202
    • S
      [New API]: miminize_bfgs and miminize_lbfgs (#40710) · e7928a06
      Sing_chan 提交于
      * [New API]: miminize_bfgs and miminize_lbfgs
      
      * modify for python module call correctly
      
      * add functional package, add error raise in static_graph, change assign to set_value
      
      * unify static_graph and dygraph, fix bug when x or H0 is float64
      
      * now only accept input is tensor, put check args in utils.py, put exception test together
      
      * temp
      
      * add more detailed algorithm illustration and comment, reduce test case to limit test time in 15s
      
      * change in_dygraph_mode to in_dynamic_mode
      
      * fix bug of sample code; reduce test case to reduce test time
      
      * change dir to incubate
      e7928a06
    • 0
      Fix test_run_program_op.py (#41141) · 7c555f4e
      0x45f 提交于
      7c555f4e
    • W
      fix load bug and add distributed strategy from pslib (#40883) · 47383dca
      wangguanqun 提交于
      * fix load bug and add distributed strategy from pslib
      
      * add unittest
      
      * use cvm config
      
      * trainer and worker config
      
      * add unittest
      
      * add unittest
      
      * add test
      
      * code style
      47383dca
    • L
      add depend when doing fuse_all_optimizer on program (#41178) · 3b00dc92
      Leo Chen 提交于
      * fix dependency of fused optimizer
      
      * add ut
      3b00dc92
    • C
      Fix operator summary table (#41157) · 4e3c7338
      chenjian 提交于
      * no
      
      * fix operator summary table
      
      * update unit test
      4e3c7338
    • X
      Add probability distribution transformation APIs (#40536) · 6735a37a
      Xiaoxu Chen 提交于
      * add random varaiable transformations API for paddle's distribution package
      
      * add TransformedDistribution API for paddle's probability distribution package
      
      * add random variable transformation unitests for static graph
      
      * replace math.prod which not support python3.7 with functools.reduce
      
      * add Independent and TransformedDistribution distribution
      
      * add unittests for constraint
      
      * fix typo and AffineTransform sample code error
      
      * add mean,variance,rsample abstract method for Distribution
      6735a37a
    • C
      Add time range duration display (#41029) · 6744754f
      chenjian 提交于
      * no
      
      * fix bugs
      
      * fix doc according to review
      
      * fix api doc format
      
      * fix api doc according to review
      
      * fix bug and add unit test
      
      * fix record event bug
      
      * optimize chrome tracing display
      
      * fix bug
      
      * add comment
      
      * add unit test
      
      * fix a bug
      
      * fix
      
      * fix
      
      * fix format
      6744754f
    • Z
      Opt the compilation of sparse kernel (#41086) · b9da48da
      zhangkaihuo 提交于
      b9da48da
    • Y
      update elementwise unittest style, *test=kunlun (#40779) · 23a69bc7
      ykkk2333 提交于
      23a69bc7
    • Z
      0d5c27b2
    • P
      support view strategy in eager_fluid state (#40830) · 2f1c1ae5
      pangyoki 提交于
      * support view strategy in eager_fluid state
      
      * little change
      
      * little change
      
      * optimize unittest
      
      * fix
      2f1c1ae5
    • P
      fix eager_gen node bug (#41165) · 56493c9e
      pangyoki 提交于
      56493c9e
    • P
      Support inplace strategy for pylayer (#41043) · 11d1a51a
      pangyoki 提交于
      * Supported Complex2Real Conversion for Eager Dygraph
      
      * Supported Complex2Real Conversion for Eager Dygraph
      
      * Enabled complex type promotion test for matmul_v2
      
      * pylayer, test=develop
      
      * Fix CI issues
      
      * Support initializing specific grad tensors to zero for selected operators
      
      * finish forward, test=develop
      
      * create grad node finish, test=develop
      
      * Merged adj_edges_ with GradSlotMeta
      
      * Fixed monir issue
      
      * backward finish, start dbg, test=develop
      
      * Adjusted num runs
      
      * Recovered Eager performance tests configurations
      
      * Recovered Eager performance tests configurations
      
      * finish, test=develop
      
      * polish, test=develop
      
      * polish, test=develop
      
      * refine, test=develop
      
      * eager, test=develop
      
      * Adjusted performance tests configurations
      
      * Fixed Minor Issues with performance tests
      
      * [Phi] Fix macro name typo
      
      * support set_materialize_grads, test=develop
      
      * suppotr mark_non_differentiable, test=develop
      
      * support once_differentiable, test=develop
      
      * refine, test=develop
      
      * refine, test=develop
      
      * Moved out Edge from GradSlotMeta
      
      * Fixed issues from merge
      
      * Fixed typo
      
      * Addressed review comments
      
      * Fixed merge issues
      
      * Fixed minor issues
      
      * Fixed minor issue
      
      * refine, test=develop
      
      * refine, test=develop
      
      * refine, test=develop
      
      * Fixed major issues and enabled auto_prune test cases
      
      * Fixed issues from merge
      
      * refine, test=develop
      
      * refine, test=develop
      
      * refine, test=develop
      
      * refine, test=develop
      
      * refine, test=develop
      
      * support inplace for pylayer
      Co-authored-by: Njim19930609 <jim19930609@gmail.com>
      Co-authored-by: NWang Huan <wanghuan29@baidu.com>
      Co-authored-by: NAurelius84 <zhangliujie@baidu.com>
      11d1a51a
  2. 30 3月, 2022 24 次提交
    • Z
      py36 Import error bug fix (#41135) · d006c7ff
      ziyoujiyi 提交于
      * lazy import
      
      * log error
      d006c7ff
    • F
      Fix bug for UT test_calc_gradient (#41130) · 4d6a3b9f
      From00 提交于
      4d6a3b9f
    • 0
      Fix test_jit_save_load (#41114) · 4b61918d
      0x45f 提交于
      4b61918d
    • Z
      [AutoParallel] fix converter when sliced_shape is 1 (#41103) · 59c4fdac
      zhaoyingli 提交于
      * fix converter when sliced_shape is 1
      
      * update unittest
      59c4fdac
    • Z
      delete ps env (#41079) · a0e961c0
      ziyoujiyi 提交于
      * back fl
      
      * delete ssl cert
      
      * .
      
      * make warning
      
      * .
      
      * unittest paral degree
      
      * solve unittest
      
      * heter & multi cloud commm ready
      
      * correct pass not regisiter
      
      * back
      
      * back
      
      * .
      
      * .
      a0e961c0
    • P
      5f7d129a
    • R
      [MoE] Moe apis (#41092) · aac7879a
      Roc 提交于
      * add random routing op
      
      add _random_routing api in utils
      
      add random routing ut
      
      * # This is a combination of 10 commits.
      # The first commit's message is:
      add expert count op
      
      add ut for expert_count
      
      # This is the 2nd commit message:
      
      update UT only for cuda
      
      # This is the 3rd commit message:
      
      fix for rocm
      
      # This is the 4th commit message:
      
      update ut
      
      # This is the 5th commit message:
      
      add moe module
      
      # This is the 6th commit message:
      
      add expert count op
      
      add ut for expert_count
      
      # This is the 7th commit message:
      
      update UT only for cuda
      
      # This is the 8th commit message:
      
      update ut
      
      # This is the 9th commit message:
      
      add moe module
      
      # This is the 10th commit message:
      
      make expert count private
      
      * add assign pos op
      
      * fix upper num name
      
      * add api _assign pos
      
      * add ut for assign pos op
      
      * update date
      
      * add op about moe gate
      
      update utils
      
      add limit by capacity op
      
      add ut for limit_by_capacity
      
      add ut for prune_gate_by_capacity
      
      add ut for limit_by_capacity
      
      add ut for prune_gate_by_capacity
      
      * fix for win
      
      * fix bugs in test_limit_by_capacity_op
      
      * update ut
      
      * update for test (timeout)
      
      * fix ut
      
      * update
      
      * update(fix) ut for win
      
      * moe apis in incubate
      
      * # This is a combination of 10 commits.
      # The first commit's message is:
      add expert count op
      
      add ut for expert_count
      
      # This is the 2nd commit message:
      
      update UT only for cuda
      
      # This is the 3rd commit message:
      
      fix for rocm
      
      # This is the 4th commit message:
      
      update ut
      
      # This is the 5th commit message:
      
      add moe module
      
      # This is the 6th commit message:
      
      add expert count op
      
      add ut for expert_count
      
      # This is the 7th commit message:
      
      update UT only for cuda
      
      # This is the 8th commit message:
      
      update ut
      
      # This is the 9th commit message:
      
      add moe module
      
      # This is the 10th commit message:
      
      make expert count private
      
      * add assign pos op
      
      * fix upper num name
      
      * add api _assign pos
      
      * add ut for assign pos op
      
      * update date
      
      * fix for win
      
      * update for test (timeout)
      
      * fix ut
      
      * update
      
      * fix ut for number count
      
      * add apis and utils
      
      * add gate apis
      
      * add moe and grad clip apis
      
      * update moe apis
      
      * add ops for moe gate
      
      * fix
      
      * update for base moe layer api
      
      * add random routing op
      
      add _random_routing api in utils
      
      add random routing ut
      
      * fix for dygraph
      
      * update with ranodm routing
      
      * update
      
      * fix ut for limit by capacity
      
      * update
      
      * update limit by capacity for easily to switch to single thread mode
      
      * update api docs
      Co-authored-by: Nhlygit66666 <2570058140@qq.com>
      aac7879a
    • H
      [Op] Fix uncontrolled randomness of index_select op (#41078) · 8f7c02f2
      Haohongxiang 提交于
      * fix uncontrolled randomness of op
      
      * fix bugs
      8f7c02f2
    • F
      Add new APIs for GPU memory monitoring (max_memory_allocated,... · afe02e9d
      From00 提交于
      Add new APIs for GPU memory monitoring (max_memory_allocated, max_memory_reserved, memory_allocated, memory_reserved) (#38657)
      
      * Add new API memory_reserved
      
      * Add memory_allocated, max_memory_reserved and max_memory_allocater
      
      * Fix CI error
      
      * Fix CI error
      
      * Enhance UT
      
      * Add FLAGS_memory_stats_opt
      
      * Add STATS macro functions
      
      * Add StatAllocator
      
      * Fix CI errors
      
      * Add UT
      
      * Fix CI errors
      afe02e9d
    • C
      fix reshard bug (#41106) · e494b73b
      caozhou 提交于
      e494b73b
    • H
      Revert "Revert "Move some activation to phi (#40727)" (#41056)" (#41095) · 91bb52cd
      hong 提交于
      This reverts commit 05f3d48e.
      91bb52cd
    • Z
      [DoubleGrad PR #3] Supported higher-order GradNode generation (#41051) · abd2df4c
      Zhanlue Yang 提交于
      * [Refactor] refactored eager_gen.py PR #2
      
      * [DoubleGrad PR #1] Decoupled code generation logics for Dygraph ForwardFunctions and GradNodes
      
      * Fixed minor issue
      
      * Adjusted logics of GenerateNodeCreationCodes and GenerateForwardDefinition
      
      * Fixed issues
      
      * Supported higher-order grad node generation
      
      * [DoubleGrad PR #4] Supported higher-order GradNode generation
      
      * Fixed yaml typo
      abd2df4c
    • 努力努力在努力丶's avatar
    • P
      add _reset_grad_inplace_version (#41101) · cb8afc24
      pangyoki 提交于
      cb8afc24
    • 0
      Switch some dy2st UT to eager mode (#41052) · a5bfa797
      0x45f 提交于
      * Switch some dy2st UT to eager mode
      
      * Add UT
      a5bfa797
    • C
      remove set_value numpy (#41017) · 1042f42e
      crystal 提交于
      * remove set_value numpy
      
      * optimize code
      
      * optimize to_tensor
      
      * use common function
      Co-authored-by: Nroot <root@yq01-sys-hic-k8s-v100-box-a225-0186.yq01.baidu.com>
      1042f42e
    • A
      [Yaml] Fix topk yaml compilation problem on Windows (#41082) · 95265d5c
      Aurelius84 提交于
      * [Yaml] Fix topk yaml compilation on Windows
      
      * fix make_shared
      
      * fix conflict
      95265d5c
    • Y
      add bilinear interpolate v2 to xpu list and unitteset, *test=kunlun (#41037) · 4e86dff2
      ykkk2333 提交于
      * add bilinear interpolate v2 to xpu list and unitteset, *test=kunlun
      
      * Delete ps_usr_print_log
      
      * Delete ps_usr_print_log
      
      * Delete xpu_op_test
      4e86dff2
    • A
      [Eager] Fix legacy always make sense (#41048) · 922e076e
      Aurelius84 提交于
      922e076e
    • W
      [Eager] dlpack (#40811) · 4d300224
      wanghuancoder 提交于
      * dlpack eager, test=develop
      
      * eager test_base_layer, test=develop
      
      * fix error report, test=develop
      
      * eager _getitem_from_offset, test=develop
      
      * refine, test=develop
      
      * refine offset, test=develop
      
      * add test_inner test_outer, test=develop
      
      * refine, test=develop
      
      * refine, test=develop
      4d300224
    • X
      Optest refactor (#40998) · 04325d2c
      xiongkun 提交于
      * first version, maybe many errors
      
      * refactor op_test
      
      * fix compare list
      
      * fix bg
      
      * fix bugs
      
      * skip name
      04325d2c
    • H
      swish and pow op for xpu test=kunlun (#40654) · d951f3af
      houj04 提交于
      * swish and pow op for xpu. test=kunlun
      
      * fix code style. test=kunlun.
      
      * use pow_grad xdnn api. test=kunlun.
      d951f3af
    • Z
      fix (#41083) · b1ee9d5e
      zhaocaibei123 提交于
      b1ee9d5e
    • P
      suppor inplace in tensor_method_setitem (#40915) · 7170c687
      pangyoki 提交于
      * suppor inplace in tensor_method_setitem
      
      * delete bump_inplace_version
      
      * optimize inplace unittest
      
      * fix
      
      * fix setitem bug
      
      * update eager_generator
      
      * optimize inplace unittest
      
      * little change
      7170c687