1. 03 3月, 2023 7 次提交
  2. 02 3月, 2023 16 次提交
  3. 01 3月, 2023 12 次提交
    • C
      Integration flash attention (#49869) · 61611786
      Chitsing KUI 提交于
      * flash attn
      
      * seed
      
      * almost
      
      * softmax
      
      * fix workspace
      
      * add unitest; linux only
      
      * fix setup
      
      * fix datatype include
      
      * fix setup typo
      
      * fix def scope
      
      * new error api
      
      * use paddle fork
      
      * fix attr bug; complete ut
      
      * update flash hash
      
      * fix rng reset
      
      * fix offset
      
      * fix comments
      61611786
    • H
      [Tensor Operants & Prim-Relevant] Tensor supports logical operants (#50983) · 1794927b
      HongyuJia 提交于
      * Add comments for #50886
      
      * [Tensor Operants & Prim-Relevant] Tensor supports logical operants
      
      * add prim dynamic unit test
      
      * add prim static unit test
      1794927b
    • Z
      add topk prim backward (#50679) · 296b3ff0
      zqw_1997 提交于
      * tmp gather vjp
      
      * support gather
      
      * remove useless code
      
      * fix compiling error
      
      * fix ut
      
      * add eager test
      
      * add eager test
      
      * add seed
      
      * small change
      
      * fix cpu error
      
      * fix transpose op compat
      
      * remove tensor index case
      
      * fix prim_cinn
      
      * small commit
      
      * add cumsum prim backward
      
      * small commit
      
      * skip aixs=None test case
      
      * fix op generante eror
      
      * fix static test error
      
      * remove unused code
      
      * fix static test error
      
      * small commit
      
      * skip cpu float16 test case
      
      * skip eager cpu cumsum float16 test case
      
      * add eager and static UT
      
      * fix ut
      
      * add composite backward rule
      
      * fix error
      
      * fix type error and format error
      
      * add try cpu+float16 test
      
      * fix test bugs
      
      * remove test for cpu+float16 and make y[0] be the grad arg
      
      * add cinn test
      
      * fix UT
      
      * fix the wrong dim of v in test cases
      
      * change y[0] to y[1] for grad in UT
      
      * reshape flatten out
      
      * Disable cinn single test
      
      * use scatter_nd_add
      
      * modify the reshape part of topk_grad
      
      * delete useless build file
      
      * to make the syntax right
      
      * modify bug
      
      * try use of put_along_axis
      
      * remove cinn test
      
      * reformat todo
      
      * add silu composite rule
      
      * fix code style.
      
      * add cinn test
      
      * fix composite grad maker code gen
      
      * add prim in cumsum op test
      
      * remove old test
      
      * fix typro
      
      * pass the static test
      
      * fix typro
      
      * modify optest and delete old test files
      
      * remove normal test_top_k_op test
      
      * fix typro
      
      * pass axis=None test case
      
      * buffer comment
      
      * for debug
      
      * add silu fp16 unit test.
      
      * add static guard
      
      * remove forward prim test
      
      * remove same name axis
      
      * modify the test_top_v2_op.py to pass all local tests
      
      * delete the useless testcase
      
      * fix mistake
      
      * add more testcases to test dtype16 and dtype32
      
      ---------
      Co-authored-by: NJiabinYang <360788950@qq.com>
      Co-authored-by: NGGBond8488 <857631483@qq.com>
      Co-authored-by: Nzxcd <228587199@qq.com>
      Co-authored-by: NCharles-hit <wanghao107@baidu.com>
      296b3ff0
    • W
      [Fluidclean]move fluid.transpiler to distributed.transpiler (#51025) · 51aa2129
      wangxiaoning 提交于
      * remove transpiler
      
      * Revert "remove transpiler"
      
      This reverts commit 46044ccd52011d45d7026786d331f264a6a8f645.
      
      * Revert "Revert "remove transpiler""
      
      This reverts commit 80ad0945401b5b5efebac4baee0ec50a793d4405.
      
      * codestyle
      
      * fix setup
      
      * fix
      
      * fix
      51aa2129
    • Z
      fix unit tests random error (#51054) · 9c60c5ec
      Zhang Ting 提交于
      9c60c5ec
    • Y
      [Zero-Dim] Add Expand/Expand_as/Top_k for XPU to support Zero Dim Input. (#50947) · 226b4a95
      yunyaoXYY 提交于
      * Add unitest from shilong
      
      * Add kernel code from shilong
      
      * fix codestyle
      
      * add broadcast_shape test
      
      * fix unitest
      
      * fix unitests
      
      * fix unitest
      
      * add 0D grad support
      
      * add 0D grad support
      
      * add 0D grad support
      
      * fix 0D tensor
      
      * fix 0D
      
      * fix xpu 0D
      
      * fix expand kernel
      
      * fix xpu expand
      
      * Fix 0D kernel
      
      * fix 0D
      
      * fix 0D
      
      * fix 0D
      
      * fix 0D
      
      * fix XPU top_k
      
      * cancel the modify of xpu
      
      * add XPU 0D tensor
      
      * fix 0D
      226b4a95
    • W
      fix the backward bug of cumsum (#50997) · 934934d8
      wawltor 提交于
      934934d8
    • C
      fix zero bug of case18: paddle.logsumexp (#51034) · 2f900965
      chenxiao120660 提交于
      * fix bug of logsumexp
      
      * fix bug for logsumexp
      
      * fix bug for logsumexp
      2f900965
    • Y
      Add full_like composite rule (#50794) · 7468bab4
      Yichen Zhang 提交于
      * implement composite full_like and simple unit test
      
      * implement op tests for composite full_like op
      
      * some modification as reviewers suggested
      add cinn op test to CMakeLists.txt
      fix code style
      
      * fix code style
      
      * modify input args of prim fill_any_like op
      
      * resolve conflicts
      
      * resolve conflicts
      
      * modify python api and unit tests as suggested
      
      * resolve conflicts
      
      * resolve conflicts
      
      * use framework.dtype to convert dtype in Op test
      7468bab4
    • L
      [fp16] suppot fp16 in diagflat (#50945) · af149c0c
      LoneRanger 提交于
      af149c0c
    • N
      Add multiprecision for rms op (#50132) · 48060b2e
      niuliling123 提交于
      48060b2e
    • D
      [XPU] Add kernels for VITDET (#50992) · 798b527c
      duanyanhui 提交于
      * add support of int64 add for xpu
      
      * add transpose support for int64
      
      * add randperm kernel
      
      * fix randperm
      
      * add distribute_fpn_proposal kernel
      
      * fix comment
      
      * add reduce_sum_int32
      798b527c
  4. 28 2月, 2023 5 次提交
    • H
      Rewrite mkldnn fc rnn fuse pass tester (#50265) · eb22391c
      Hulek 提交于
      * Added file
      
      * Tests separated and rewritten, fixed fc_lstm_fuse_pass
      
      * Resolve conflicts
      eb22391c
    • H
      [Extension Operants] Extension supports tensor operants (#50869) · 539293e2
      HongyuJia 提交于
      * [Extension Operants] Extension supports tensor operants
      
      * Polish fluid init_tensor_operants
      539293e2
    • X
      【prim】Matmul double grad composite api (#50452) · a0c473f4
      xiaoguoguo626807 提交于
      * modify name
      
      * merge develop
      
      * original code
      
      * build modify
      
      * success 2*2
      
      * fused dim=1 failed
      
      * success
      
      * modify static
      
      * success for static except dim=1
      
      * delete log
      
      * tmp modify
      
      * success
      
      * success
      
      * add fp1664
      
      * delete fp16 cpu test
      
      * stop windows test
      
      * review modify
      
      * modify tanh test
      
      * modify tanh
      
      * fix_conflixt
      
      * modift static prim
      
      * fix_conflict
      
      * Update test_static_prim.cc
      
      * update
      
      * bug fix
      a0c473f4
    • J
      [Hybrid parallelism] Tensor Parallel Extra Sync (#50676) · 0b25f665
      JZ-LIANG 提交于
      * main code
      
      * unitest bug
      
      * revert cmake
      0b25f665
    • G
      add cumsum prim backward (#50565) · ca2b6095
      GGBond8488 提交于
      * add cumsum prim backward
      
      * skip aixs=None test case
      
      * fix op generante eror
      
      * fix static test error
      
      * remove unused code
      
      * fix static test error
      
      * skip cpu float16 test case
      
      * skip eager cpu cumsum float16 test case
      
      * add cinn test
      
      * reshape flatten out
      
      * Disable cinn single test
      
      * remove cinn test
      
      * reformat todo
      
      * add prim in cumsum op test
      
      * remove old test
      
      * fix typro
      
      * fix typro
      
      * fix typro
      
      * pass axis=None test case
      
      * remove forward prim test
      
      * remove same name axis
      ca2b6095