1. 01 4月, 2022 1 次提交
    • H
      Add basic yaml backward (#40751) · 98303291
      hong 提交于
      * fix error; test=develop
      
      * update
      
      * close some yaml
      
      * fix backward attrite error; test=develop
      
      * add div test
      
      * polish code; test=develop
      
      * update
      
      * update
      
      * fix bug
      
      * update bitwise code; test=develop
      
      * update
      
      * update
      
      * fix some bug
      
      * update
      
      * revert cmakelist
      
      * fix optional bug;
      
      * fix bug
      
      * fix bug;
      
      * add backward test
      
      * open bn
      
      * update
      
      * update
      
      * revert eager_gen
      
      * polish code
      
      * fix topk error
      
      * update
      
      * update
      
      * fix bug;
      
      * move label smooth, nll loss
      
      * revert topk
      
      * fix topk label smooth bug;
      
      * remove batch_norm
      
      * remove topk
      
      * change flip infer meta
      
      * fix flip bug
      
      * update yaml
      
      * close abs
      
      * fix histogram bug
      
      * fix histogram bug
      
      * add abs
      
      * fix histogram kernel
      
      * remove expand
      98303291
  2. 31 3月, 2022 18 次提交
    • 0
      Switch some dy2st UT to eager (#41175) · 2003610e
      0x45f 提交于
      2003610e
    • A
      [Yaml] Migrate sqrt/square/reciprocal yaml (#41164) · 2d69abd2
      Aurelius84 提交于
      * [Yaml] Migrate sqrt/square/reciprocal yaml
      
      * clean file
      
      * fix unittest error
      2d69abd2
    • Z
      Enhance eigh, eigvalsh unit tests (#40699) · a8be9b6d
      zlsh80826 提交于
      * Enhance test_eigh_op
      
      * Use eigen decomposition to validate eigen values and vectors
      * Fix that TestEighBatchAPI didn't run the batched input
      
      * Enhance test_eigvalsh_op
      
      * Align cusolver tolerance to validate eigenvalues
      * Fix that BatchAPI didn't run the batched input
      
      * Add abs for |d_ref|
      
      * Remove comment
      a8be9b6d
    • 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
    • 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
  3. 30 3月, 2022 18 次提交
  4. 29 3月, 2022 3 次提交
    • J
      Update of oneDNN to 2.5 (#39426) · 35b96d48
      Jacek Czaja 提交于
      * - update of oneDNN to 2.5
      
      * - changes to UT testing onednn verbose
      
      * - Update of oneDNN to 2.5.3
      
      * - update onednn to 2.5.4
      35b96d48
    • R
      [MoE] Moe apis (#40895) · aeade538
      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
      Co-authored-by: Nhlygit66666 <2570058140@qq.com>
      aeade538
    • W
      add elementwise sub and elementwise div in tensorrt op teller (#40806) · f3022dfa
      wangxinxin08 提交于
      * add elementwise sub and elementwise div in tensorrt op teller
      
      * add unittest of elementwise mul, sub and div
      f3022dfa